Add steelscript.netshark in steelscript-appfwk packages requirments
Closed this issue · 2 comments
Novatouch commented
Hello,
I got the following error when I try to create a new steelscript appframework workspace. I add only installed steelscriptand steelscript.appfwk python modules.
Installing steelscript.netshark prevent this error from happening again. Would it be possible to add this package as steelscript.netprofiler in the setup.py file ?
(venv_test)[steelscript@fr0-vsiaas-1642 steelscript]$ steel appfwk mkproject -d test
Generating new Application Framework project ...
Creating project directory /opt/steelscript/test ...
Writing local settings /opt/steelscript/test/local_settings.py ... done.
Collecting default reports...done
Checking if git is installed...done
Initializing project as git repo...done
Creating initial git commit...done
Initializing project with default settings....failed
Command failed: python manage.py initialize -v 3 --trace
File "/opt/steelscript/venv_test/lib/python2.7/site-packages/steelscript/appfwk/apps/report/management/commands/reload.py", line 156, in handle
self.importer.import_directory(report_dir, report_name=None)
File "/opt/steelscript/venv_test/lib/python2.7/site-packages/steelscript/appfwk/project/utils.py", line 184, in import_directory
self.import_file(f, name)
File "/opt/steelscript/venv_test/lib/python2.7/site-packages/steelscript/appfwk/project/utils.py", line 135, in import_file
__import__(name)
File "/opt/steelscript/test/reports/overall.py", line 14, in <module>
from steelscript.netshark.appfwk.datasources.netshark import NetSharkTable
ImportError: From config file "reports.overall": No module named netshark.appfwk.datasources.netshark
See log for details: /local/home/steelscript/.steelscript/steel.log
mgarabed commented
That's a good suggestion, we can do that.
Novatouch commented
Thanks ! 👍