Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

MunkiWebAdmin fails to load web page, throws errors #24

Open
guruevi opened this issue Jul 14, 2015 · 0 comments
Open

MunkiWebAdmin fails to load web page, throws errors #24

guruevi opened this issue Jul 14, 2015 · 0 comments

Comments

@guruevi
Copy link

guruevi commented Jul 14, 2015

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant