You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing a traceback when trying to run the command line tool with no arguments:
Traceback (most recent call last):
File "/test/env/bin/specter", line 11, in <module>
sys.exit(activate())
File "/test/env/local/lib/python2.7/site-packages/specter/runner.py", line 188, in activate
runner.run(args)
File "/test/env/local/lib/python2.7/site-packages/specter/runner.py", line 153, in run
module_name=self.arguments.select_module)
File "/test/env/local/lib/python2.7/site-packages/specter/scanner.py", line 38, in scan
classes = rlist_classes(module, cls_filter=Describe.plugin_filter)
File "/test/env/local/lib/python2.7/site-packages/pynsive/reflection.py", line 237, in rlist_classes
mnames = rlist_modules(module)
File "/test/env/local/lib/python2.7/site-packages/pynsive/reflection.py", line 179, in rlist_modules
module = import_module(mname)
File "/test/env/local/lib/python2.7/site-packages/pynsive/common.py", line 16, in import_module
return importlib.import_module(module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named spec
This is in a new virtual environment with only specter==0.2.1 installed through pip.
I have a directory called spec in my project folder which contains a single test file called my_spec.py. It contains the first example from the documentation:
Awesome! I'm glad that took care of the issue. I've added an issue (#55) to help address the obscurity of that error. It really should produce a more informative error for users. Thanks for bringing this up!
I'm seeing a traceback when trying to run the command line tool with no arguments:
This is in a new virtual environment with only
specter==0.2.1
installed through pip.I have a directory called
spec
in my project folder which contains a single test file calledmy_spec.py
. It contains the first example from the documentation:I'm on Python 2.7.9.
The text was updated successfully, but these errors were encountered: