Community mailing list archives

community@mail.odoo.com

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

by
loic
- 12/28/2014 11:02:33
Hello,

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

This for your information :

Thank
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 518, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 539, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 295, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 292, in checked_call
    return self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 755, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 388, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 953, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 941, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 332, in old_api
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/prototype/wizard/prototype_module_export.py", line 85, in action_export
    zip_details = self.zip_files(prototype.generate_files())
  File "/usr/lib/python2.7/dist-packages/openerp/addons/prototype/wizard/prototype_module_export.py", line 119, in zip_files
    target.writestr(info, filecontent)
  File "/usr/lib/python2.7/zipfile.py", 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)


------------------------
Cordialement,
loïc Richard

2014-12-27 15:42 GMT-05:00 Stefan <stefan@therp.nl>:
On 26-12-14 21:26, Pedro Manuel Baeza Romero wrote:
<blockquote cite="mid:CACSANCD7m5Rbjavcos2Yh0p46wG1bJy6_zyRndKoJ1x_4YYNjA@mail.gmail.com" 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. http://odoo-community.org/
  • 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.

Cheers,
Stefan


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe