[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686731: edos-distcheck: Syopped to work



Mehdi Dogguy <mehdi@dogguy.org> writes:

> On 09/05/2012 07:56 AM, Christian Marillat wrote:
>> 
>> $ edos-builddebcheck /debian/data/unstable/Packages_i386 
>> /debian/dists/unstable/main/source/Sources Merging... File 
>> "/usr/share/edos-distcheck/add-sources.py", line 144, in <module>
>> pkg = pkg_of_src(src) File
>> "/usr/share/edos-distcheck/add-sources.py", line 124, in pkg_of_src
>> if src.has_key(field): AttributeError: 'Sources' object has no
>> attribute 'has_key' Completing conflicts... * 100.0% Merging... 0
>> Fatal error: exception Failure("Warning: package ignored because it 
>> has no name")
>> 
>
> Can you please check if one of those files has an empty line at the
> beginning and try to run edos-builddebcheck after removing the extra
> empty line (in any)?

No empty line. Note, this was working before.

> It would also help us to provide those files so that we can try to
> reproduce the bug (even if they look downloaded from a Debian mirror...
> but we never know what users do with their files :)).

Steps to reproduce this 'feature' :

,----
| lynx -dump http://ftp.fr.debian.org/debian/dists/unstable/main/binary-i386/Packages.bz2 | bunzip2 -cd > Packages_i386
| lynx -dump http://www.deb-multimedia.org/dists/unstable/main/binary-i386//Packages.bz2 | bunzip2 -cd >> Packages_i386
| lynx -dump http://www.deb-multimedia.org/dists/unstable/non-free/binary-i386/Packages.bz2 | bunzip2 -cd >> Packages_i386
| lynx -dump http://www.deb-multimedia.org/dists/unstable/main/source/Sources.bz2 | bunzip2 -cd > Sources
| edos-builddebcheck Packages_i386 Sources
`----

Christian


Reply to: