Ticket #1479 (new defect)

Opened 15 months ago

Last modified 15 months ago

Preferences shortcut

Reported by: peco Owned by:
Priority: major Milestone:
Component: Preference System Version: 0.96
Keywords: Key Bindings Cc:

Description

Hello all

Padre 0.96 from CPAN running on Ubuntu 12.10

I got this fatal error:

Can't call method "shortcut" on an undefined value at /usr/local/share/perl/5.14.2/Padre/Wx/Dialog/Preferences.pm line 402.
Perl exited with active threads:

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

When trying to assign a new Shortcut at Preferences->Key Bindings

Padre::Wx::Dialog::Preferences is up to date (0.96)

Regards,
Peco

Change History

comment:1 Changed 15 months ago by kharec

Hi, please add the following informations:

http://padre.perlide.org/trac/wiki/Tickets

comment:2 Changed 15 months ago by peco

  • perl -v => This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
  • perl WX info => Wx Version=(0.9909) wxWidgets 2.8.12 unicode=(1)

About:

Padre 0.96

Core...

osname linux
archname x86_64-linux-gnu-thread-multi
Distribution Ubuntu 12.10
Kernel 3.5.0-22-generic
Perl 5.14.2
Threads 2
RAM 641.5MB

Wx...

Wx 0.9909
WxWidgets? 2.8.12
unicode 1
Alien::wxWidgets 0.59
Wx::Perl::ProcessStream? 0.32
Wx::Scintilla 0.3801

Other...

PPI 1.215
Debug::Client 0.20
Config /home/peco/.local/share/.padre

comment:3 Changed 15 months ago by peco

  • Keywords Key Bindings added
  • Component changed from not classified yet to Preference System

comment:4 follow-up: ↓ 5 Changed 15 months ago by bowtie

what is the name of the Action and the ShortCut? you tried to add to it?

comment:5 in reply to: ↑ 4 Changed 15 months ago by peco

Replying to bowtie:

what is the name of the Action and the ShortCut? you tried to add to it?

Anyone.

I do:
1) Open padre
2) Click on Tools -> Preferences
3) Click on Key Bindings
4) Click on any Shortcut register
5) The editor crashes with: Can't call method "shortcut" on an undefined value at /usr/local/share/perl/5.14.2/Padre/Wx/Dialog/Preferences.pm line 402.

I cannot find shortcut method on Preferences.pm but CPAN says it's up to date.

cpan> install Padre::Wx::Dialog::Preferences

Database was generated on Fri, 25 Jan 2013 08:29:02 GMT

Padre::Wx::Dialog::Preferences is up to date (0.96).

Thanks

comment:6 Changed 15 months ago by bowtie

Can't locate object method "_selected_action_name" via package
    "Padre::Wx::Dialog::Preferences" at /usr/src/Padre/Padre/lib/Padre/Wx/Dialog/Preferences.pm line 551 (#1)
    (F) You called a method correctly, and it correctly indicated a package
    functioning as a class, but that package doesn't define that particular
    method, nor does any of its base classes.  See perlobj.
    
Uncaught exception from user code:
    Can't locate object method "_selected_action_name" via package "Padre::Wx::Dialog::Preferences" at /usr/src/Padre/Padre/lib/Padre/Wx/Dialog/Preferences.pm line 551.
    Padre::run('Padre=HASH(0xa5e3a30)') called at /usr/src/Padre/Padre/script/padre line 200

_selected_action_name is called from line 551 and 541

if you use the Advanced Button instead this works but might require a restart :)

Note: See TracTickets for help on using tickets.