Closed
Bug 898584
Opened 12 years ago
Closed 12 years ago
[traceback] ValueError: year=1 is before 1900; the datetime strftime() methods require year >= 1900
Categories
(Input Graveyard :: Submission, defect, P4)
Input Graveyard
Submission
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
(Whiteboard: u=user c=dashboard p=1 s=input.2013q4)
Saw two of these just now. Having seen them before, though.
Traceback (most recent call last):
File "/data/www/input.mozilla.org/input/vendor/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-1.11.0.55/newrelic/api/object_wrapper.py", line 216, in __call__
self._nr_instance, args, kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-1.11.0.55/newrelic/hooks/framework_django.py", line 475, in wrapper
return wrapped(*args, **kwargs)
File "/data/www/input.mozilla.org/input/vendor/lib/python/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/data/www/input.mozilla.org/input/vendor/src/django-mobility/mobility/decorators.py", line 23, in wrapper
return f(request, *args, **kw)
File "/data/www/input.mozilla.org/input/fjord/analytics/views.py", line 287, in dashboard
current_search['date_start'] = search_date_start.strftime('%Y-%m-%d')
ValueError: year=1 is before 1900; the datetime strftime() methods require year >= 1900
| Assignee | ||
Updated•12 years ago
|
Whiteboard: u=user c=dashboard p=1 s=input.2013q3
| Assignee | ||
Comment 1•12 years ago
|
||
This is almost certainly a security scanner or a bot triggering this. However, I hate errors. I'm pretty sure this is a quick fix, too.
Bumping this to 2013q4.
Priority: -- → P4
Whiteboard: u=user c=dashboard p=1 s=input.2013q3 → u=user c=dashboard p=1 s=input.2013q4
| Assignee | ||
Comment 2•12 years ago
|
||
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•12 years ago
|
||
Landed in master in https://github.com/mozilla/fjord/commit/44880e3
Pushed to production just now.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Input → Input Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•