Skip Menu |

This queue is for tickets about the Tk-Wizard CPAN distribution.

Report information
The Basics
Id: 29356
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Tk-Wizard

People
Owner: MTHURN [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Bad option `-directory'
This was encountered with 0.213 and bleadperl. The Tk is from the SVN repository. make[1]: Entering directory `/home/k/.cpan/build/Tk-Wizard-2.113-BKFTC0' PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/05_Wizard.........ok 2/10XS_Tk__Callback_Call error:Bad option `-directory' at /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/lib/site_perl/5.10.0/i686-linux-64int/Tk/Widget.pm line 205. at /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/lib/site_perl/5.10.0/i686-linux-64int/Tk/After.pm line 89 Tk::Error: Bad option `-directory' at /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/lib/site_perl/5.10.0/i686-linux-64int/Tk/Widget.pm line 205. at /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/lib/site_perl/5.10.0/i686-linux-64int/Tk/After.pm line 89 Tk callback for .tester.frame4 Tk callback for .tester.frame4.frame Tk callback for .tester.frame4.frame.frame Tk callback for .tester.frame4.frame.frame1 Tk callback for .tester.frame4.frame.frame1.frame Tk callback for .tester.frame4.frame1 Tk callback for .tester.frame4.frame2 Tk callback for .tester.frame4.frame2.dirtree Tk callback for .tester.frame.button7 Tk::__ANON__ at /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/lib/site_perl/5.10.0/i686-linux-64int/Tk.pm line 250 Tk::Wizard::__ANON__ at /home/k/.cpan/build/Tk-Wizard-2.113-BKFTC0/blib/lib/Tk/Wizard.pm line 1165 Tk::After::once at /home/src/perl/repoperls/installed-perls/perl/pSYX0BQ/perl-5.8.0@31843/lib/site_perl/5.10.0/i686-linux-64int/Tk/After.pm line 89 [once,[{},after#10,444,once,[\&Tk::Wizard::__ANON__]]] ("after" script) After that the script was hanging around. I have DISPLAY set to an invisible display running in Xvfb. Let me know if I can provide further infos.
I ran the test with the visible display and clicked many times on cancel buttons and on "Yes" when I was asked if I really wanted that. With this I arrived at the end of the test suite with "all tests passed". The README talks about TEST_INTERACTIVE. This is not set in my environment.
This is caused by a bug in Tk::DirTree (see RT#26238 http://rt.cpan.org/Ticket/Display.html?id=26238). I have identified a workaround and I will implement it ASAP. -- - - Martin 'Kingpin' Thurn
Fixed and uploaded to CPAN as distro 2.114 -- - - Martin 'Kingpin' Thurn