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

Docker镜像运行出错 #330

Open
Dylan-Li8 opened this issue Jul 18, 2023 · 0 comments
Open

Docker镜像运行出错 #330

Dylan-Li8 opened this issue Jul 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Dylan-Li8
Copy link

是否使用了最新代码
是或否(如果不是的话尝试克隆最新的代码再跑一下!)

Bug描述
执行docker运行容器后提示:

docker run -it --rm -v ~/results:/OneForAll/results -v ~/.config:/OneForAll/config shmilylty/oneforall --target 58.com run
Traceback (most recent call last):
  File "oneforall.py", line 15, in <module>
    import export
  File "/OneForAll/export.py", line 13, in <module>
    from common import utils
  File "/OneForAll/common/utils.py", line 21, in <module>
    from common.database import Database
  File "/OneForAll/common/database.py", line 8, in <module>
    from config.log import logger
ModuleNotFoundError: No module named 'config.log'

运行环境

  • 系统:CentOS 7
  • Python版本:Docker
  • OneForAll版本:最新Docker镜像

报错文本

docker run -it --rm -v ~/results:/OneForAll/results -v ~/.config:/OneForAll/config shmilylty/oneforall --target job5156.com run
Traceback (most recent call last):
  File "oneforall.py", line 15, in <module>
    import export
  File "/OneForAll/export.py", line 13, in <module>
    from common import utils
  File "/OneForAll/common/utils.py", line 21, in <module>
    from common.database import Database
  File "/OneForAll/common/database.py", line 8, in <module>
    from config.log import logger
ModuleNotFoundError: No module named 'config.log'
@Dylan-Li8 Dylan-Li8 added the bug Something isn't working label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants