mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 10:55:56 +03:00
[GH-ISSUE #69] click on whapa-gui.bat #61
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @limsifu on GitHub (Oct 16, 2020).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/69
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 on GitHub (Oct 16, 2020):
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 on GitHub (Oct 18, 2020):
i am also facing the same issue, tried defining static OS value as windows but still the same.
@limsifu commented on GitHub (Oct 19, 2020):
yilmazca, it work. Thanks.