Bug#742252: duck: missing d/control - readline() on closed filehandle $fh at /usr/bin/duck line 94.

2014-03-21 Thread Jakub Wilk

Package: duck
Version: 0.5
Severity: minor

This is what happens if debian/control does not exist:

$ duck
readline() on closed filehandle $fh at /usr/bin/duck line 94.
IO error: parse_file failed because debian/control could not be opened for 
reading.


Please improve error handling. :-)



-- System Information:
Debian Release: jessie/sid
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages duck depends on:
ii  bzr  2.6.0+bzr6591-1
ii  git  1:1.9.1-1
ii  libfile-which-perl   1.09-1
ii  libnet-dns-perl  0.68-1.2
ii  libparse-debcontrol-perl 2.005-4
ii  libregexp-common-email-address-perl  1.01-4
ii  libregexp-common-perl2013031301-1
ii  libwww-curl-perl 4.17-1
ii  libyaml-libyaml-perl 0.41-4
ii  mercurial2.9.1-1
ii  perl 5.18.2-2+b1
ii  subversion   1.8.8-1

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#742252: duck: missing d/control - readline() on closed filehandle $fh at /usr/bin/duck line 94.

2014-03-21 Thread Simon Kainz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Am 2014-03-21 11:26, schrieb Jakub Wilk:
 Package: duck Version: 0.5 Severity: minor
 
 This is what happens if debian/control does not exist:
 
 $ duck readline() on closed filehandle $fh at /usr/bin/duck line
 94. IO error: parse_file failed because debian/control could not be
 opened for reading.
 
 
 Please improve error handling. :-)
 
Debian Packages without d/control files clearly violate the policy,
and are not allowed! As simple as that :-)

Yes, thanks for that, i just didn't think about that at all. Will be
fixed with the next upload.

Bye,


 
 
 -- System Information: Debian Release: jessie/sid APT prefers
 unstable APT policy: (990, 'unstable'), (500, 'experimental') 
 Architecture: i386 (x86_64) Foreign Architectures: amd64
 
 Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C,
 LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to
 /bin/dash
 
 Versions of packages duck depends on: ii  bzr
 2.6.0+bzr6591-1 ii  git  1:1.9.1-1 
 ii  libfile-which-perl   1.09-1 ii  libnet-dns-perl
 0.68-1.2 ii  libparse-debcontrol-perl 2.005-4 ii
 libregexp-common-email-address-perl  1.01-4 ii
 libregexp-common-perl2013031301-1 ii
 libwww-curl-perl 4.17-1 ii
 libyaml-libyaml-perl 0.41-4 ii  mercurial
 2.9.1-1 ii  perl 5.18.2-2+b1 ii
 subversion   1.8.8-1
 


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTLB/dAAoJEBy08PeN7K/pOOEQAJR2po3TuHJH5Ml1+yQDLv4k
7bBljwRLoYRc4PYpCJrgwMUppzl/90GpnfKRv4EO8x3z/adrKGzxsi3mML6ZPDIa
Gnz87Uq0TBbKyzouZvVheP0L6ghFWEp6KVSC1NKUUnzjw+GC2lhFSXb/EDuvDvRm
U5EYa3Hn2zaqnLvExKwfmTrATf0CxH7VqAw5NlAyoXF9r3MRTFBs5uL/OHzaKY/D
Ky8tKZybDmAW7hnHpVMSN6ZIe/tk85Db2YLLbIayMlvZQWVJgfumT/cCqL7fZu5r
HE4/DRqsAHNsPVYDmZTRyKT1nfVYCuRbymLAXkq4zWRGaOjYPr+flreEBgFicyoe
hPpegcP2RiJBiWfduyuHKgV7QBVZmM5Kvxupq3YbGdnMu5wN3V6FfV/1xU9fzfd3
9WCLxd8quey6voK5fBvY//niOdqssYqIK2MoSa5WWtIljB2g7StZbGWq1tUDmFwe
8SpZ0DieET6xYoqC6/yREApL6wX5pr6TRfMu+FrMJL46mr5LsZqQRbj6F3ss0jf8
/zQUYd/EfP0/5oUp35kuBno9Ipj/2UP/OSWLqCxNBazKo9bUcHMZHNy/FHxNJG8s
bjvNPbd9QIlCpFDAxTsofwQrJhip6Lv0gs35BIfI34wlN+aWGvhBChlBkSgV4RuK
XyQS58Wn3WuXhcGo4SMe
=UGXi
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org