Forums

[Errno 2] No such file or directory

Hello,

Since today, I get this error:

Error

Exception Type:     IOError
Exception Value:    [Errno 2] No such file or directory: u'buget.xlsx'

Traceback:

File "/home/danivoinea/.virtualenvs/django16/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response                          
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "./portal_online/portal_online/views.py" in download
  405.         response = HttpResponse(FileWrapper(open(file_name)),

Exception Type: IOError at /home/download/user_1/buget.xlsx
Exception Value: [Errno 2] No such file or directory: u'buget.xlsx'

Reloading the app didn't help (I've read about it here https://www.pythonanywhere.com/forums/topic/721/ ). What happened? Am I the only one affected by this?

Could use some help here..

Problem solved.

Hi danivoinea, I'm glad it's solved. Was the problem something that might affect other users of PythonAnywhere?