tags 787270 pending thanks
This is fixed by commit 357da76d16ccd88475be967685b26b4c0e8e1a46 [1]. I added some URL-fixing logic to cope with trailing characters, which are not part of the actual URL. This also adds 2 new command line parameters: --disable-urlfix and --enable-urlfix Bye, Simon [1] http://anonscm.debian.org/cgit/collab-maint/duck.git/commit/?h=v0.8&id=357da76d16ccd88475be967685b26b4c0e8e1a46 Am 2015-05-30 um 20:26 schrieb Axel Beckert: > Package: duck > Version: 0.7 > Severity: normal > > Dear Simon, > > I've got another case where duck reports issues while I can't reproduce > them, even not with setting the user agent to 'User-Agent: Mozilla/5.0 > (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 > Iceweasel/10.0.4': > > The affected package is libgraph-easy-perl: > > duck 0.8 from git: > > → ~/debian/duck/duck > E: debian/copyright:15: URL: http://colorbrewer.org/).: ERROR > (Certainty:possible) > Curl:0 HTTP:404 No error > > E: debian/copyright:31: URL: http://colorbrewer.org/).: ERROR > (Certainty:possible) > Curl:0 HTTP:404 No error > > ~/debian/duck/duck: command not found > → > > duck 0.7 from Debian unstable: > > → duck > E: debian/copyright:15: URL: http://colorbrewer.org/).: ERROR > (Certainty:possible) > Curl:0 HTTP:404 No error > > E: debian/copyright:31: URL: http://colorbrewer.org/).: ERROR > (Certainty:possible) > Curl:0 HTTP:404 No error > → > > curl from unstable: > > → curl http://colorbrewer.org/ > → > > (i.e. returns the empty string) > > → curl --verbose http://colorbrewer.org/ > * Trying 184.168.221.1... > * Connected to colorbrewer.org (184.168.221.1) port 80 (#0) >> GET / HTTP/1.1 >> Host: colorbrewer.org >> User-Agent: curl/7.42.1 >> Accept: */* >> > < HTTP/1.1 301 Moved Permanently > < Content-Type: text/html > < Content-Length: 0 > < Connection: keep-alive > < Age: 1 > < Cache-Control: max-age=900 > < Date: Sat, 30 May 2015 18:22:14 GMT > < Location: http://colorbrewer2.org > < Server: Microsoft-IIS/7.5 > < X-AspNet-Version: 4.0.30319 > < X-Powered-By: ASP.NET > < > → > > (i.e. http://colorbrewer.org/ redirects to http://colorbrewer2.org/) > > LWP from unstable, with according user agent header set, suppressing any > downloaded content but showing the headers instead: > > → GET -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) > Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4' -SUsed > http://colorbrewer.org/ > GET http://colorbrewer.org/ > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 > Firefox/10.0.4 Iceweasel/10.0.4 > > 301 Moved Permanently > Cache-Control: max-age=900 > Connection: close > Date: Sat, 30 May 2015 18:18:45 GMT > Age: 0 > Location: http://colorbrewer2.org > Server: Microsoft-IIS/7.5 > Content-Length: 0 > Content-Type: text/html > Client-Date: Sat, 30 May 2015 18:18:46 GMT > Client-Peer: 184.168.221.1:80 > Client-Response-Num: 1 > X-AspNet-Version: 4.0.30319 > X-Powered-By: ASP.NET > > GET http://colorbrewer2.org > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 > Firefox/10.0.4 Iceweasel/10.0.4 > > 200 OK > Connection: close > Date: Sat, 30 May 2015 18:18:46 GMT > Accept-Ranges: bytes > Server: Apache/2.2 > Content-Length: 7940 > Content-Type: text/html; charset=UTF-8 > Last-Modified: Fri, 27 Jun 2014 18:29:51 GMT > Client-Date: Sat, 30 May 2015 18:18:46 GMT > Client-Peer: 98.129.229.186:80 > Client-Response-Num: 1 > Link: <http://fonts.googleapis.com/css?family=Droid+Sans:400,700>; > rel="stylesheet"; type="text/css" > Link: <style.css>; rel="stylesheet"; type="text/css" > Link: <lib/spectrum.css>; rel="stylesheet"; type="text/css" > Set-Cookie: X-Mapping-mlknngpl=ED0A5475E0FC167A4904210A4498959E; path=/ > Title: ColorBrewer: Color Advice for Maps > > → > > But also if I change http://colorbrewer.org/ to http://colorbrewer2.org/ > in debian/copyright, I still get the 404: > > → ~/debian/duck/duck > E: debian/copyright:15: URL: http://colorbrewer2.org/).: ERROR > (Certainty:possible) > Curl:0 HTTP:404 No error > > E: debian/copyright:31: URL: http://colorbrewer2.org/).: ERROR > (Certainty:possible) > Curl:0 HTTP:404 No error > > ~/debian/duck/duck: command not found > → > > Conkeror (based on Iceweasel) shows the page properly, too. > > So I have currently no idea what actually causes duck to report a 404 > here. > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (990, 'unstable'), (600, 'testing'), (111, 'buildd-unstable'), > (111, 'buildd-experimental'), (110, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores) > Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages duck depends on: > ii libconfig-inifiles-perl 2.83-3 > ii libfile-which-perl 1.18-1 > ii libmailtools-perl 2.13-1 > ii libnet-dns-perl 0.81-2 > ii libparse-debcontrol-perl 2.005-4 > ii libpath-class-perl 0.35-1 > ii libregexp-common-email-address-perl 1.01-4 > ii libregexp-common-perl 2013031301-1 > ii libstring-similarity-perl 1.04-1+b2 > ii libwww-curl-perl 4.17-2 > ii libxml-xpath-perl 1.13-7 > ii libyaml-libyaml-perl 0.41-6 > ii perl 5.20.2-6 > > duck recommends no packages. > > Versions of packages duck suggests: > ii bzr 2.6.0+bzr6602-2 > ii git 1:2.1.4-2.1 > ii mercurial 3.1.2-2 > ii subversion 1.8.13-1 > > -- no debconf information > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org