You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message displayed in the system terminal when embedding the uploaded document:
127.0.0.1 - - [07/Mar/2024 23:42:30] "GET /api/task_status?task_id=c7e4676f-4429-48d9-b824-4c4c7aa046c7 HTTP/1.1" 500 -
[2024-03-07 23:42:33,259] ERROR in app: Exception on /api/task_status [GET]
Traceback (most recent call last):
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 873, in full_dispatch_request
return self.finalize_request(rv)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 892, in finalize_request
response = self.make_response(rv)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 1183, in make_response
rv = self.json.response(rv)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\json\provider.py", line 214, in response
f"{self.dumps(obj, **dump_args)}\n", mimetype=self.mimetype
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\json\provider.py", line 179, in dumps
return json.dumps(obj, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 200, in encode
chunks = self.iterencode(o, _one_shot=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 258, in iterencode
return _iterencode(o, 0)
^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\json\provider.py", line 121, in _default
raise TypeError(f"Object of type {type(o).name} is not JSON serializable")
TypeError: Object of type IndexError is not JSON serializable 大模型资料文档 .docx
👟 Reproduction steps
upload file
👍 Expected behavior
successfully
👎 Actual Behavior with Screenshots
error
💻 Operating system
Windows
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?
I checked and didn't find similar issue
🔗 Are you willing to submit PR?
None
🧑⚖️ Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
📜 Description
The error message displayed in the system terminal when embedding the uploaded document:
127.0.0.1 - - [07/Mar/2024 23:42:30] "GET /api/task_status?task_id=c7e4676f-4429-48d9-b824-4c4c7aa046c7 HTTP/1.1" 500 -
[2024-03-07 23:42:33,259] ERROR in app: Exception on /api/task_status [GET]
Traceback (most recent call last):
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 873, in full_dispatch_request
return self.finalize_request(rv)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 892, in finalize_request
response = self.make_response(rv)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\app.py", line 1183, in make_response
rv = self.json.response(rv)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\json\provider.py", line 214, in response
f"{self.dumps(obj, **dump_args)}\n", mimetype=self.mimetype
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\json\provider.py", line 179, in dumps
return json.dumps(obj, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 200, in encode
chunks = self.iterencode(o, _one_shot=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 258, in iterencode
return _iterencode(o, 0)
^^^^^^^^^^^^^^^^^
File "C:\Users\86134\Desktop\workspace\DocsGPT\venv\Lib\site-packages\flask\json\provider.py", line 121, in _default
raise TypeError(f"Object of type {type(o).name} is not JSON serializable")
TypeError: Object of type IndexError is not JSON serializable
大模型资料文档 .docx
👟 Reproduction steps
upload file
👍 Expected behavior
successfully
👎 Actual Behavior with Screenshots
error
💻 Operating system
Windows
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?
🔗 Are you willing to submit PR?
None
🧑⚖️ Code of Conduct
The text was updated successfully, but these errors were encountered: