← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 690559] Re: Centos 5.4 / python 2.5 : error at the database creation

 

** Branch linked: lp:openobject-server

-- 
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/690559

Title:
  Centos 5.4 / python 2.5 : error at the database creation

Status in OpenObject Server:
  Fix Released

Bug description:
  Hello,

server: rev3112
client web : rev4105
addons : rev4011

When I launch my web browser, I have this error at the database creation :
When I create the database on the gtk client, I haven't this error, but when I access with my web browser, I have the same error.

[2010-12-15 09:58:13,373][pap] INFO:i18n:loading /home/romain/openobject-addons/base_setup/i18n/fr.po
[2010-12-15 09:58:13,735][pap] WARNING:i18n:module web_livechat: no translation for language fr
[2010-12-15 09:58:13,809][pap] INFO:web-service:successful login from 'admin' using database 'paper'
[2010-12-15 09:58:13,928][pap] INFO:base.ir.module.module:Sending web content of modules [u'web_livechat'] to web client
[2010-12-15 09:58:13,938][pap] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/romain/openobject-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/romain/openobject-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/romain/openobject-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/romain/openobject-server/bin/addons/base/module/module.py", line 568, in get_web
    for module in modules
  File "/home/romain/openobject-server/bin/addons/__init__.py", line 228, in zip_directory
    archive.writepy(directory)
  File "/usr/lib64/python2.5/zipfile.py", line 756, in writepy
    self.write(fname, arcname)
  File "/usr/lib64/python2.5/zipfile.py", line 568, in write
    self.fp.write(zinfo.FileHeader())
  File "/usr/lib64/python2.5/zipfile.py", line 260, in FileHeader
    return header + self.filename + extra
UnicodeDecodeError: 'ascii' codec can't decode byte 0x99 in position 10: ordinal not in range(128)
[2010-12-15 09:58:14,022][pap] INFO:base.ir.module.module:Sending web content of modules [u'web_livechat'] to web client
[2010-12-15 09:58:14,043][pap] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/romain/openobject-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/romain/openobject-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/romain/openobject-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/romain/openobject-server/bin/addons/base/module/module.py", line 568, in get_web
    for module in modules
  File "/home/romain/openobject-server/bin/addons/__init__.py", line 228, in zip_directory
    archive.writepy(directory)
  File "/usr/lib64/python2.5/zipfile.py", line 756, in writepy
    self.write(fname, arcname)
  File "/usr/lib64/python2.5/zipfile.py", line 568, in write
    self.fp.write(zinfo.FileHeader())
  File "/usr/lib64/python2.5/zipfile.py", line 260, in FileHeader
    return header + self.filename + extra
UnicodeDecodeError: 'ascii' codec can't decode byte 0x99 in position 10: ordinal not in range(128)





References