Skip Menu |

This queue is for tickets about the IO-Pager CPAN distribution.

Report information
The Basics
Id: 75181
Status: resolved
Priority: 0/
Queue: IO-Pager

People
Owner: Nobody in particular
Requestors: belg4mit [...] pthbb.org
Cc: MITHALDU [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.24
  • 0.20
Fixed in: 0.30



Subject: CPAN Testers Daily Summary Report
Date: Tue, 21 Feb 2012 02:26:23 +0000
To: "Jerrad Pierce" <JPIERCE [...] cpan.org>
From: CPAN Tester Report Server <do_not_reply [...] cpantesters.org>
Dear Jerrad Pierce, Please find below the latest reports for your distributions, generated by CPAN Testers, from the last 24 hours. To set your preferences for what you wish to have reported in this Daily Summary, please visit the CPAN Testers Preferences system at https://prefs.cpantesters.org. IO-Pager-0.24: - MSWin32-x86-multi-thread / 5.14.2: - FAIL http://www.cpantesters.org/cpan/report/22267070-5b20-11e1-905e-bef26d82c184 - i686-cygwin-thread-multi-64int / 5.10.1: - FAIL http://www.cpantesters.org/cpan/report/24a6673a-5b1e-11e1-905e-bef26d82c184 If you have an issue with a particular report, or wish to gain further information from the tester, please use the 'Find A Tester' tool at http://stats.cpantesters.org/cpanmail.html, using the ID or GUID of the report, as listed above, to locate the correct email address. If you wish to unsubscribe from these notifications, please login to the CPAN Testers Preferences system, with your PAUSE credentials, and disable CPAN Testers notifications permanently or temporarily. If you have problems with accessing the site, please contact Barbie <barbie@cpan.org> and request to be removed from the automatic mailings. Thanks, The CPAN Testers -- Reports: http://www.cpantesters.org Statistics: http://stats.cpantesters.org Wiki: http://wiki.cpantesters.org Preferences: https://prefs.cpantesters.org
$^O requirement? Some other fix?
These issues are integral to Windows. The software probably works right, but you're using it in very unexpected ways. The first failure i analyzed was 09-open: It fails the test that tries to open a process that pipes to devnull. This generates an error on linux because the lack of permission to pipe to devnull prevents the process from being created. On Windows it generates an error too, however that error comes from inside the child process itself and triggers when the child tries to write. As such the child process is created and IO::Pager does not recognize the error. Additionally: The error triggered on Windows is not a simple command line exception, but actually a popup window from the network security subsystem which forbids access to NUL. So my suggestion would be: Either skip this test or try to pipe out to something else, like a non-existing program, and use Capture::Tiny to grab any output to STDERR. Meanwhile 08-redirect has two issues, the quotes are different on windows, and file locks are very exclusive on windows. Both of these are fixed in this paste of the test script: https:// gist.github.com/68196767a3bc3c3e02a1 If you provide me with a repo link (preferrably github) i'll happily give you patches.
Subject: Re: [rt.cpan.org #75181] Cross-platform (windows) suckitude
Date: Wed, 25 Jul 2012 15:57:25 -0400
To: bug-IO-Pager [...] rt.cpan.org
From: Jerrad Pierce <belg4mit [...] pthbb.org>
I am working on another update, and will look into incorporating this. Thanks!
Awesome! :) When you have a release ready, send me a mail, or poke me on IRC and i'll get you quick feedback on how well it works on windows now. :)
I look forward to seeing the fix, as I think this is the only module whose failure would prevent Sqitch from making it into the ActiveState PPM repository (once I have my own bugs fixed, that is). Are we likely to see fixes soon? Reference: http://www.cpantesters.org/distro/I/IO-Pager.html#IO-Pager-0.24 Thanks, David
Adapted suggested fix for #8(&11), skip #9 on windows Note that Windows is a pain for file-based work, and the fix for the non-skipped tests is considered an unsafe hack... support for this may be dropped later or need to be reworked. Please test https://github.com/fangly/io-pager/commit/dc956bc4c736c3da3b69df691aafd9ae8d51c880
v0.30 has been tested on Win32/cygwin (at least the automated tests were, I forgot to check the interactive ones while I was booted into Windows) and is on its way to CPAN mirrors now