Closed Bug 814334 Opened 13 years ago Closed 13 years ago

[Traceback] TypeError: %d format: a number is required, not NoneType on firstrun page

Categories

(www.mozilla.org :: Bedrock, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rik, Unassigned)

References

Details

With 'HTTP_USER_AGENT': 'Mozilla/5.0 (SaferSurf) Firefox 1.5' Traceback (most recent call last): File "/data/www/www.mozilla.org-django/bedrock/vendor/lib/python/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/www.mozilla.org-django/bedrock/vendor/lib/python/django/views/decorators/vary.py", line 22, in inner_func response = func(*args, **kwargs) File "/data/www/www.mozilla.org-django/bedrock/apps/firefox/views.py", line 86, in latest_fx_redirect if not is_current_or_newer(user_version): File "/data/www/www.mozilla.org-django/bedrock/apps/firefox/views.py", line 115, in is_current_or_newer user_int = int('%d%02d' % (user.major, user.minor1)) TypeError: %d format: a number is required, not NoneType
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
This has been pushed to production.
You need to log in before you can comment on or make changes to this bug.