This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12571 - Warnings generated by checklink
Summary: Warnings generated by checklink
Status: RESOLVED FIXED
Alias: None
Product: LinkChecker
Classification: Unclassified
Component: checklink (show other bugs)
Version: 4.8
Hardware: PC Linux
: P2 normal
Target Milestone: 4.81
Assignee: Ville Skyttä
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 15:58 UTC by Richard Kimber
Modified: 2011-05-14 09:57 UTC (History)
0 users

See Also:


Attachments

Description Richard Kimber 2011-04-29 15:58:21 UTC
Checking the page
http://www.politicsresources.net/sseal/anarchy.htm
gives:-
Use of uninitialized value $hostport in hash element at /usr/local/bin/checklink line 1244.
(the above 4 times)
Parsing of undecoded UTF-32 at /usr/share/perl5/LWP/UserAgent.pm line 600.

http://www.politicsresources.net/sseal/liberal.htm
also generates the Use of uninitialized value $hostport message (three times)
Comment 1 Ville Skyttä 2011-04-29 20:11:06 UTC
The "uninitialized $hostport" warning is now fixed in hg - it was generated for all news: URIs: http://dvcs.w3.org/hg/link-checker/rev/81914ff50f48

The "undecoded UTF-32" warning occurs when libwww-perl tries to parse http://dwardmac.pitzer.edu/robots.txt (which results in a 404 error page) while checking the link http://dwardmac.pitzer.edu/dward/classes/Anarchy/anarchyinternet.html - the server's 404 error page contains some junk at the beginning which is what causes this warning.  There's no good way to avoid this in the link checker, but I'll report the issue to libwww-perl.
Comment 2 Richard Kimber 2011-05-13 14:25:04 UTC
I also get:-

Use of uninitialized value in numeric eq (==) at /usr/local/bin/checklink line 1320.

from:-
http://www.politicsresources.net/area/uk/ge10/igroups.htm
http://www.politicsresources.net/area/uk/ge10/man10.htm
Comment 3 Ville Skyttä 2011-05-14 09:57:54 UTC
Fixed in hg: http://dvcs.w3.org/hg/link-checker/rev/2c8c10e21cf0

The "undecoded UTF-32" warning has been fixed in libwww-perl's development repository and the fix will probably be included in libwww-perl 6.03 when released.

If you find other warnings than these, please file new bug reports (one per warning type).