PythonAnywhere Forums

Flask-Excel error catching

Anyone running Flask-Excel for file upload?

  1. It wouldn't work with xlsx for me. My app crashes.
  2. If my CSV is not well structured, my app will crash.

What kind of error handling do you do for these attempts? Thanks. I'm learning all about Flask and hope my app can be Flask-based.

No in-house experience here, sorry! But maybe someone else using PythonAnywhere will know more about it. It might be worth posting the traceback you get from the error log when the app crashes (if there is one).