pytz.UnknownTimeZoneError

Bug #424590 reported by Todd Johnson
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
New
Undecided
Unassigned
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

When opening the CRM ticket I recive the below errors:

Traceback (most recent call last):
  File "/home/todd/Download/openerp-client-5.0.3/bin/widget/view/tree_gtk/parser.py", line 196, in setter
    text = self.get_textual_value(model)
  File "/home/todd/Download/openerp-client-5.0.3/bin/widget/view/tree_gtk/parser.py", line 310, in get_textual_value
    szone = pytz.timezone(rpc.session.timezone)
  File "/usr/lib/python2.6/site-packages/pytz/__init__.py", line 146, in timezone
    raise UnknownTimeZoneError(zone)
pytz.UnknownTimeZoneError: 'CST'

I found a forum post suggesting to hardcode to hardcode 'America/Chicago' into /usr/lib/python2.5/site-packages/openerp-server/service/web_services.py in timezone_get.

The server is Fedora10 with Python 2.5.2 and openerp-server-5.0.3. The client is Fedora 11 with Python 2.6 openerp-client-5.0.3.

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.