Opened 9 years ago

Last modified 7 years ago

#1309 assigned defect

Padre::Plugin::Catalyst Crash after pressing "New Catalyst Application"

Reported by: Jaz Owned by: garu, azawawi
Priority: major Milestone:
Component: plugins Version: 0.90
Keywords: catalyst Cc:


perl -v = v5.10.1
Wx Version=(0.9901) wxWidgets 2.8.11 unicode=(1)
OS: Ubuntu 11.04 64bit in VirtualBox?

jaz@dev:~$ sudo -i
root@dev:~$ cpan Catalyst::Runtime Catalyst::Devel
root@dev:~$ sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev libwxbase2.8-dev libwxbase2.8-0
root@dev:~$ cpan Alien::wxWidgets
root@dev:~$ cpan Wx
root@dev:~$ cpan Padre
root@dev:~$ cpan Padre::Wx::Dialog
root@dev:~$ cpan Padre::Plugin::Catalyst
root@dev:~$ su jaz
jaz@dev:~$ padre
enable Catalyst plugin in plug-in manager
press Tools -> Catalyst -> New Catalyst Application
padre closes with:

Can't locate object method "module_start_directory" via package "Padre::Config" at /usr/local/share/perl/5.10.1/Padre/Plugin/Catalyst/ line 78.
Perl exited with active threads:

2 running and unjoined
0 finished and unjoined
0 running and detached

I had to install Padre::Wx::Dialog because cpan would refuse to install Padre::Plugin::Catalyst without it.

Change History (2)

comment:1 Changed 9 years ago by bowtie

  • Owner set to garu, azawawi
  • Status changed from new to assigned
  • Summary changed from Crash after pressing "New Catalyst Application" to Padre::Plugin::Catalyst Crash after pressing "New Catalyst Application"

tweak, Padre::Wx::Dialog is now deperacted

comment:2 in reply to: ↑ description Changed 7 years ago by fcustodio

I had the same problem. It seems that Padre::Plugin::Catalyst::NewApp? is referring to a preference value "module_start_directory" which is not found. I managed to circumvent this issue by changing line 78 of /opt/local/lib/perl5/site_perl/5.16.1/Padre/Plugin/Catalyst/ from:

$dialog->{_widgets_}->{_directory_}->SetPath?( $config->module_start_directory );


$dialog->{_widgets_}->{_directory_}->SetPath?( $config->default_projects_directory );

Note: See TracTickets for help on using tickets.