← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 690565] Re: web_livechat fails web client installation and access (on Centos)

 

** Changed in: openobject-addons
       Status: New => Triaged

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

Title:
  web_livechat fails web client installation and access (on Centos)

Status in OpenObject Addons Modules:
  Triaged

Bug description:
  Hello,

On centos 5.4 / python 2.5
rev 4011

the web_livechat fails web clients installation and access.

The 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)

Romain





References