[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#917686: lightproof: FTBFS: warning [/<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt]: zipfile is empty



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....

Regards,
 
Rene


Reply to: