Skip Menu |

This queue is for tickets about the Alien-wxWidgets CPAN distribution.

Report information
The Basics
Id: 55009
Status: resolved
Priority: 0/
Queue: Alien-wxWidgets

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

Bug Information
Severity: Critical
Broken in: 0.50
Fixed in: (no value)



Subject: Download error 500 with proxy -> upgrade embedded File::Fetch
I have an HTTP status code 500 when trying to install Alien-WxWidgets. Alien-WxWidgets has an old version (0.10) of File::Fetch embedded in the distribution. The latest version of File::Fetch is 0.24. I am behind a proxy, but I don'think it is relevant. Platform: Win32. When I try to manually download the file with File::Fetch 0.24, it works (File::Fetch uses wget.exe I have), but with 0.10 it fails: C:\>perl -MFile::Fetch -e "File::Fetch->new(uri => 'http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.10.tar.gz')->fetch" Fetch failed! HTTP response: 500 Internal Server Error [500 read timeout] at -e line 1 Also, as File::Fetch is embedded in the distribution a more up to date File::Fetch installed on the system is not used. -- Olivier Mengué - http://o.mengue.free.fr/
Note that the HTTP response from sourceforge contains a redirect and that is probably what the File::Fetch 0.10 can't handle. ---------------------------------------------------- HTTP/1.1 302 Found X-Powered-By: PHP/5.2.9 Content-Disposition: attachment; filename="wxWidgets-2.8.10.tar.gz" Location: http://switch.dl.sourceforge.net/project/wxwindows/wxAll/2.8.10/wxWidgets-2.8.10.tar.gz Content-type: text/html Date: Fri, 26 Feb 2010 10:10:43 GMT Server: lighttpd/1.4.19 Content-Length: 0 Proxy-Connection: Keep-Alive Connection: Keep-Alive Age: 0 ----------------------------------------------------
Subject: Re: [rt.cpan.org #55009] Download error 500 with proxy -> upgrade embedded File::Fetch
Date: Fri, 26 Feb 2010 17:23:41 +0100
To: bug-Alien-wxWidgets [...] rt.cpan.org
From: Mattia Barbon <mattia.barbon [...] libero.it>
Olivier 'dolmen' Mengué via RT wrote: Hi, Show quoted text
> I have an HTTP status code 500 when trying to install Alien-WxWidgets. > > Alien-WxWidgets has an old version (0.10) of File::Fetch embedded in the > distribution. The latest version of File::Fetch is 0.24. > > I am behind a proxy, but I don'think it is relevant. Platform: Win32. > > When I try to manually download the file with File::Fetch 0.24, it works > (File::Fetch uses wget.exe I have), but with 0.10 it fails:
I will update the bundled dependencies in the next release. Show quoted text
> C:\>perl -MFile::Fetch -e "File::Fetch->new(uri => > 'http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.10.tar.gz')->fetch" > Fetch failed! HTTP response: 500 Internal Server Error [500 read > timeout] at -e > line 1 > > > Also, as File::Fetch is embedded in the distribution a more up to date > File::Fetch installed on the system is not used.
A::wx 0.50_01 (just uploaded to CPAN) uses inc::latest to avoid this problem; could you try if it works for you? Thanks! Mattia
From version 0.51, it should use the system version of the various modules bundled in inc, if the system version is newer. Regards, Mattia