Opened 11 years ago

Closed 11 years ago

#78 closed defect (worksforme)

No Perl Tidy menu

Reported by: zika01 Owned by:
Priority: major Milestone:
Component: editor Version:
Keywords: Cc:


After installation of Padre-Plugin-PerlTidy?-0.01, there is no 'Perl Tidy' or Plugin menu (Padre version 0.12)

Change History (3)

comment:1 Changed 11 years ago by bricas

What operating system?

What menus do you see?

For reference, I have: File, Edit, View, Perl, Plugins, Window and Help. Under Plugins have a PerlTidy? menu as well.

comment:2 Changed 11 years ago by zika01

I am using Fedora9 with: Padre 0.12

perl v5.10.0 built for i386-linux-thread-multi,
wxGTK 2.8.7-2,
kernel ,

After installation of Padre and Padre-Plugin-PerlTidy?:

ls /usr/local/lib/perl5/site_perl/5.10.0/Padre Document Plugin Pod Wx PluginManager?.pm

ls /usr/local/lib/perl5/site_perl/5.10.0/Padre/Plugin


which padre


If I start padre, I can see following menus:

File, Edit,View,Perl,Windows,Help

comment:3 Changed 11 years ago by zika01

  • Resolution set to worksforme
  • Status changed from new to closed

Quick solution was to comment line:

delete $plugins->{$file};

in function _load_plugin() of PluginManager?.pm.

First time this function is called for the module (value of $file), it loads the module and ads new element in hash %plugins. But, if it is called again for the same module, it deletes entry from %plugins.

The fact is that the function is called more then ones, and information about plugins is deleted.

Note: See TracTickets for help on using tickets.