Ulov888 / chatpdflike

an approximate implementation similar to chatpdf
Apache License 2.0
209 stars 28 forks source link

Error: Processing the pdf failed due to excess load. Please try again later. Check the URL if there is https:// at the beginning. If not, add it. #4

Open xiongzhenglong opened 1 year ago

xiongzhenglong commented 1 year ago

我这里pdf 都报错,希望能帮忙看看 量化.pdf

Ulov888 commented 1 year ago

你是选择直接输入pdf的url还是本地upload?建议两种方式都试一下

BonaBobo commented 1 year ago

Error: Processing the pdf failed due to excess load. Please try again later. Check the URL if there is https:// at the beginning. If not, add it.

BonaBobo commented 1 year ago

raise retry_exc from fut.exception() tenacity.RetryError: RetryError[<Future at 0x12562e490 state=finished raised AuthenticationError>]

Ulov888 commented 1 year ago

请贴上完整的报错信息

raise retry_exc from fut.exception() tenacity.RetryError: RetryError[<Future at 0x12562e490 state=finished raised AuthenticationError>]

wccccp commented 1 year ago

Serving Flask app 'run'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask/app.py", line 2551, in call return self.wsgi_app(environ, start_response) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask/app.py", line 2531, in wsgi_app response = self.handle_exception(e) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask_cors/extension.py", line 165, in wrapped_function return cors_after_request(app.make_response(f(*args, *kwargs))) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app response = self.full_dispatch_request() File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask_cors/extension.py", line 165, in wrapped_function return cors_after_request(app.make_response(f(args, kwargs))) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(view_args) File "/mnt1/wcp/chatpdf/chatpdflike/run.py", line 24, in process_pdf df = chatbot.paper_df(paper_text) File "/mnt1/wcp/chatpdf/chatpdflike/generate_embedding.py", line 75, in paper_df df['length'] = df['text'].apply(lambda x: len(x)) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/pandas/core/frame.py", line 3807, in getitem indexer = self.columns.get_loc(key) File "/home/appuser/miniconda3/envs/wcpchatpdf/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc raise KeyError(key) from err KeyError: 'text'

zhangnn520 commented 1 year ago

我也是怎么错误,index.html中有些图片路径改后正常了,但是还是存在Error: Processing the pdf failed due to excess load. Please try again later. Check the URL if there is https:// at the beginning. If not, add it.