jkakavas / creepy

A geolocation OSINT tool. Offers geolocation information gathering through social networking platforms.
http://www.geocreepy.com
GNU General Public License v3.0
413 stars 108 forks source link

Running CreepyMain.py generates syntax error. #70

Open j-grim opened 6 years ago

j-grim commented 6 years ago

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.

j-grim commented 6 years ago

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.