Your message dated Mon, 8 Aug 2016 12:58:48 +0200
with message-id <20160808105848.GA23627@yellowpig>
and subject line Re: [Popcon-developers] Bug#833695: popularity-contest:
http://popcon.debian.org/all-popcon-results.txt.gz containso
has caused the Debian Bug report #833695,
regarding popularity-contest:
http://popcon.debian.org/all-popcon-results.txt.gz contains invalid data
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
833695: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833695
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: popularity-contest
Version: 1.64
Severity: serious
X-Debbugs-CC: [email protected]
Hi,
Since (at least) 07-Aug-2016 14:04, the all-popcon-results.txt.gz file
contains an invalid line:
Package: libfyba0-dbg 0 2 0 0
--> Package: libf erdp-ommon 0 0 0 1
Package: libg++2.8.1.3-dbg 0 0 0 1
That's (currently) line 54869. The "space" on the second line is actually
a 0xa0 character. This results in a few issues in dependent packages,
hence the RC severity.
$ python3
Python 3.5.2+ (default, Aug 5 2016, 08:07:14)
[GCC 6.1.1 20160724] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import popcon
>>> popcon.package("foo")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/popcon.py", line 145, in package
raw = package_raw(*packages)
File "/usr/lib/python3/dist-packages/popcon.py", line 189, in package_raw
data = _fetch()
File "/usr/lib/python3/dist-packages/popcon.py", line 108, in _fetch
txt = _decompress(txt)
File "/usr/lib/python3/dist-packages/popcon.py", line 134, in _decompress
data = data.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 3574857:
invalid start byte
You can see this happening here:
https://jenkins.debian.net/view/reproducible/view/problems/job/reproducible_html_notes/
It also may also affect other packages:
https://codesearch.debian.net/search?q=all-popcon-results.txt.gz&perpkg=1
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- End Message ---
--- Begin Message ---
On Mon, Aug 08, 2016 at 11:34:43AM +0200, Chris Lamb wrote:
> > Please reassign to python-popcon.
>
> Well, there are perhaps two bugs here, so simply reassigning won't be
> sufficient:
>
> Firstly, all-popcon-results.txt.gz contains invalid data. I agree that
> the client should not be removed from testing but I could not find a
> suitable pseudo-package for the popcon "web" service.
You could report the issue on the popcon-developers list.
It is not invalid data, the server reports what was submitted.
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 3574857:
> invalid start byte
The issue is that python-popcon assumes that the file is in UTF-8 while
it is actually in raw 8-bit.
There are normally no valid multibyte UTF8 sequence in this file, so it
is pointless to handle it as UTF-8 anyway.
I close this bug. Feel free to discuss this on the popcon-developers list.
Cheers,
--
Bill. <[email protected]>
Imagine a large red swirl here.
--- End Message ---