Find answers from the community

s
F
Y
a
P
Updated last month

It is failing here Fetch up to date

It is failing here # Fetch up-to-date library from remote repo if loader_id not found
if loader_id is None:
library_rawcontent, = _get_file_content(loader_hub_url, "/library.json")
library = json.loads(library_raw_content)
if loader_class not in library:
raise ValueError("Loader class name not found in library")

loader_id = library[loader_class]["id"]
extra_files = library[loader_class].get("extra_files", [])
# Update cache
with open(library_path, "w") as f:
f.write(library_raw_content)
L
a
7 comments
Make sure you have a newer version of llama-index -> the URL for llama-hub changed, I think around v0.6.17 or so?
do I need to upgrade
yea, it looks like it πŸ‘€ Although llama-index has a pdf reader built in too, no need to download. SimpleDirectoryReader will automatically work
is it using pypdf2 ?
uhhh I don't remember haha we switched to pypdf at some point. Your version might still be pypdf2
Add a reply
Sign up and join the conversation on Discord