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
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?
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
I will check this. The point is that I have the same code for over 2 months and now I got this error.
Thank you!
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?
Downgraded to Appwrite Python SDK version 6.0.0
[SOLVED] ModuleNotFoundError
[Solved] ModuleNotFoundError
I am experiencing exactly the same problem.
[SOLVED] ModuleNotFoundError
seems this is no longer available in the latest 7.0 π¦
what should I call ?
Found it ! Use Payload instead in 7.0
Recommended threads
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...