An error occurred fetching the project authors.
  1. 22 Sep, 2023 2 commits
    • Jérome Perrin's avatar
      Revert "XXX-zope4py3: zodbpickle: Dirty hack to have encoding sets to utf-8." · 797c41cf
      Jérome Perrin authored
      This reverts commit 31eaaec1a2bd8bc8648a686a83be989a9615a93e.
      
      This slows down business template by a factor of two and it seems we
      don't need it. I'm experimenting with hacks in ppml.py but maybe just
      creating the Unpickler with encoding='utf-8' in
      product/ERP5Type/XMLExportImport/__init__.py:267 is enough ?
      797c41cf
    • Arnaud Fontaine's avatar
      XXX-zope4py3: zodbpickle: Dirty hack to have encoding sets to utf-8. · ab31da4d
      Arnaud Fontaine authored
      Otherwise it fails with the following exception because of non-ASCII characters
      (`[A-Z&é@{]{3,7})`) (see unconvert()) below):
      
        => erp5_core/PathTemplateItem/portal_preferences/default_site_preference.xml
           File "zodbpickle-2.0.0-py3.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 844, in load
              dispatch[key[0]](self)
           File "zodbpickle-2.0.0-py3.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 1035, in load_short_binstring
              self.append(self.decode_string(data))
           File "zodbpickle-2.0.0-py3.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 989, in decode_string
              return value.decode(self.encoding, self.errors)
        UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19: ordinal not in range(128)
      ab31da4d
  2. 05 Mar, 2023 1 commit
  3. 25 Jan, 2023 1 commit
  4. 03 Feb, 2022 1 commit
  5. 16 Mar, 2021 2 commits