You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This points to a try/except inside of checkForUpdatedVersion()
except Exception, err:
if type(err) == 'string':
mes = err
else:
mes = err.message
self.showWarning(self.trUtf8('Error checking for updates'), mes)
Looks like the exception syntax isnt supported in py3.
The fix is:
except Exception as err:
Going to see if I can spruce this up to run in py3.
Might be worth it to make people aware on the front page of this project that it only supports py2.
The text was updated successfully, but these errors were encountered:
Realizing this is also using urllib2, instead of urllib.request and undoubtedly a bunch of other things. I'm just going to run in in py2.x, and if anyone is interested in me updating the codebase to compatible with py3, I'll fork it and get it going.
user@userspace:~/toolz/creepy/creepy$ python CreepyMain.py
File "CreepyMain.py", line 217
except Exception, err:
^
SyntaxError: invalid syntax
This points to a try/except inside of checkForUpdatedVersion()
except Exception, err:
if type(err) == 'string':
mes = err
else:
mes = err.message
self.showWarning(self.trUtf8('Error checking for updates'), mes)
Looks like the exception syntax isnt supported in py3.
The fix is:
except Exception as err:
Going to see if I can spruce this up to run in py3.
Might be worth it to make people aware on the front page of this project that it only supports py2.
The text was updated successfully, but these errors were encountered: