Closed
Description
Originally reported by Simon Coulton (Bitbucket: simoncoulton, GitHub: simoncoulton)
Using Python 3.2.3, the app occasionally fails to build the HTML required, and errors on line 277: status = pickle.load(fstatus). This could just be that the original status.dat file had some Python 2 code in it, in any case the following resolves the issue:
try:
if sys.version_info < (3, 0):
status = pickle.load(fstatus)
else:
u = pickle._Unpickler(fstatus)
u.encoding = 'latin1'
status = u.load()