So let's start again..
Error message from log
2022-09-26 16:39:36,291: IndexError: list index out of range
2022-09-26 16:39:36,291: File "/var/www/piotrmichna_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-09-26 16:39:36,291: from poziomy import app
2022-09-26 16:39:36,291:
2022-09-26 16:39:36,292: File "/home/piotrmichna/meteo/poziomy.py", line 27, in <module>
2022-09-26 16:39:36,292: latest_file = files_lst[-1]
When I print 'files_lst' they are there both from a dashboard and during running program:
files list ['/home/piotrmichna/meteo/levels/24.09.2022.csv', '/home/piotrmichna/meteo/levels/23.09.2022.csv', '/home/piotrmichna/meteo/levels/25.09.2022.csv']
When I run my app on pythonanywhere I got error:
Traceback (most recent call last):
File "/home/piotrmichna/meteo/poziomy.py", line 7, in <module>
import dash_bootstrap_components as dbc
ModuleNotFoundError: No module named 'dash_bootstrap_components'
Any chance you could give me a hint please?