Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Tcl::pTk right-click macOS

by IB2017 (Pilgrim)
on Jun 02, 2018 at 10:54 UTC ( [id://1215728]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Tcl::pTk right-click macOS
in thread Tcl::pTk right-click macOS

I start to thing it is a bug. If I use <Key-F2> as event, just an example, it works if no text has been previously selected. Otherwise the following error is prompted :

Tcl::pTk::Error: Can't call method "_retListContext" without a package + or object reference at /Users/xxx/perl5/perlbrew/perls/perl-5.24.4/l +ib/site_perl/5.24.4/Tcl/pTk/Widget.pm line 2842. while executing "if {$catchVal != 0} { if { $retVal != "_TK_BREAK_\n" } { # BREAK ret +urns are not errors return..." (command bound to event)

Replies are listed 'Best First'.
Re^4: Tcl::pTk right-click macOS
by chrstphrchvz (Scribe) on Jul 20, 2018 at 02:38 UTC

    This particular error is a bug. It was reported in RT #125460 and was fixed in Tcl::pTk 0.93. It was because of a missing use Text::Tabs; statement in one of its modules, but the error it gave was unusual because rather than an "Undefined subroutine" error, the reliance on AUTOLOAD by Tcl::pTk means it was mistaken for Tcl/Tk functionality, so some other error appears instead.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1215728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found