[traceback] [dev] Mobile Site unreachable - 500 error: DoesNotExist: Site matching query does not exist.

RESOLVED WORKSFORME

Status

--
blocker
RESOLVED WORKSFORME
7 years ago
2 years ago

People

(Reporter: mbrandt, Unassigned)

Tracking

Details

(Whiteboard: [dev] [mobile] [fromAutomation], URL)

(Reporter)

Description

7 years ago
1. goto m.input-dev.allizom.org on an mobile device (tested on Android with FF rc, FF beta, Android's default browser, and an iPhone).

Expected:
the mobile site is viewable

Actual:
A generic ISE template is shown. Note no ISE is returned when visiting the mobile browsers useragent set to desktop Firefox.

Do we have an entry in amckay-arecibo that aggregates tracebacks for the mobile site?
(Reporter)

Comment 1

7 years ago
'HTTP_HOST': 'm.input-dev.allizom.org',
'wsgi.loaded': datetime.datetime(2012, 1, 3, 1, 23, 32, 61764),

Traceback (most recent call last):

 File "/data/www/input-dev.allizom.org/reporter/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/www/input-dev.allizom.org/reporter/apps/input/decorators.py", line 92, in wrapped
   mobile_site = Site.objects.get(id=settings.MOBILE_SITE_ID)

 File "/data/www/input-dev.allizom.org/reporter/vendor/src/django/django/db/models/manager.py", line 132, in get
   return self.get_query_set().get(*args, **kwargs)

 File "/data/www/input-dev.allizom.org/reporter/vendor/src/django/django/db/models/query.py", line 349, in get
   % self.model._meta.object_name)

DoesNotExist: Site matching query does not exist.
Summary: [ISE] [dev] Visiting m.input-dev on a mobile device returns a 500 error → [traceback] [dev] Error: DoesNotExist: Site matching query does not exist.
Severity: normal → major
(Reporter)

Updated

7 years ago
Severity: major → blocker
Summary: [traceback] [dev] Error: DoesNotExist: Site matching query does not exist. → [traceback] [dev] Mobile Site unreachable - 500 error: DoesNotExist: Site matching query does not exist.

Comment 2

5 years ago
Closing old traceback bugs on input. Please reopen if they still need to be dealt with.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
(Assignee)

Updated

2 years ago
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.