[elbe-devel] SOLVED: elbe 1.9.13 fails on extracting licenses (jessie)

ew.foe at nassur.net ew.foe at nassur.net
Tue Nov 8 11:55:11 CET 2016


Hello Manuel,

Quoting Manuel Traut <manuel.traut at linutronix.de>:

> Hi Erich,
>
>> > >Build failed
>> > >Traceback (most recent call last):
>> > >  File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py",
>> > >line 116, in execute
>> > >    skip_pbuild=self.skip_pbuilder)
>> > >  File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py",
>> > >line 291, in build
>> > >    self.buildenv.rfs.write_licenses(f, self.log, os.path.join(
>> > >self.builddir, "licence.xml"))
>> > >  File "/usr/lib/python2.7/dist-packages/elbepack/efilesystem.py",
>> > >line 131, in write_licenses
>> > >    licence_xml = copyright_xml()
>> > >  File "/usr/lib/python2.7/dist-packages/elbepack/licencexml.py",
>> > >line 57, in __init__
>> > >    self.outxml = etree (None)
>> > >  File "/usr/lib/python2.7/dist-packages/elbepack/treeutils.py",
>> > >line 111, in __init__
>> > >    et = parse (fname, parser=parser)
>> > >  File "lxml.etree.pyx", line 3299, in lxml.etree.parse
>> > >(src/lxml/lxml.etree.c:72655)
>> > >  File "parser.pxi", line 1814, in lxml.etree._parseDocument
>> > >(src/lxml/lxml.etree.c:106512)
>> > >TypeError: cannot parse from 'NoneType'
>> > >
>> > >
>> > >Exception:
>> > >cannot parse from 'NoneType'
>> >
>> > The effects are that
>> > 1. elbe-build-*/licence.txt has size zero,
>> > 2. sda.img.gz is not produced or not downloaded ... let me check.
>> >    It seems sda.img.gz is not even produced.
>
> this issue should be resolved in elbe 1.9.14. elbe 1.9.14 was released today.

For the records: with version 1.9.14 my build succeeds without extra hacks.
Comments in the .xml build description are preserved and do not cause funny
messages in log.txt any more (comments in <pkg-list>-section).

Thanks for your help!

Cheers,
Erich






More information about the elbe-devel mailing list