Skip Menu |
 

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

Report information
The Basics
Id: 35087
Status: new
Priority: 0/
Queue: Alzabo-GUI-Mason

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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

Attachments


Subject: Infinite Loop when Mason Missing
Download (untitled) / with headers
text/plain 631b
Dear Dave Rolsky, Hi. This is imacat from Taiwan. I found that the Build.PL in your Alzabo-GUI-Mason-0.1201 goes into infinite loop if nothing is read from keyboard. I would suggest you to exit() with 0 from the Build.PL if the required Mason directory fails, as suggested by this article: <<Notes For CPAN Authors> "How can I stop getting FAIL reports for missing libraries or other non-Perl dependencies?" http://cpantest.grango.org/wiki/CPANAuthorNotes I made a simple patch to Alzabo-GUI-Mason-0.1201, in the hope that it helps. Please tell me if you have any question, or if I could be of any help. Thank you.
Subject: Alzabo-GUI-Mason-0.1201-noloop.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r Alzabo-GUI-Mason-0.1201.orig/Build.PL Alzabo-GUI-Mason-0.1201/Build.PL - --- Alzabo-GUI-Mason-0.1201.orig/Build.PL 2007-09-09 00:21:26.000000000 +0800 +++ Alzabo-GUI-Mason-0.1201/Build.PL 2008-04-16 03:23:05.000000000 +0800 @@ -64,6 +64,10 @@ $config->{mason_web_dir} = Module::Build->prompt( ' Mason directory?', $default || '' ); + if (!$config->{mason_web_dir}) { + print "Cannot continue without Mason directory.\n"; + exit 0; + } } while ( ! -d $config->{mason_web_dir} ); $config->{mason_web_dir} = File::Spec->catdir( $config->{mason_web_dir}, 'alzabo' ); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkgFANgACgkQi9gubzC5S1yELQCeMMf9dbOcqXpeFx5doq2SpIsS OpoAn1RXuIvesK6vlwd69hq5rLluKzvp =zA/D -----END PGP SIGNATURE-----


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.