Bug#932491: also a problem with gzip

2019-07-20 Thread David Bremner
David Bremner  writes:

> I just checked and gzip.open has the same problem with python3, while
> with python2 I get
>
> Traceback (most recent call last):
>   File "test.py", line 6, in 
> for src in Sources.iter_paragraphs(f):
>   File "/usr/lib/python2.7/dist-packages/debian/deb822.py", line 706, in 
> iter_paragraphs
> for section in parser:
> apt_pkg.Error: E:Unable to parse package file  (1)

That part was user error. I fetched the correct Sources.gz again this
morning and the gzip version seems fine.



Bug#932491: also a problem with gzip

2019-07-19 Thread David Bremner
"Debian Bug Tracking System"  writes:

> Thank you for filing a new Bug report with Debian.
>
> You can follow progress on this Bug here: 932491: 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932491.

I just checked and gzip.open has the same problem with python3, while
with python2 I get

Traceback (most recent call last):
  File "test.py", line 6, in 
for src in Sources.iter_paragraphs(f):
  File "/usr/lib/python2.7/dist-packages/debian/deb822.py", line 706, in 
iter_paragraphs
for section in parser:
apt_pkg.Error: E:Unable to parse package file  (1)

This is all with the current Sources.{gz,xz} from sid btw.

d