debug99 Posted March 25 Posted March 25 I tried to change several path including "/home/debug99.helioho.st/myogenesis.net/data/geneExpressionLevels.csv" But, I still get the error below. Could you please help me to resolve this issue? Thank you so much. 2025-03-08 03:33:10 Error 2600:1003:b034:10ee:843e:a423:a4d4:57a6 File "/home/debug99.helioho.st/myogenesis.net/read.py", line 5, in get_length, referer: https://myogenesis.net/ 2025-03-08 03:33:10 Error 2600:1003:b034:10ee:843e:a423:a4d4:57a6 file = open(csv_file), referer: https://myogenesis.net/ 2025-03-08 03:33:10 Error 2600:1003:b034:10ee:843e:a423:a4d4:57a6 ^^^^^^^^^^^^^^, referer: https://myogenesis.net/ 2025-03-08 03:33:10 Error 2600:1003:b034:10ee:843e:a423:a4d4:57a6 FileNotFoundError: [Errno 2] No such file or directory: 'data/geneExpressionLevels.csv', referer: https://myogenesis.net/ Quote
wolstech Posted March 25 Posted March 25 The last line of that error makes me think it is still looking for it in a relative folder. Also, when I tried to use the site, I got this error in app.py (which looking at the code, I don't see where csv_file is defined, so makes sense): NameError: name 'csv_file' is not defined, referer: http://myogenesis.net/ I don't really know enough about Flask or Python to fix this for you though. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.