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

通过Dockerfile构建的镜像并创建的容器,已在config.yml中配置了代理,在interactive设为true或false均无法完成搜刮 #492

Open
2 tasks done
Gileanxxx opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Gileanxxx
Copy link

问题详情

在默认的配置的基础上,我就添加了代理,以及关闭了剧照的下载,运行时可以正常识别视频,但是运行出错
【默认设置,只配置了代理,并关闭了剧照的搜刮】
正在检查更新...

Jav Scraper Package: 1.8.70 (已是最新版)

扫描影片文件...
[1/2] MIMK-094, 对应文件:
mimk-094.mp4
回车确认当前番号,或直接输入更正后的番号(如'ABC-123'或'cid:sqte00300')

javsp 6
"/app/.venv/bin/javsp", line 6
sys.exit(entry())

main.py 619 entry
"/app/javsp/main.py", line 619
reviewMovieID(recognized, root)

main.py 375 reviewMovieID
"/app/javsp/main.py", line 375
s = prompt("回车确认当前番号,或直接输入更正后的番号(如'ABC-123'或'cid:sqte00300')", "更正后的番号")

prompt.py 4 prompt
"/app/javsp/prompt.py", line 4
return input(message)

EOFError:
EOF when reading a line

【然后在这是关闭stdin/stdout交互,interactive设为false后】
正在检查更新...

Jav Scraper Package: 1.8.70 (已是最新版)

扫描影片文件...
[1/2] MIMK-094, 对应文件:
mimk-094.mp4
缺少更正后的番号

不管如何设定均无法完成刮削

运行方式

我是从源代码运行的

代理

日志

javsp.log

运行截图(可选)

No response

提交须知

  • 我确认使用的是最新版本并且阅读过Wiki帮助文档
  • 我确认已经搜索过Issue区,没有与我遇到的情况相同的Issue。
@Gileanxxx Gileanxxx added the bug Something isn't working label Dec 30, 2024
@Gileanxxx
Copy link
Author

找到一个曲线救国的方法,在构建镜像的Dockerfile中删除
ENTRYPOINT ["/app/.venv/bin/javsp"]
CMD ["-i", "/video"]
然后在compose文件最后加入
entrypoint: /bin/sh -c "yes '' | .venv/bin/javsp && exit"
就可以使用了

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

1 participant