Re: DAK processing errors
Marcin Kulisz <debian@kulisz.net> writes:
> libloki-dev_0.1.7-3~bpo50+1_i386.deb
> to main/libl/libloki/libloki-dev_0.1.7-3~bpo50+1_i386.deb
> libloki-doc_0.1.7-3~bpo50+1_all.deb
> to main/libl/libloki/libloki-doc_0.1.7-3~bpo50+1_all.deb
> libloki0.1.7-dbg_0.1.7-3~bpo50+1_i386.deb
> to main/libl/libloki/libloki0.1.7-dbg_0.1.7-3~bpo50+1_i386.deb
> libloki0.1.7_0.1.7-3~bpo50+1_i386.deb
> to main/libl/libloki/libloki0.1.7_0.1.7-3~bpo50+1_i386.deb
> libloki_0.1.7-3~bpo50+1.diff.gz
> to main/libl/libloki/libloki_0.1.7-3~bpo50+1.diff.gz
> libloki_0.1.7-3~bpo50+1.dsc
> to main/libl/libloki/libloki_0.1.7-3~bpo50+1.dsc
It looks like the .orig.tar.* is not included in the .changes. Is it
already in the pool?
> [A]ccept, Skip, Quit ?
> Installing.
> ERROR
> Traceback (most recent call last):
> File "/opt/dak/dak/process_upload.py", line 406, in process_it
> action(u, session)
> File "/opt/dak/dak/process_upload.py", line 300, in action
> u.accept(summary, short_summary, session)
> File "/opt/dak/dak/daklib/dbconn.py", line 161, in wrapped
> return fn(*args, **kwargs)
> File "/opt/dak/dak/daklib/queue.py", line 2093, in accept
> source, dsc_component, dsc_location_id, pfs = add_dsc_to_db(self,
> newfile, session)
> File "/opt/dak/dak/daklib/dbconn.py", line 161, in wrapped
> return fn(*args, **kwargs)
> File "/opt/dak/dak/daklib/dbconn.py", line 2754, in add_dsc_to_db
> filename = dfentry["pool name"] + dsc_file
> TypeError: 'NoneType' object is unsubscriptable
This seems to be a "known" bug:
2745 # Find the entry in the files hash
--> 2746 # TODO: Bail out here properly
2747 dfentry = None
2748 for f, e in u.pkg.files.items():
2749 if f == dsc_file:
2750 dfentry = e
2751 break
2752
2753 if files_id is None:
--> 2754 filename = dfentry["pool name"] + dsc_file
dfentry was None in line 2754, this means the for loop did not find
a file.
Ansgar
Reply to: