Find answers from the community

Updated 2 years ago

Hey ravitheja 0475 jerryjliu98 9313

Hi all, While using download_loader() When i run the application, I face FileExistError, or I face ConnectionTimeoutError Especially with Google calender and Google drive connectors.
Do anyone else face this issue?
Any help here @jerryjliu0 @Logan M @ravitheja
A
L
16 comments
@Logan M Adding screenshot here for the error
@Logan M Are you familiar with this error? How to resolve it? Thanks for your help
Another Error i get while using google calender and google drive connector is
Attachment
Screenshot_from_2023-05-15_13-33-18.png
The first error I can probably fix in a PR. The second error I have no idea πŸ₯²
Thanks logan for your help, I'll debug more to find out about the second error and let you know
Hey @Logan M were you able to fix the FileExist error ? If so can you please let me know the version on which it was fixed?
Ah thanks for the reminder. I'll have to tackle that tomorrow 🫠
@Abhishek actually looking at the code, I have no idea how you got that error. Did it ever happen again? Is it reproducible?
Attachment
image.png
If the directory doesn't exist... how did it get into that codeblock lol. I cant reproduce on my end
@Logan M Yep, It's very strange to reproduce because It doesn't work for four of us machine, but we face no such issue in two other machines. Do you think it is because of conda env, Although tried it by deleting packages cache, deleting all existing env and then creating new conda env and installed the packages but It still doesn't work

Ideally the code should not pass into the if block (If dir already exists).. lol
Guess then this must be an issue either with the dirpath or the conda env
Hmm, and all machines are the same OS? I could see windows causing issues here
Oh! Details about machines we are working is, 3 linux based machine aren't working with it, but 2 MacOS based machine are working with no issue
Hey @Logan M, Hope you are okay, Did you find anything about this bug?
It's a little impossible for me to debug if I can't replicate it πŸ˜… my best guess is to attach a debugger and step into the code

Or edit the installed package code to print the path that it is checking, and figure out why os.path.exists is not working
@Logan M Sorry, I was unavailable to respond but It seems like in latest version of llama-index we are not facing the issue anymore. Strange but it somehow got fixed, Haven't got the time to look at new code.

Thanks for your help Logan, Greatly appreciate it!
Add a reply
Sign up and join the conversation on Discord