Eric Promislow (via RT) <perlbug-followup@perl.org> writes: > # New Ticket Created by Eric Promislow > # Please include the string: [perl #41648] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41648 > > > > This is a bug report for perl from ericp@activestate.com, > generated with the help of perlbug 1.35 running under perl v5.8.8. > > > ----------------------------------------------------------------- > [Please enter your report here] > > Something broke between perl 5.6.1 and 5.8 -- I used to be able > to debug this ptk program, but with Perl 5.8.8, if > I run this program with perl -d, the standard command-line debugger: > [...] > > I get this error message: > > error:bad screen distance "" at C:/Perl/lib/Tk/Submethods.pm line 37. > > Tk::Error: Can't set -variable to `SCALAR(0x2ff0348)' for Tk::ProgressBar=HASH(0x3160d48): Bizarre copy of ARRAY in leave at C:/Perl/lib/Tk/Trace.pm line 89. > at C:/Perl/lib/Tk/Derived.pm line 294 > Tk callback for event > Tk callback for . > Tk callback for .progressbar > Tk::Derived::configure at C:/Perl/lib/Tk/Derived.pm line 306 > Tk::Widget::new at C:/Perl/lib/Tk/Widget.pm line 205 > Tk::Widget::__ANON__[C:/Perl/lib/Tk/Widget.pm:256] at C:/Perl/lib/Tk/Widget.pm line 256 > at blib\lib\Tk.pm (autosplit into blib\lib\auto\Tk\Error.al) line 493 > Tk::Error('MainWindow=HASH(0x3160fa0)', 'Can\'t set -variable to `SCALAR(0x2ff0348)\' for Tk::Progress...', 'Tk callback for event', 'Tk callback for .' [...] I can reproduce this problem on a Unix system with perl 5.8.8 + Tk 804.027, but not with Tk 804.027_500, so it seems it's solved in the development version of Tk. Anyway it does not seem to be a perl problem, but just a Tk problem. Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de tktimex - time recording tool http://sourceforge.net/projects/ptktools/Thread Previous | Thread Next