On Sun, Dec 30, 2018 at 04:11:29PM +0100, Rene Engelhard wrote: > retitle 917686 lightproof: FTBFS: "zipfile is empty" with python 3.7 ("Key > Error") > thanks > > Hi, > > On Sun, Dec 30, 2018 at 12:37:55PM +0100, Rene Engelhard wrote: > > On Sat, Dec 29, 2018 at 10:43:37PM +0100, Lucas Nussbaum wrote: > > > Relevant part (hopefully): > > [...] > > > > Unfortunately not. This is the relevant part: > > > > for cfg in `find src -name "*.cfg"`; do \ > > python3 make.py $cfg; \ > > done > > make.py:37: DeprecationWarning: The SafeConfigParser class has been renamed > > to ConfigParser in Python 3.2. This alias will be removed in future > > versions. Use ConfigParser directly instead. > > fArgs = cp.SafeConfigParser() > > /usr/lib/python3.7/zipfile.py:1470: UserWarning: Duplicate name: > > 'META-INF/manifest.xml' > > return self._open_to_write(zinfo, force_zip64=force_zip64) > > make.py:37: DeprecationWarning: The SafeConfigParser class has been renamed > > to ConfigParser in Python 3.2. This alias will be removed in future > > versions. Use ConfigParser directly instead. > > fArgs = cp.SafeConfigParser() > > Traceback (most recent call last): > > File "/usr/lib/python3.7/sre_parse.py", line 1021, in parse_template > > this = chr(ESCAPES[this][1]) > > KeyError: '\\w' > [...] > > python3.7 strikes again? > > Jup, replacing python3 with python3.6 makes this work....
For some reason the problem seems to be 32bit-only now: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lightproof.html > Regards, > > Rene cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed