• 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
buildout.cfg 2.81 KB