Community mailing list archives

Module Prototype

Savoir-Faire Linux, Maxime Chambreuil
- 12/28/2014 17:14:00
Hi all,

I have updated the module description with further explanations:

Loïc, did you put an accent in your module name ? Please try not to and report an issue to:

Maxime Chambreuil
+1 (514) 276-5468 #126


I try to install this module on my ubuntu and I have this error when I click on export:

This for your information :

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/", line 518, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 539, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 295, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/service/", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 292, in checked_call
    return self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 755, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 388, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/", line 953, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/", line 941, in _call_kw
    return getattr(request.registry.get(model), method)(, request.uid, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 332, in old_api
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/prototype/wizard/", line 85, in action_export
    zip_details = self.zip_files(prototype.generate_files())
  File "/usr/lib/python2.7/dist-packages/openerp/addons/prototype/wizard/", line 119, in zip_files
    target.writestr(info, filecontent)
  File "/usr/lib/python2.7/", line 1234, in writestr
    zinfo.CRC = crc32(bytes) & 0xffffffff       # CRC-32 checksum
UnicodeEncodeError: 'ascii' codec can't encode character u'\xef' in position 1106: ordinal not in range(128)

loïc Richard