KernelCheck cannot download information

Bug #555979 reported by Master Kernel on 2010-04-05
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

Testing your network connection...
Connection found.
have not read
read feed
Traceback (most recent call last):
  File "/usr/share/kernelcheck/scripts/", line 502, in get_data
    patch_url, patch, stable, stable_url, OldKernelList, OldKernelLinks, prepatch, prepatch_url = self.kernelinfo()
  File "/usr/share/kernelcheck/scripts/", line 126, in kernelinfo
  File "/usr/lib/python2.6/", line 112, in close
  File "/usr/lib/python2.6/", line 164, in goahead
    self.error("EOF in middle of construct")
  File "/usr/lib/python2.6/", 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 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:

.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