Rank 2: Process
Hi, the functions were working with no errors, when suddenly got the error
ModuleNotFoundError: No module named 'appwrite.input_file'
I did'n make any changes.
Votes
2
Replies
18
Participants
Unknown
Messages
19
Rank 2: Process
Hi, the functions were working with no errors, when suddenly got the error
ModuleNotFoundError: No module named 'appwrite.input_file'
I did'n make any changes.
Try restarting the appwrite to see if it resolves the error
Rank 2: Process
Restarted, but didn't help. Do you have any idea what could have happened?
Ooh I see,
Sorry, but I have no clue. What do the appwrite logs tell you?
Rank 2: Process
Logs: No response was recorded.
Hmm, I think that indicates that the appwrite package is either not installed correctly or there is a problem with your python environment
Rank 2: Process
I will check this. The point is that I have the same code for over 2 months and now I got this error.
Rank 2: Process
Thank you!
Rank 2: Process
tried all possible code edits, in the end, when trying to upload the files, I get ModuleNotFoundError or An unexpected error occurred: 'bytes' object has no attribute 'size'
are you sure you're using the correct version of the appwrite sdk? this error indicates that the file upload process is failing due to incorrect handling of the file object?
Rank 2: Process
Downgraded to Appwrite Python SDK version 6.0.0
Rank 2: Process
[SOLVED] ModuleNotFoundError
Rank 2: Process
[Solved] ModuleNotFoundError
I am experiencing exactly the same problem.
[SOLVED] ModuleNotFoundError
Web Developer
seems this is no longer available in the latest 7.0 😦
Web Developer
what should I call ?
Web Developer
Found it ! Use Payload instead in 7.0