Skip Menu |
 

This queue is for tickets about the HTML-Mason CPAN distribution.

Report information
The Basics
Id: 57038
Status: stalled
Priority: 0/
Queue: HTML-Mason

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

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



Subject: Win32 incomparibility - getpwuid(), getgrgid()
Hi,

I have experienced the following error with Catalyst-View-Manson 0.18 (HTML-Mason 1.45) on Win32 Strawberry Perl 5.12.0

Show quoted text
#   Failed test 'array root as comp_root doesn't get stringified'
#   at t/comp_root_ref.t line 40.
# died: The getpwuid function is unimplemented at D:/strawberry32/perl/site/lib/HTML/Mason/Interp.pm line 303.
# Looks like you failed 1 test of 5.
t/comp_root_ref.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests

and it leeds me to HTML::Mason

Would it be possible to change "sub _make_data_subdir" in lib/HTML/Mason/Interp.pm to skip getpwuid() + getgrgid() when on MS Windows platform? If I understand the code the values (user + group) are used just in error message.

Thanks

--
kmx
Download (untitled) / with headers
text/plain 960b
On Thu Apr 29 08:41:41 2010, KMX wrote: Show quoted text
> Hi, > > I have experienced the following error with Catalyst-View-Manson 0.18 > (HTML-Mason 1.45) on Win32 Strawberry Perl 5.12.0 > > # Failed test 'array root as comp_root doesn't get stringified' > # at t/comp_root_ref.t line 40. > # died: The getpwuid function is unimplemented at > D:/strawberry32/perl/site/lib/HTML/Mason/Interp.pm line 303. > # Looks like you failed 1 test of 5. > t/comp_root_ref.t ..... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/5 subtests > > and it leeds me to HTML::Mason > > Would it be possible to change "sub _make_data_subdir" in > lib/HTML/Mason/Interp.pm to skip getpwuid() + getgrgid() when on MS > Windows > platform? If I understand the code the values (user + group) are used > just in > error message.
Patches with a test would be welcome, but I find it hard to believe that this bug has existed for so long and no one else has had a problem with it. Weird.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.