KernelCheck cannot download information

Reported by Master Kernel on 2010-04-05
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KernelCheck
Critical
Unassigned

Bug Description

Testing your network connection...
Connection found.
have not read
read feed
Traceback (most recent call last):
  File "/usr/share/kernelcheck/scripts/main.py", line 502, in get_data
    patch_url, patch, stable, stable_url, OldKernelList, OldKernelLinks, prepatch, prepatch_url = self.kernelinfo()
  File "/usr/share/kernelcheck/scripts/main.py", line 126, in kernelinfo
    KPParser.close()
  File "/usr/lib/python2.6/HTMLParser.py", line 112, in close
    self.goahead(1)
  File "/usr/lib/python2.6/HTMLParser.py", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: EOF in middle of construct, at line 7, column 11

Master Kernel (master-kernel) wrote :

Apparently http://www.kernel.org/kdist/version.html is not valid HTML, so HTMLParser has problems with it.

According to the W3C Validator, the page has 54 Errors and 3 warnings.

So hopefully I can use the KernelPageParser code from the experimental branch to fix this. The new code is by no means fast or efficient, but it achieves its purpose.

Master Kernel (master-kernel) wrote :

The version in trunk is now fixed.
If anyone is willing to make a new deb package, feel free to do so but make sure to update the revision number to 1.2.5-4.

Changed in kernelcheck:
status: Confirmed → Fix Committed
Alin Andrei (nilarimogard) wrote :

I've created a .deb file for my blog: http://www.webupd8.org/2010/04/kernelcheck-fixed-deb-download-ubuntu.html

.deb file attached here.

Thanks Alin Andrei, works well in Debian 6.0 Testing

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers