id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1088,Silent test failures in 0.76,szabgab,,"I am trying to upgrade a working Padre 0.72 installation on a SuSE system
and I got a silent test failure:

{{{
~/Padre-0.76> prove -Ilib -v t/01-load.t
t/01-load.t ..
1..44
ok 1 - use Wx;
# Tests find Wx: 0.98 wxWidgets 2.8.10
ok 2 - use t::lib::Padre;
ok 3 - use Padre::Util;
ok 4 - use Padre::Config;
ok 5 - use Padre::DB;
ok 6 - use Padre::Project;
ok 7 - use Padre::Wx;
ok 8 - use Padre::Wx::HtmlWindow;
ok 9 - use Padre::Wx::Printout;
ok 10 - use Padre::Wx::Dialog::PluginManager;
ok 11 - use Padre::Wx::Dialog::Preferences;
ok 12 - use Padre::Wx::History::TextEntryDialog;
ok 13 - use Padre::Wx::History::ComboBox;
ok 14 - use Padre;
ok 15 - use Padre::Pod2HTML;
ok 16 - use Padre::Plugin::Devel;
ok 17 - use Padre::Plugin::My;
ok 18 - use Padre::Task;
ok 19 - use Padre::TaskThread;
ok 20 - use Padre::TaskHandle;
ok 21 - use Padre::TaskManager;
ok 22 - use Padre::TaskProcess;
ok 23 - use Padre::TaskWorker;
ok 24 - use Padre::Role::Task;
Failed 20/44 subtests

Test Summary Report
-------------------
t/01-load.t (Wstat: 11 Tests: 24 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 44 tests but ran 24.
Files=1, Tests=24,  3 wallclock secs ( 0.06 usr  0.02 sys +  1.43 cusr  0.16 csys =  1.67 CPU)
Result: FAIL
}}}

BTW perl -v tells me:

This is perl, v5.10.0 built for x86_64-linux-thread-multi

After some investigation I found out that the silent crash was caused by the 

use Wx::RichText;

statement in the following files:

{{{
lib/Padre/Wx/Output.pm
lib/Padre/Wx/Dialog/RegexEditor.pm
}}}

I can see the same code in the already installed Padre but I am not sure if back when
I installed that version if I force installed it or if that worked correctly.

In any case now I commented out the ""use Wx::RichText;"" statements and
installed Padre.

Padre works but when I try to open the RegexEditor (where I removed the use statement) it crashes Padre:

{{{
Error while autoloading 'Wx::wxRE_MULTILINE' at /home/gabor/perl5/lib/perl5/Padre/Wx/Dialog/RegexEditor.pm line 145
}}}

If I run a script (with the external output window NOT set) Padre crashes with this: 

{{{
Type not translated: Attributes
Can't locate package Wx::RichTextCtrl for @Padre::Wx::Output::SUPER::ISA at /home/gabor/perl5/lib/perl5/Padre/Wx/Output.pm line 39.
Can't locate package Wx::RichTextCtrl for @Padre::Wx::Output::SUPER::ISA at /home/gabor/perl5/lib/perl5/Padre/Wx/Output.pm line 39.
Can't locate object method ""new"" via package ""Padre::Wx::Output"" at /home/gabor/perl5/lib/perl5/Padre/Wx/Output.pm line 39.
}}}

",defect,closed,critical,,editor,0.76,not a bug,,
