Opened 17 years ago

Last modified 17 years ago

#2136 closed defect

ValueError: day is out of range for month — at Initial Version

Reported by: edward.chwieseni@… Owned by: Bhuricha Deen Sethanandha
Priority: highest Component: TracMetrixPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

I logged in to trac and selected "Dashboard" and received the following error:

Trac detected an internal error:

ValueError: day is out of range for month

Most recent call last: File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6047-py2.4.egg/trac/web/main.py", line 381, in dispatch_request Code fragment:

if not env and env_error: raise HTTPInternalError(env_error) try: try: dispatcher = RequestDispatcher(env)

dispatcher.dispatch(req)

except RequestDone: pass return req._response or [] finally: if not run_once:

Local variables:

Name Value after [' except RequestDone:', ' pass', ' ... before [' if not env and env_error:', ' raise ... dispatcher <trac.web.main.RequestDispatcher object at 0x8b1894c> e <exceptions.ValueError instance at 0x92d8bec> env <trac.env.Environment object at 0x8a5aa0c> env_error None env_name 'gmstudy' env_parent_dir '/opt/tracHome' env_path '/opt/tracHome/gmstudy' env_paths None environ {'wsgi.multiprocess': True, 'HTTP_COOKIE': ... exc_info (<class exceptions.ValueError at 0xb7f8fb0c>, <exceptions.ValueError ... filename '/usr/lib/python2.4/site-packages/Trac-0.11dev_r6047-py2.4.egg/trac/web/mai ... frames [{'function': 'dispatch_request', 'lines_before': [' if not env and ... has_admin True line ' dispatcher.dispatch(req)' lineno 380 message u'ValueError: day is out of range for month' path_info pdashboard? req <Request "GET u'/pdashboard'"> run_once False script_url None start_response <bound method ModPythonGateway._start_response of ... tb <traceback object at 0x93dfcac> tb_hide None traceback 'Traceback (most recent call last):\n File ...

File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6047-py2.4.egg/trac/web/main.py", line 191, in dispatch Code fragment:

'Do you have cookies enabled?') # Process the request and render the template try: try:

resp = chosen_handler.process_request(req) if resp: if len(resp) == 2: # Clearsilver chrome.populate_hdf(req) template, content_type = \ self._post_process_request(req, *resp)

Local variables:

Name Value chosen_handler <tracmetrixplugin.web_ui.PDashboard object at 0x8ad2eac> chrome <trac.web.chrome.Chrome object at 0x8b1776c> err (<class exceptions.ValueError at 0xb7f8fb0c>, <exceptions.ValueError ... handler <tracmetrixplugin.web_ui.PDashboard object at 0x8ad2eac> req <Request "GET u'/pdashboard'"> self <trac.web.main.RequestDispatcher object at 0x8b1894c>

File "build/bdist.linux-i686/egg/tracmetrixplugin/web_ui.py", line 119, in process_request Local variables: Name Value db <trac.db.pool.PooledConnection object at 0x92cfc0c> filename None req <Request "GET u'/pdashboard'"> self <tracmetrixplugin.web_ui.PDashboard object at 0x8ad2eac>

File "build/bdist.linux-i686/egg/tracmetrixplugin/web_ui.py", line 190, in _render_view Local variables: Name Value bmi_stats [('10/2007', [2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, ... closed_stat <trac.ticket.roadmap.TicketGroupStats object at 0x934d28c> data {'proj_closed_stat': {'stats_href': '/trac/gmstudy/query/%7B%7D', ... db <trac.db.pool.PooledConnection object at 0x92cfc0c> first_day datetime.datetime(2007, 9, 1, 0, 0, tzinfo=<FixedOffset "UTC" 0:00:00>) interval {'count': 2L, 'title': u'duplicate', 'css_class': 'waste', 'countsToProg': ... last_day datetime.datetime(2007, 10, 31, 0, 0, tzinfo=<FixedOffset "UTC" 0:00:00>) milestone <trac.ticket.model.Milestone object at 0x92dfa8c> milestones [<trac.ticket.model.Milestone object at 0x92df24c>, ... proj_stat <trac.ticket.roadmap.TicketGroupStats object at 0x934dccc> project {'name': u'GM Study', 'description': u'Glioma/Meningioma Brain Cancer ... project_tickets [2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, ... queries [] req <Request "GET u'/pdashboard'"> self <tracmetrixplugin.web_ui.PDashboard object at 0x8ad2eac> showall False stat <trac.ticket.roadmap.TicketGroupStats object at 0x934a4ec> stats [{'stats_href': '/trac/gmstudy/query?group=status&milestone=Iteration+3', ... tickets [{'status': u'QA', 'owner': u'annepuvr', 'id': 101L}, {'status': u'QA', ... tkt_duration_stats {'Lead time': <tracmetrixplugin.model.DescriptiveStats object at ... tkt_frequency_stats {'Number of milestone changed per ticket': ... tkt_group_metrics <tracmetrixplugin.model.TicketGroupMetrics object at 0x934d0cc> tkt_stats {} today datetime.datetime(2007, 10, 31, 8, 56, 29, 803979)

Change History (0)

Note: See TracTickets for help on using tickets.