AttributeError: 'dict' object has no attribute 'json' #33

Closed
opened 2026-02-16 00:16:40 -05:00 by yindo · 3 comments
Owner

Originally created by @Dr-Anil-Shinde on GitHub (Mar 6, 2024).

%%time
from llama_parse import LlamaParse
documents = LlamaParse(result_type="markdown").load_data("uber_10q_march_2022.pdf")

Output--Started parsing the file under job_id c9d970f1-76ea-4fe2-89cc-859878869740
Error while parsing the PDF file 'uber_10q_march_2022.pdf': 'dict' object has no attribute 'json'

Originally created by @Dr-Anil-Shinde on GitHub (Mar 6, 2024). %%time from llama_parse import LlamaParse documents = LlamaParse(result_type="markdown").load_data("uber_10q_march_2022.pdf") Output--Started parsing the file under job_id c9d970f1-76ea-4fe2-89cc-859878869740 Error while parsing the PDF file 'uber_10q_march_2022.pdf': 'dict' object has no attribute 'json'
yindo closed this issue 2026-02-16 00:16:40 -05:00
Author
Owner

@Nayal17 commented on GitHub (Mar 7, 2024):

+1 . I got this error today, it was working fine a day back.

@Nayal17 commented on GitHub (Mar 7, 2024): +1 . I got this error today, it was working fine a day back.
Author
Owner

@Dr-Anil-Shinde commented on GitHub (Mar 7, 2024):

%%time from llama_parse import LlamaParse documents = LlamaParse(result_type="markdown").load_data("uber_10q_march_2022.pdf")

Output--Started parsing the file under job_id c9d970f1-76ea-4fe2-89cc-859878869740 Error while parsing the PDF file 'uber_10q_march_2022.pdf': 'dict' object has no attribute 'json'

Issue resolved.
Am using AWS sagemaker notebook.
I changed kernel from conda_pytorch to conda_python3 and parsing is done

@Dr-Anil-Shinde commented on GitHub (Mar 7, 2024): > %%time from llama_parse import LlamaParse documents = LlamaParse(result_type="markdown").load_data("uber_10q_march_2022.pdf") > > Output--Started parsing the file under job_id c9d970f1-76ea-4fe2-89cc-859878869740 Error while parsing the PDF file 'uber_10q_march_2022.pdf': 'dict' object has no attribute 'json' Issue resolved. Am using AWS sagemaker notebook. I changed kernel from conda_pytorch to conda_python3 and parsing is done
Author
Owner

@Nayal17 commented on GitHub (Mar 7, 2024):

@Dr-Anil-Shinde I am using colab notebook, any suggestion?

@Nayal17 commented on GitHub (Mar 7, 2024): @Dr-Anil-Shinde I am using colab notebook, any suggestion?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#33