This is my error, which again I get despite that yesterday was solved restarting my server--This error did reference to some function of my applicationEnvironment: Request Method: GET Request URL: http://localhost:8000/accounts/profile/ Django Version: 1.9 Python Version: 3.4.3 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'crispy_forms', 'django_extensions', 'storages', 'userprofile'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] Traceback: File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response 149. response = self.process_exception_by_middleware(e, request) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response 147. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/views/generic/base.py" in view 68. return self.dispatch(request, *args, **kwargs) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapper 67. return bound_func(*args, **kwargs) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/utils/decorators.py" in bound_func 63. return func.__get__(self, type(self))(*args2, **kwargs2) File "/home/ubuntu/workspace/neurorehabilitation-system/userprofile/mixins.py" in dispatch 7. return super(LoginRequiredMixin, self).dispatch(request, *args, **kwargs) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/views/generic/base.py" in dispatch 88. return handler(request, *args, **kwargs) File "/home/ubuntu/.virtualenvs/nrb_dev/lib/python3.4/site-packages/django/views/generic/base.py" in get 157. context = self.get_context_data(**kwargs) File "/home/ubuntu/workspace/neurorehabilitation-system/userprofile/views.py" in get_context_data 50. print (user.is_physiotherapist) Exception Type: OSError at /accounts/profile/ Exception Value: [Errno 5] Input/output errorAt the end in the line 50 is referenced a
get_context_data()function which is inside of a class based view that inherit ofTemplateViewCBVbut in my console the server require restart and when I did this, the error was solved of a magic way ..
In addition I had this error yesterday, I restart my server, and today I have again the error.
There is some problem with EC2 infraestructure with Django (I don't think so) or the problem is more for my application side?
I don't think so that the function
get_context_data()of my application be the problem ...
On Wednesday, January 6, 2016 at 4:55:57 PM UTC-5, Bernardo Garcia wrote:
I recently setup and deploy an Amazon EC2 instance for deploy my django project.
I was interacting with my application via browser when I get this error in the browser:
errno 5 input/output error django
This error did reference to some function of my application, but in my console the server require restart and when I did this, the error was solved of a magic way ..
I've search this error and I found this ticket reported https://code.djangoproject.com/ticket/23284
This report is very similar to my error ...
Although I don't know if this error back inside 12 hours, I restart my server and this was solved and now all it's work O.K.
When one bug is declared as invalid in Django
What does it mean?
There is some problem with EC2 infraestructure with Django (I don't think so) or the problem is more for my application side?
Thanks
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/50a7aa43-49b4-4980-81a8-1ff0f1961d61%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAG%2B5VyO1%3D6AB9kjyYS7A4jCybApEYxmXESOaPzEUsgZTiybTVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:
Post a Comment