You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
The web page won't load at all. When computers do connect this is the error:
Traceback (most recent call last):
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(_args, *_kwargs)
File "/home/munkiwebadmin/munkiwebadmin_env/munkiwebadmin/reports/views.py", line 55, in submit
report = MunkiReport.objects.get(machine=machine)
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/db/models/query.py", line 393, in get
(self.model._meta.object_name, num, kwargs))
MultipleObjectsReturned: get() returned more than one MunkiReport -- it returned 32! Lookup parameters were {'machine': <Machine: Machine object>}
The issues go away when I clear the MunkiReport tables but they return shortly afterward (a few days)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The web page won't load at all. When computers do connect this is the error:
Traceback (most recent call last):
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(_args, *_kwargs)
File "/home/munkiwebadmin/munkiwebadmin_env/munkiwebadmin/reports/views.py", line 55, in submit
report = MunkiReport.objects.get(machine=machine)
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
return self.get_query_set().get(_args, *_kwargs)
File "/home/munkiwebadmin/munkiwebadmin_env/lib/python2.7/site-packages/django/db/models/query.py", line 393, in get
(self.model._meta.object_name, num, kwargs))
MultipleObjectsReturned: get() returned more than one MunkiReport -- it returned 32! Lookup parameters were {'machine': <Machine: Machine object>}
The issues go away when I clear the MunkiReport tables but they return shortly afterward (a few days)
The text was updated successfully, but these errors were encountered: