Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getOpenFile does not work with multiple files!?

27 views
Skip to first unread message

Oliver 'ojo' Bedford

unread,
Nov 23, 2009, 8:10:19 AM11/23/09
to
I'm trying to get a list of files with

$mw = new MainWindow; # first user interaction...

my $ifiles = $mw->getOpenFile(-multiple => 10);

This does not work.

XS_Tk__Callback_Call error:Failed to AUTOLOAD 'Tk::FBox::_get_select_Path' at ./tkscan2pdf.pl line 1076

Tk::Error: Failed to AUTOLOAD 'Tk::FBox::_get_select_Path' at ./tkscan2pdf.pl line 1076
Carp::croak at /usr/share/perl/5.10/Carp.pm line 44
Tk::Widget::__ANON__ at /usr/lib/perl5/Tk/Widget.pm line 347
Tk::FBox::Done at /usr/lib/perl5/Tk/FBox.pm line 909
Tk::FBox::VerifyFileName at /usr/lib/perl5/Tk/FBox.pm line 678
Tk::FBox::ActivateEnt at /usr/lib/perl5/Tk/FBox.pm line 647
Tk::FBox::OkCmd at /usr/lib/perl5/Tk/FBox.pm line 815
Tk::Widget::Callback at /usr/lib/perl5/Tk/Widget.pm line 1149
Tk::IconList::Invoke at /usr/lib/perl5/Tk/IconList.pm line 475
Tk::IconList::Double1 at /usr/lib/perl5/Tk/IconList.pm line 579
<Double-ButtonRelease-1>
(command bound to event)

What's wrong?

TIA,
Oliver

Oliver 'ojo' Bedford

unread,
Nov 23, 2009, 8:25:29 AM11/23/09
to
Forget my last posting.

This is a bug in the Ubuntu package.
First documented for Ubuntu 8.04, still there with 9.04, besides a
fixed Debian package being available :-(

http://www.mail-archive.com/debian-bu...@lists.debian.org/msg216263.html

Changed the typo in FBox.pm and now everything is working fine.

Oliver

0 new messages