Grepping for the reported app, I found a bunch of oops reports that are probably the user's issue. On vanadium,
/srv/admin.ca.canonical.com/ca-logs/rangpur/sca/www-oops/2013-01-11/80915.770 matches
/srv/admin.ca.canonical.com/ca-logs/rangpur/sca/www-oops/2013-01-11/80925.770
/srv/admin.ca.canonical.com/ca-logs/rangpur/sca/www-oops/2013-01-11/80940.771
/srv/admin.ca.canonical.com/ca-logs/rangpur/sca/www-oops/2013-01-11/80959.771
/srv/admin.ca.canonical.com/ca-logs/rangpur/sca/www-oops/2013-01-11/80973.772
/srv/admin.ca.canonical.com/ca-logs/rangpur/sca/www-oops/2013-01-11/81256.773
/srv/admin.ca.canonical.com/ca-logs/seko/sca/www-oops/2013-01-30/13919.8
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/srv/sc.ubuntu.com/production/software-center-agent/src/devportal/decorators.py", line 122, in inner_decorator
request, application, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/srv/sc.ubuntu.com/production/software-center-agent/src/devportal/decorators.py", line 109, in check_non_arb_request
return func(request, *args, **kwargs)
File "/srv/sc.ubuntu.com/production/software-center-agent/src/devportal/views.py", line 439, in application_stats
distrostats = app.stats.sales_by_distroseries(start=start, finish=finish)
File "/srv/sc.ubuntu.com/production/software-center-agent/src/softwarecenteragent/stats.py", line 216, in sales_by_distroseries
self.GROUP_BY_DAY)
File "/srv/sc.ubuntu.com/production/software-center-agent/src/softwarecenteragent/stats.py", line 147, in queryset_for_date_series
start = date_series[0]
IndexError: list index out of range
The finish date is greater than the start date, and sca is tripping over this. It should instead display an error message saying "The requested finish date must be later than start date", and ideally restrict the date picker client side to help the user select correct time intervals, though this might not be easy as we're re-using Django's admin date picker
Grepping for the reported app, I found a bunch of oops reports that are probably the user's issue. On vanadium, ca.canonical. com/ca- logs/rangpur/ sca/www- oops/2013- 01-11/80915. 770 matches ca.canonical. com/ca- logs/rangpur/ sca/www- oops/2013- 01-11/80925. 770 ca.canonical. com/ca- logs/rangpur/ sca/www- oops/2013- 01-11/80940. 771 ca.canonical. com/ca- logs/rangpur/ sca/www- oops/2013- 01-11/80959. 771 ca.canonical. com/ca- logs/rangpur/ sca/www- oops/2013- 01-11/80973. 772 ca.canonical. com/ca- logs/rangpur/ sca/www- oops/2013- 01-11/81256. 773 ca.canonical. com/ca- logs/seko/ sca/www- oops/2013- 01-30/13919. 8
/srv/admin.
/srv/admin.
/srv/admin.
/srv/admin.
/srv/admin.
/srv/admin.
/srv/admin.
They all seem to have the same traceback:
https:/ /myapps. developer. ubuntu. com/dev/ apps/1682/ stats/? start=2013- 01-30&finish= 2012-12- 18&submit= Update
File "/usr/lib/ python2. 7/dist- packages/ django/ core/handlers/ base.py" , line 111, in get_response python2. 7/dist- packages/ django/ views/decorator s/cache. py", line 79, in _wrapped_view_func ubuntu. com/production/ software- center- agent/src/ devportal/ decorators. py", line 122, in inner_decorator python2. 7/dist- packages/ django/ contrib/ auth/decorators .py", line 23, in _wrapped_view ubuntu. com/production/ software- center- agent/src/ devportal/ decorators. py", line 109, in check_non_ arb_request ubuntu. com/production/ software- center- agent/src/ devportal/ views.py" , line 439, in application_stats sales_by_ distroseries( start=start, finish=finish) ubuntu. com/production/ software- center- agent/src/ softwarecentera gent/stats. py", line 216, in sales_by_ distroseries GROUP_BY_ DAY) ubuntu. com/production/ software- center- agent/src/ softwarecentera gent/stats. py", line 147, in queryset_ for_date_ series
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
response = view_func(request, *args, **kwargs)
File "/srv/sc.
request, application, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/srv/sc.
return func(request, *args, **kwargs)
File "/srv/sc.
distrostats = app.stats.
File "/srv/sc.
self.
File "/srv/sc.
start = date_series[0]
IndexError: list index out of range
The finish date is greater than the start date, and sca is tripping over this. It should instead display an error message saying "The requested finish date must be later than start date", and ideally restrict the date picker client side to help the user select correct time intervals, though this might not be easy as we're re-using Django's admin date picker