-
-
Notifications
You must be signed in to change notification settings - Fork 823
Description
The system failed to generate presentation outlines due to invalid or empty JSON input. The error originates from dirtyjson when attempting to parse the outline data, resulting in Expecting value: line 1 column 1 (char 0). This typically occurs when the input string is empty or improperly formatted. Please verify the data source and try again.
I used gemma3.27it Local.
error:
~~~~~~~~~~~~^^^^^^^^^^
IndexError: string index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/servers/fastapi/api/v1/ppt/endpoints/outlines.py", line 88, in inner
dirtyjson.loads(presentation_outlines_text)
File "/usr/local/lib/python3.11/site-packages/dirtyjson/init.py", line 94, in loads
return d.decode(search_for_first_object, start_index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 372, in decode
obj = self.scan()
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 168, in scan
nextchar = self._next_character()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 124, in _next_character
raise Error(self.expecting, self.content, self.pos)
dirtyjson.error.Error: Expecting value: line 1 column 1 (char 0)
INFO: 127.0.0.1:51626 - "GET /api/v1/ppt/presentation/all HTTP/1.0" 200 OK
INFO: 127.0.0.1:47214 - "POST /api/v1/ppt/presentation/create HTTP/1.0" 200 OK
INFO: 127.0.0.1:47228 - "GET /api/v1/ppt/outlines/stream/1c373491-bbd1-4b58-9dfb-519293289231 HTTP/1.0" 200 OK
2025-09-27 13:39:03,424 - INFO - HTTP Request: POST http://10.19.24.49:5090/v1/chat/completions "HTTP/1.1 200 OK"
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 120, in _next_character
nextchar = self.content[self.pos]
~~~~~~~~~~~~^^^^^^^^^^
IndexError: string index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/servers/fastapi/api/v1/ppt/endpoints/outlines.py", line 88, in inner
dirtyjson.loads(presentation_outlines_text)
File "/usr/local/lib/python3.11/site-packages/dirtyjson/init.py", line 94, in loads
return d.decode(search_for_first_object, start_index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 372, in decode
obj = self.scan()
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 168, in scan
nextchar = self._next_character()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dirtyjson/loader.py", line 124, in _next_character
raise Error(self.expecting, self.content, self.pos)
dirtyjson.error.Error: Expecting value: line 1 column 1 (char 0)
[
](url)