Advancing Forward and Backwards in the Calendar Week View Gives General Error

Bug #882059 reported by Nat Katin-Borland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
High
Balazs Ree

Bug Description

This is a bug in production. Advancing forward and backward in the calendar week view in the month of December 2011 gives a General Error. This appears to be happening across communities. The traceback from https://karl.soros.org/communities/its-a-test/calendar/week.html?year=2011&month=12&day=2 clicking one week forward is below:

 <!--
       Traceback (most recent call last):
  File "/srv/osfkarl/production/31/eggs/karl-3.72-py2.6.egg/karl/errorpage.py", line 60, in __call__
    resp = req.get_response(self.app)
  File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 920, in get_response
    application, catch_exc_info=False)
  File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 888, in call_application
    app_iter = application(self.environ, start_response)
  File "/srv/osfkarl/production/31/eggs/karl-3.72-py2.6.egg/karl/errorlog.py", line 18, in middleware
    return app(environ, start_response)
  File "/srv/osfkarl/production/31/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/srv/osfkarl/production/31/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__
    result = self.next_app(environ, start_response)
  File "/srv/osfkarl/production/31/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/srv/osfkarl/production/31/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/srv/osfkarl/production/31/eggs/repoze.urchin-0.1-py2.6.egg/repoze/urchin/__init__.py", line 20, in __call__
    resp = req.get_response(self.app)
  File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 920, in get_response
    application, catch_exc_info=False)
  File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 888, in call_application
    app_iter = application(self.environ, start_response)
  File "/srv/osfkarl/production/31/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/srv/osfkarl/production/31/eggs/repoze.bfg-1.2-py2.6.egg/repoze/bfg/configuration.py", line 1753, in _secured_view
    return view(context, request)
  File "/srv/osfkarl/production/31/eggs/karl-3.72-py2.6.egg/karl/content/views/calendar_events.py", line 361, in show_week_view
    response = _show_calendar_view(context, request, WeekViewPresenter, selection)
  File "/srv/osfkarl/production/31/eggs/karl-3.72-py2.6.egg/karl/content/views/calendar_events.py", line 311, in _show_calendar_view
    focus_datetime = datetime.datetime(year, month, day)
ValueError: month must be in 1..12

Tags: r3.73
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

*Hopefully* this is something fixed in the course of the other stuff on Balazs's plate today.

Changed in karl3:
assignee: nobody → Balazs Ree (ree)
importance: Undecided → High
milestone: none → m78
Revision history for this message
Nat Katin-Borland (nborland) wrote :

I just tried to test this on B1 and didn't get a General Error, but I did get some weird behavior. I was in the same community, but on B1 (https://karlstaging.gocept.com/branch1/osf/communities/its-a-test/calendar/month.html). I started in Oct 2011 in the Calendar Month View. I navigated to December 2011, still in the month view and then changed to the Week view. So far so good. Then if I try move forward or backwards in the Week view I'm transported out of my current month, December and back to this week in October. I have no idea what's going, but this is obviously not what should be happening...

Revision history for this message
Balazs Ree (ree) wrote :

Should be fixed. Please test on branch1, the fix is just about to be released to karl.soros.org.

Changed in karl3:
status: New → Fix Committed
Revision history for this message
Nat Katin-Borland (nborland) wrote : RE: [Bug 882059] Re: Advancing Forward and Backwards in the Calendar Week View Gives General Error
Download full text (4.1 KiB)

This looks good now

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Foundations - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Balazs Ree
Sent: Wednesday, October 26, 2011 2:44 PM
To: Nathaniel Katin-Borland
Subject: [Bug 882059] Re: Advancing Forward and Backwards in the Calendar Week View Gives General Error

Should be fixed. Please test on branch1, the fix is just about to be released to karl.soros.org.

** Changed in: karl3
       Status: New => Fix Committed

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/882059

Title:
  Advancing Forward and Backwards in the Calendar Week View Gives
  General Error

Status in KARL3:
  Fix Committed

Bug description:
  This is a bug in production. Advancing forward and backward in the
  calendar week view in the month of December 2011 gives a General
  Error. This appears to be happening across communities. The
  traceback from
  https://karl.soros.org/communities/its-a-test/calendar/week.html?year=2011&month=12&day=2
  clicking one week forward is below:

   <!--
         Traceback (most recent call last):
    File "/srv/osfkarl/production/31/eggs/karl-3.72-py2.6.egg/karl/errorpage.py", line 60, in __call__
      resp = req.get_response(self.app)
    File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 920, in get_response
      application, catch_exc_info=False)
    File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 888, in call_application
      app_iter = application(self.environ, start_response)
    File "/srv/osfkarl/production/31/eggs/karl-3.72-py2.6.egg/karl/errorlog.py", line 18, in middleware
      return app(environ, start_response)
    File "/srv/osfkarl/production/31/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__
      app_iter = self.application(environ, replace_start_response)
    File "/srv/osfkarl/production/31/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__
      result = self.next_app(environ, start_response)
    File "/srv/osfkarl/production/31/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__
      result = self.application(environ, save_status_and_headers)
    File "/srv/osfkarl/production/31/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__
      app_iter = app(environ, wrapper.wrap_start_response)
    File "/srv/osfkarl/production/31/eggs/repoze.urchin-0.1-py2.6.egg/repoze/urchin/__init__.py", line 20, in __call__
      resp = req.get_response(self.app)
    File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-py2.6.egg/webob/request.py", line 920, in get_response
      application, catch_exc_info=False)
    File "/srv/osfkarl/production/31/eggs/WebOb-0.9.8.0_osi1-p...

Read more...

Revision history for this message
Nat Katin-Borland (nborland) wrote :

looks good

JimPGlenn (jpglenn09)
tags: added: r3.73
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.