Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zenmap crash - missing import os in ScriptInterface.py #1949

Open
Stefan-mcp opened this issue Mar 5, 2020 · 0 comments
Open

Zenmap crash - missing import os in ScriptInterface.py #1949

Stefan-mcp opened this issue Mar 5, 2020 · 0 comments

Comments

@Stefan-mcp
Copy link

@Stefan-mcp Stefan-mcp commented Mar 5, 2020

Version: 7.80SVN
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScriptInterface.py", line 329, in script_list_timer_callback
callback(True, process)
File "/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScriptInterface.py", line 338, in initial_script_list_cb
if status and self.handle_initial_script_list_output(process):
File "/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScriptInterface.py", line 375, in handle_initial_script_list_output
basename = os.path.basename(filename)
NameError: global name 'os' is not defined

seems resolved by adding the import into the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.