ilektrojohn / creepy

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

Invalid Syntax on running 'python3 CreepyMain.py' #98

Open ghost opened 6 years ago

ghost commented 6 years ago
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py 
  File "CreepyMain.py", line 217
    except Exception, err:
                    ^
SyntaxError: invalid syntax

Running it with just python returns yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit , however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.

NTgitdude23 commented 4 years ago

kirby193, have you found a solution for this issue? If so, it would be very much appreciated if you wouldnt mind sharing it here with me as ive also encountered this exact issue and in need of help. Thanks in advance.

Delson704557 commented 4 years ago
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py 
  File "CreepyMain.py", line 217
    except Exception, err:
                    ^
SyntaxError: invalid syntax

Running it with just python returns yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.

use python CreepyMain.py

Delson704557 commented 4 years ago

kirby193, have you found a solution for this issue? If so, it would be very much appreciated if you wouldnt mind sharing it here with me as ive also encountered this exact issue and in need of help. Thanks in advance.

use python CreepyMain.py

pariyopatel90 commented 3 years ago
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py 
  File "CreepyMain.py", line 217
    except Exception, err:
                    ^
SyntaxError: invalid syntax

Running it with just python returns yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.

I am facing the same issue i tried python Creepymain.py gives me this error

python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit

how to solve this error.

Delson704557 commented 3 years ago

No module named QtWebKit

sudo apt install python-pyqt5.qtwebkit pip install PySide

run the above commands, and run the script and do let me know if this works for you

Abdelhad1Belaid commented 3 years ago
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py 
  File "CreepyMain.py", line 217
    except Exception, err:
                    ^
SyntaxError: invalid syntax

Running it with just python returns yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.

I am facing the same issue i tried python Creepymain.py gives me this error

python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit

how to solve this error.

I changed the comma to "as " .

DarkAngel415 commented 2 years ago

┌──(root㉿192)-[~/jkakavas-creepy-6abeaa5/creepy] └─# python3 CreepyMain.py File "/root/jkakavas-creepy-6abeaa5/creepy/CreepyMain.py", line 217 except Exception, err: ^ SyntaxError: invalid syntax

How do the great gods need to solve it?

imranullahk commented 1 year ago

┌──(root㉿imran)-[/creepy/creepy] └─# python CreepyMain.py
File "/creepy/creepy/CreepyMain.py", line 156 except Exception,err: ^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized

kindly help me to resolve this issue.

Abdelhad1Belaid commented 1 year ago

┌──(root㉿imran)-[/creepy/creepy] └─# python CreepyMain.py File "/creepy/creepy/CreepyMain.py", line 156 except Exception,err: ^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized

kindly help me to resolve this issue.

Try changing the comma with "as" as mentioned above

Just like : except Exception as err

stcalica commented 8 months ago

so it this an error in Creepy? Or in our install? If an error in Creepy shouldn't a fix be pushed? and why is this closed cause there's no clear answer...

nkemjikaevans commented 7 months ago

Did you find a solution to this yet? I'm wondering why Creepy has not fixed this problem.