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'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "make.py", line 41, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "make.py", line 13, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), a['lang'])
  File 
"/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py",
 line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
  File 
"/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py",
 line 104, in mysplit
    s1 = re.sub("[{]" + i + "}", repl[i], s1)
  File "/usr/lib/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "/usr/lib/python3.7/re.py", line 309, in _subx
    template = _compile_repl(template, pattern)
  File "/usr/lib/python3.7/re.py", line 300, in _compile_repl
    return sre_parse.parse_template(repl, pattern)
  File "/usr/lib/python3.7/sre_parse.py", line 1024, in parse_template
    raise s.error('bad escape %s' % this, len(this))
re.error: bad escape \w at position 20

missing config file or options: src/en/en.cfg
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'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "make.py", line 41, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "make.py", line 13, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), a['lang'])
  File 
"/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py",
 line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
  File 
"/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py",
 line 104, in mysplit
    s1 = re.sub("[{]" + i + "}", repl[i], s1)
  File "/usr/lib/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "/usr/lib/python3.7/re.py", line 309, in _subx
    template = _compile_repl(template, pattern)
  File "/usr/lib/python3.7/re.py", line 300, in _compile_repl
    return sre_parse.parse_template(repl, pattern)
  File "/usr/lib/python3.7/sre_parse.py", line 1024, in parse_template
    raise s.error('bad escape %s' % this, len(this))
re.error: bad escape \w at position 6

missing config file or options: src/ru_RU/ru_RU.cfg
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()
/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py:170:
 FutureWarning: Possible nested set at position 5
  compr = re.compile(sc)
Traceback (most recent call last):
  File "/usr/lib/python3.7/sre_parse.py", line 1021, in parse_template
    this = chr(ESCAPES[this][1])
KeyError: '\\d'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "make.py", line 41, in <module>
    dist(i[:-4], fArgs._sections['args'])
  File "make.py", line 13, in dist
    code = pythonpath.lightproof_compile___implname__.c(f.read(), a['lang'])
  File 
"/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py",
 line 270, in c
    item = mysplit(lines[i].strip(), i + 1, oldlinenums[lines[i]], debug)
  File 
"/data/rene/Debian/Pakete/LibreOffice/lightproof-1.6/pythonpath/lightproof_compile___implname__.py",
 line 104, in mysplit
    s1 = re.sub("[{]" + i + "}", repl[i], s1)
  File "/usr/lib/python3.7/re.py", line 192, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "/usr/lib/python3.7/re.py", line 309, in _subx
    template = _compile_repl(template, pattern)
  File "/usr/lib/python3.7/re.py", line 300, in _compile_repl
    return sre_parse.parse_template(repl, pattern)
  File "/usr/lib/python3.7/sre_parse.py", line 1024, in parse_template
    raise s.error('bad escape %s' % this, len(this))
re.error: bad escape \d at position 9

python3.7 strikes again?

> > Archive:  /<<PKGBUILDDIR>>/lightproof_en-0.4.3.oxt
> > warning [/<<PKGBUILDDIR>>/lightproof_en-0.4.3.oxt]:  zipfile is empty
> > Archive:  /<<PKGBUILDDIR>>/lightproof_hu-1.6.2.oxt
> > warning [/<<PKGBUILDDIR>>/lightproof_hu-1.6.2.oxt]:  zipfile is empty
[...]
> > Archive:  /<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt
> > warning [/<<PKGBUILDDIR>>/lightproof_ru_RU-0.3.4.oxt]:  zipfile is empty
> > make[1]: *** [debian/rules:38: override_dh_auto_install] Error 1

And because thse oxts are not built correctly this happens.

Regards,

Rene

Reply via email to