scodescanner icon indicating copy to clipboard operation
scodescanner copied to clipboard

error - doesn't run

Open adrian-rt opened this issue 2 years ago • 5 comments

Hi,

this is what I get when running python3 scscanner.py


Traceback (most recent call last):
  File "scscanner.py", line 3, in <module>
    from helper import yaml_main, php_main
  File "/home/adrian/Downloads/tools/scodescanner/helper.py", line 10, in <module>
    from src.common.file_sender import jira_issue_creater, slack_issue_creator
ModuleNotFoundError: No module named 'src.common'

adrian-rt avatar Jul 02 '22 12:07 adrian-rt

Hi, Thanks for opening the issue, There was one file missing which I just added. Can you please try again and let me know if you found any issue.

I have tried running the tool with the update, and it was working. Let me know if you any issue.

agrawalsmart7 avatar Jul 02 '22 13:07 agrawalsmart7

works now, thanks.

adrian-rt avatar Jul 02 '22 13:07 adrian-rt

hello,there is a trouble when i running python3 scscanner.py Traceback (most recent call last): File "/root/桌面/scodescanner/scscanner.py", line 3, in from helper import yaml_main, php_main File "/root/桌面/scodescanner/helper.py", line 69, in sys.path.append(str(os.getcwd)+"/src/") NameError: name 'sys' is not defined

Hndreamer avatar Oct 11 '22 02:10 Hndreamer

You need to import that library.

Try to add this line - import sys - Where all the libraries are imported

agrawalsmart7 avatar Oct 11 '22 03:10 agrawalsmart7

ImportError: cannot import name 'final' 这个怎么解决?谢谢

lutong9527 avatar May 25 '23 01:05 lutong9527