Re: DAK processing errors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 19/12/11 18:40, Ansgar Burchardt wrote:
> 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?
Nop it wasn't, thx Ansgar this solved my problem.
>> [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.
Yeee I had a look at the code and read some comments included, once I
focus a bit on python (at least that's the plan) maybe I'll be able to
give you guys a helping hand (if needed of course)
> Ansgar
one more time thx and have a good day
- --
|_|0|_| |
|_|_|0| "Heghlu'Meh QaQ jajVam" |
|0|0|0| -------- kuLa --------- |
gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJO8FmaAAoJEOqHloDBALTKgJYH/RbkRtkJ6tomgGy+ITJuYmfD
vtwVyJeE4xPGt6HDCimGhobov9GuakPoAGRrGah3zD4S2pmmJvAXjTJSKpsrCLxJ
L291rmKMXBsfgt3Tp2F6l6wqWiE/kcD4ttg8LbjxeByELyJ4OhDJPcctIKSbQ7wE
YlW9CVoSfiuZpn+anevSiKJUWtS7DnV6trooFvIbeC+ZXSfkgIGnntw7bSOyP57B
0UewZz4Odc/gUvg9oYqKFkwUEzrXZ94SnoGDFKXuKE1wGOYZwNgBh27ESLMvjxfX
eFlwc2y20SYrBC1fowvohmSAPBKWHNTuI3uw8rLbm22BgCLkp04aqWF6GXOWf98=
=BwPt
-----END PGP SIGNATURE-----
Reply to: