#35 pyjigdo crash with debian .jigdo files
Closed: Duplicate None Opened 15 years ago by thestigg.

Problem: When trying to download a Debian distro using pyjigdo, the program crashes. Here is the link to where you can download the jigdo files and their templates.


It failed for debian-40r3-amd64-DVD-1 and debian-update-4.0r3-amd64-DVD-1. I did not test the others.

Linux #1 SMP Sat Mar 29 09:15:49 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


Python version:
Python 2.5.1

Screen output:
[Andrew@Firebird Download]$ pyjigdo debian-40r3-amd64-DVD-1.jigdo
Traceback (most recent call last):
File "/usr/bin/pyjigdo", line 343, in <module>
pyjigdo = PyJigdo()
File "/usr/bin/pyjigdo", line 43, in init
File "/usr/bin/pyjigdo", line 339, in run
File "/usr/lib/python2.5/site-packages/pyjigdo/base.py", line 81, in run
File "/usr/lib/python2.5/site-packages/pyjigdo/cli.py", line 37, in run
File "/usr/lib/python2.5/site-packages/pyjigdo/base.py", line 139, in load_jigdo
self.jigdo_definition = pyjigdo.jigdo.JigdoDefinition(file_name, self.log, self.cfg)
File "/usr/lib/python2.5/site-packages/pyjigdo/jigdo.py", line 40, in init
File "/usr/lib/python2.5/site-packages/pyjigdo/jigdo.py", line 126, in parse
raise MissingSectionHeaderError(fpname, lineno, line)
NameError: global name 'MissingSectionHeaderError' is not defined

Not having MissingSectionHeaderError is a legitimate bug.[[BR]]
With regards to the jigdo image, it is gzipped... so we will need to handle that.[[BR]]
The third issue is the template location is not absolute, so the definition assumes you will be pointing at the url for the jigdo so the template location can be derived from the location of the jigdo. jigdo-lite also fails when the file is local with the message: File `debian-40r3-amd64-DVD-1.template' does not exist! We will also need to handle this. I will create three different bugs for this report.

Metadata Update from @jsteffan:
- Issue set to the milestone: Version 0.4

7 years ago

Login to comment on this ticket.