Zenmap "import os" crash in Nmap 7.90 Profile editor #2148
When profile editor is used in Zenmap 7.90 (multiplatform), Zenmap tends to crash with a traceback like:
This was actually caused by "improvements" we made as part of our recent LGTM code quality efforts. We removed a bunch of "from X import *" statements for various libraries because those can pollute the namespace by importing way more than intended. But it turns out we were relying on one of those secondary imports then importing "os" itself. So we should fix this and also try to make sure there aren't other cases of this problem that we missed.
The text was updated successfully, but these errors were encountered: