TypeError on importing excel

Hello, I had a small flask app that reads an excel sheet and sends mails from the data. However, recently the app is unable to read excels. The code:
File "/app/main.py", line 110, in upload_file
excel = request.get_array(field_name='file')
File "/app/main.py", line 110, in upload_file
excel = request.get_array(field_name='file')
The error:
TypeError: 'set' object is not subscriptable
TypeError: 'set' object is not subscriptable
The app works fine on my system, as well as on railway about a month ago.
5 Replies
Percy
Percy2y ago
Project ID: 1f199c51-1d26-4871-a5ea-5855251fa242
Percy
Percy2y ago
No search results found.
⚠️ experimental feature
gabchan
gabchanOP2y ago
1f199c51-1d26-4871-a5ea-5855251fa242
angelo
angelo2y ago
Might be an issue with the package version? Can you confirm you are still pulling in the same version of app?
gabchan
gabchanOP2y ago
Hello Angelo, thanks for the response I don't understand by package versions, but I am using the same versions of python modules in my system as in the requirements.txt I have solved it by switching to panda, thanks. I would like to close this thread.
Want results from more Discord servers?
Add your server