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

error - doesn't run #4

Open
adrian-rt opened this issue Jul 2, 2022 · 5 comments
Open

error - doesn't run #4

adrian-rt opened this issue Jul 2, 2022 · 5 comments

Comments

@adrian-rt
Copy link

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'

@agrawalsmart7
Copy link
Owner

agrawalsmart7 commented Jul 2, 2022

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.

@adrian-rt
Copy link
Author

works now, thanks.

@Hndreamer
Copy link

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

@agrawalsmart7
Copy link
Owner

You need to import that library.

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

@lutong9527
Copy link

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

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

No branches or pull requests

4 participants