Skip Menu |

This queue is for tickets about the CPANPLUS-YACSmoke CPAN distribution.

Report information
The Basics
Id: 68751
Status: resolved
Worked: 30 min
Priority: 0/
Queue: CPANPLUS-YACSmoke

People
Owner: BINGOS [...] cpan.org
Requestors: tour [...] jeroen.la
Cc:
AdminCc:

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



Subject: yactool --test fails to retrieve RECENT uploads on Win32
On two separate Win32 machines (both Strawberry perl), I found that yactool --test fails with the following error: Hostname required when fetching from 'http' at D:/strawberry/perl/site/lib/CPANPLUS/YACSmoke.pm line 370 Can't call method "fetch" on an undefined value at D:/strawberry/perl/site/lib/CPANPLUS/YACSmoke.pm line 371. The problem seems to be in how the URL for the RECENT file is created, on lines 366..368 of YACSmoke.pm. The resulting URL is: http://cpan.strawberryperl.com\RECENT This seems to be caused by the 'catdir' call translating the path to use windows directory separators. Simply concatenating the server+path+file resolves the problem. my $remote = $hosts->[$h_ind]->{scheme} . '://' . $hosts->[$h_ind]->{host} . $hosts->[$h_ind]->{path} . RECENT_FILE; My environment: Distribution = CPANPLUS-YACSmoke-0.62 Perl version = 5.12.3 on MSWin32-x64-multi-thread and MSWin32-x86-multi- thread OS: Windows 7 SP1 64-bit, Windows XP 32-bit (I'd have to check the SP level, if that's important)
According to my records this issue was resolved with the release of version 0.64 ============================== 2011-06-23 20:00:40 +0100 0.64 ============================== commit 5e33df95c1ef4e20744238e60da9d3f8b6987f15 Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk> Date: Thu Jun 23 20:00:40 2011 +0100 Resolve [RT # 68751] by adopting URI construction from CPANPLUS Update dependencies as well. Many thanks.