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

我尝试了google,bing以及ollama,都无法运行 #694

Open
4 tasks done
emptystack1024 opened this issue Feb 26, 2025 · 7 comments
Open
4 tasks done

我尝试了google,bing以及ollama,都无法运行 #694

emptystack1024 opened this issue Feb 26, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@emptystack1024
Copy link

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经认真且完整的阅读了 wiki
  • 我已经认真检查了问题和网络环境无关(包括但不限于Google不可用,模型下载失败)

使用的环境

- OS:Windows11
- docker部署

描述你的问题

Image
我运行以后就是这个样子,没有任何输出,运行30000s也没有任何反应,依旧是这个样子

如何复现

  1. 执行Translate

预期行为

No response

相关 Logs


原始PDF文件

2010.11929v2.pdf

还有别的吗?

No response

@emptystack1024 emptystack1024 added the bug Something isn't working label Feb 26, 2025
@awwaawwa
Copy link
Collaborator

请把双击运行时 黑框框内的报错信息也截图贴上来

@emptystack1024
Copy link
Author

Image
是这样吗,我是docker部署的,不太清楚如何查看
我尝试了一下bing是可以翻译的
但是ollama是exe的,不是docker部署的,使用了127.0.0.1和 192.168.1.80 都是会卡在这个状态没有任何反应

@awwaawwa
Copy link
Collaborator

docker logs -f 7155

最后的数字,是docker run命令输出的那一串。

@emptystack1024
Copy link
Author

ERROR:pdf2zh.converter:Failed to connect to Ollama. Please check that Ollama is downloaded, running and accessible. https://ollama.com/download

感谢你,看到了报错信息

但是我尝试了127.0.0.1和192.168.1.80,都无法连接,但同样使用docker部署的dify就可以连接到ollama

@hellofinch
Copy link
Contributor

你的ollama是在容器中还是单独安装的程序?

@emptystack1024
Copy link
Author

ollama是单独安装的,不是docker部署的

@hellofinch
Copy link
Contributor

在docker容器内部是否可以访问的ollama?指在PDFMathTranslate的容器中,不要用其他软件举例子。
curl http://localhost:11434/api/version
参考ollama的文档,测试一下容器内ollama的连通性。https://github.com/ollama/ollama/blob/main/docs/api.md#version

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

3 participants