← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791115] Re: Bug in mail_gateway module on Windows XP

 

Environment Information : 
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : ru_RU.cp1251
Python Version : 2.5.2
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "openerp\netsvc.pyo", line 427, in dispatch
  File "openerp\service\web_services.pyo", line 574, in dispatch
  File "openerp\osv\osv.pyo", line 124, in wrapper
  File "openerp\osv\osv.pyo", line 178, in execute
  File "openerp\osv\osv.pyo", line 169, in execute_cr
  File "openerp\osv\orm.pyo", line 2978, in read
  File "openerp\osv\orm.pyo", line 3101, in _read_flat
  File "openerp\osv\fields.pyo", line 816, in get
  File "openerp\addons\mail_gateway\mail_gateway.pyo", line 258, in _get_display_text
  File "openerp\addons\mail_gateway\mail_gateway.pyo", line 185, in format_date_tz
  File "openerp\tools\misc.pyo", line 1323, in server_to_local_timestamp
  File "openerp\tools\misc.pyo", line 1241, in get_server_timezone
  File "openerp\tools\misc.pyo", line 1226, in detect_server_timezone
  File "pytz\__init__.pyo", line 147, in timezone
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 0: ordinal not in range(128)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/791115

Title:
  Bug in mail_gateway module on Windows XP

Status in OpenERP Modules (addons):
  New

Bug description:
  OpenERP Crashes on Windows XP trying to decode timezone format.

  
  Environment Information :
  System : Windows-XP-5.1.2600-SP2
  OS Name : nt
  Operating System Release : XP
  Operating System Version : 5.1.2600
  Operating System Architecture : 32bit
  Operating System Locale : ru_RU.cp1251
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "osv\orm.pyo", line 2940, in read
  File "osv\orm.pyo", line 3060, in _read_flat
  File "osv\fields.pyo", line 793, in get
  File "C:\Program Files\OpenERP 6.0\Server\addons\mail_gateway\mail_gateway.py", line 254, in _get_display_text
  File "C:\Program Files\OpenERP 6.0\Server\addons\mail_gateway\mail_gateway.py", line 180, in format_date_tz
  File "tools\misc.pyo", line 1433, in server_to_local_timestamp
  File "tools\misc.pyo", line 1351, in get_server_timezone
  File "tools\misc.pyo", line 1336, in detect_server_timezone
  File "pytz\__init__.pyo", line 147, in timezone
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 0: ordinal not in range(128)


References