Closed
Bug 970749
Opened 10 years ago
Closed 10 years ago
[traceback] ValueError: time data 'Apri' does not match format '%B'
Categories
(Mozilla Reps Graveyard :: reps.mozilla.org, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: tasos)
References
()
Details
(Whiteboard: [kb=1330856] )
STR: Visit https://reps-dev.allizom.org/u/avinash/r/2013/Apri/ Actual Results: Traceback (most recent call last): File "/data/www/reps.mozilla.org/remo/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/reps.mozilla.org/remo/vendor/lib/python/django/views/decorators/cache.py", line 75, in _cache_controlled response = viewfunc(request, *args, **kw) File "/data/www/reps.mozilla.org/remo/remo/reports/views.py", line 84, in view_report month_number = utils.month2number(month) File "/data/www/reps.mozilla.org/remo/remo/base/utils.py", line 76, in month2number return datetime.datetime.strptime(month, '%B').month File "/usr/lib64/python2.6/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data 'Apri' does not match format '%B'
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → tasos
Assignee | ||
Updated•10 years ago
|
Whiteboard: [kb=1330856]
Comment 1•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/905b3d99082f54bd263a01f697fb10daddfa4bf6 [fix bug 970749] Raise 404 error in month2number method if the input is wrong. https://github.com/mozilla/remo/commit/c1212d9cdee94246cfbc003d4df0807020f16df2 Merge pull request #701 from akatsoulas/970749 [fix bug 970749] Raise 404 error in month2number method if the input is ...
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Version: unspecified → next
Comment 2•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/c35f7469c7e1c1ff0fb2b54fcade0f5a59a158f6 [bug 970749] Move month2number exception handling to view. https://github.com/mozilla/remo/commit/44622a5f1e8c7200255a66b2854f0b1d06d1130d Merge pull request #703 from glogiotatidis/970749 [bug 970749] Move month2number exception handling to view.
Comment 3•10 years ago
|
||
Verified fixed on stage. Thanks :stephend :tasos!
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Version: next → 429
Updated•4 years ago
|
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•