Community mailing list archives

Re: Proposition of Readme.rst and index.html for OCA modules

- 12/28/2014 11:02:33

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

2014-12-27 15:42 GMT-05:00 Stefan <>:
On 26-12-14 21:26, Pedro Manuel Baeza Romero wrote:
<blockquote cite="" type="cite">
Hi, Maxime,

Thanks for the initiative. Some suggestions:
  • Put a disclaimer like the one I put on this repository: OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
  • Don't split authors and contributors. Sometimes, the work made by later contributors is higher than the work made by the author. I would put only "Contributors".
  • A better place to host the "template" is maintainer-tools, not server-tools.

+1 to all your suggestions. And Maxime, thanks for your the initiative.


Post to: