B16f00t / whapa

WhatsApp Parser Toolset v1.59
1.11k stars 261 forks source link

click on whapa-gui.bat #69

Closed limsifu closed 3 years ago

limsifu commented 3 years ago

Get Below error after type whapa-gui.py at command Prompt

Traceback (most recent call last): File "D:\whapa-master\whapa-gui.py", line 1060, in if sys.platform == "win32" or sys.platform == "win64" or sys.platform == "cygwin": NameError: name 'sys' is not defined

yilmazca commented 3 years ago

I solved this problem with this method. Please define OS static value in whapa-gui.py file.

Find if sys.platform == "win32" or sys.platform == "win64" or sys.platform == "cygwin": system = "Windows" else: system = "Linux"

Change with this system = "Windows"

Find system = ""

Change your with OS type system = "Windows"

and save it Voila!

raghava2030 commented 3 years ago

i am also facing the same issue, tried defining static OS value as windows but still the same.

limsifu commented 3 years ago

yilmazca, it work. Thanks.