Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: #9

Closed
anonimo28 opened this issue May 12, 2023 · 4 comments
Closed

UnboundLocalError: #9

anonimo28 opened this issue May 12, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@anonimo28
Copy link

UnboundLocalError: cannot access local variable 'loader' where it is not associated with a value

@su77ungr
Copy link
Owner

su77ungr commented May 12, 2023

Git missed the fix. Now pull and it should work.
see

Please respond if it keeps popping up since it's critical

@su77ungr su77ungr added the bug Something isn't working label May 12, 2023
@anonimo28
Copy link
Author

I still have this same error-
Traceback (most recent call last):
File "/Users/yenielfeliciano/Downloads/CASALIOY/ingerir.py", line 42, in
main(sources_directory, cleandb)
File "/Users/yenielfeliciano/Downloads/CASALIOY/ingerir.py", line 30, in main
documents = loader.load()
^^^^^^
UnboundLocalError: cannot access local variable 'loader' where it is not associated with a value

@su77ungr
Copy link
Owner

make sure your running python3 ingest.py <your_directory>/ y

I tested it on several machines. Also make sure your requirements file is run.

@su77ungr
Copy link
Owner

@anonimo28 check out latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants