← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

I have changed the locale of system but it could fetch emails and works
as expected.

Would you please provide more information or steps to achieve it.

Waiting for your reply.

-- 
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):
  Incomplete

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/791115/+subscriptions


References