Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 50033
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: rkitover [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.00
Fixed in: (no value)



Subject: ppm broken in strawberry-perl-5.10.1.0-beta-2
C:\Documents and Settings\rkitover.PENTIUM>ppm PPM interactive shell (0.01_01) - type 'help' for available commands. Show quoted text
PPM> install Wx
Install package 'Wx?' (y/N): y Installing package 'Wx'... Can't locate object method "rvalidate" via package "PPM::XML::PPD::html" at C:/strawberry/perl/site/lib/PPM.pm line 1687, <> line 2. -- Rafael
RT-Send-CC: r.kobes [...] uwinnipeg.ca
On Fri Sep 25 22:35:16 2009, RKITOVER wrote: Show quoted text
> C:\Documents and Settings\rkitover.PENTIUM>ppm > PPM interactive shell (0.01_01) - type 'help' for available commands.
> PPM> install Wx
> Install package 'Wx?' (y/N): y > Installing package 'Wx'... > Can't locate object method "rvalidate" via package "PPM::XML::PPD::html" > at C:/strawberry/perl/site/lib/PPM.pm line 1687, <> line 2.
http://cpan.uwinnipeg.ca/PPMPackages/10xx/Wx.ppd is returning an HTML-ized "file not found" message with a 200 OK code, instead of a 404 code, like http expects. I can't do very much about that, because I don't run cpan.uwinnipeg.ca. (I'm cc-ing the person that does.) Apparently PPM assumes that the repositories are sanely configured - and maybe I can add some bulletproofing. Easy workaround: remove said repository from list. Bad webmaster. No biscuit! :)
Attaching output from LiveHTTPHeaders confirming this.
http://cpan.uwinnipeg.ca/PPMPackages/10xx/Wx.ppd GET /PPMPackages/10xx/Wx.ppd HTTP/1.1 Host: cpan.uwinnipeg.ca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive HTTP/1.x 200 OK Date: Mon, 28 Sep 2009 04:22:57 GMT Server: Apache/2.2.8 (Unix) mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Vary: accept-language,accept-charset Accept-Ranges: bytes Content-Type: text/html; charset=iso-8859-1 Content-Language: en Via: 1.1 cpan.uwinnipeg.ca Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked ----------------------------------------------------------