Community mailing list archives

community@mail.odoo.com

Re: Module Prototype

by
loic
- 12/28/2014 17:40:47
Done, 
Thanks maxime


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

2014-12-28 17:17 GMT-05:00 Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>:
Hi all,

I have updated the module description with further explanations:
https://github.com/savoirfairelinux/server-tools/tree/8.0-prototype/prototype

Loïc, did you put an accent in your module name ? Please try not to and report an issue to:
https://github.com/OCA/server-tools/issues

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


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

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