Failed Autoload TK::DirTree 
Author Message
 Failed Autoload TK::DirTree

Hi-

I have a Perl Tk script that worked fine until I reistalled my OS
(Win2k). Now when I run my script and push a button that is linked to a
DirTree widget I get this message:

Tk::Error: Failed to AUTOLOAD 'Tk::DirTree::global' at
C:/Perl/site/lib/Tk/Derived.pm line 467
 Carp::croak at C:/Perl/lib/Carp.pm line 119
 Tk::Widget::__ANON__ at C:/Perl/site/lib/Tk/Widget.pm line 338
 Tk::Derived::Delegate at C:/Perl/site/lib/Tk/Derived.pm line 467
 Tk::Widget::__ANON__ at C:/Perl/site/lib/Tk/Widget.pm line 313
 main::fileDialog2 at U:\Public\recursiveDir2.pl line 238
 main::__ANON__ at U:\Public\recursiveDir2.pl line 63
 [\&main::__ANON__]
 Tk callback for .frame.button1
 Tk::__ANON__ at C:/Perl/site/lib/Tk.pm line 217
 Tk::Button::butUp at C:/Perl/site/lib/Tk/Button.pm line 111
 (command bound to event)

Any Ideas?

Thanks in advance,
Dan

Sent via Deja.com
http://www.*-*-*.com/



Mon, 07 Jul 2003 05:05:09 GMT  
 Failed Autoload TK::DirTree
It could be that the OS overwrote your environment variables.  I believe
that Perl uses environment variables to locate libraries.

Brady...

Quote:

> Hi-

> I have a Perl Tk script that worked fine until I reistalled my OS
> (Win2k). Now when I run my script and push a button that is linked to a
> DirTree widget I get this message:

> Tk::Error: Failed to AUTOLOAD 'Tk::DirTree::global' at
> C:/Perl/site/lib/Tk/Derived.pm line 467
>  Carp::croak at C:/Perl/lib/Carp.pm line 119
>  Tk::Widget::__ANON__ at C:/Perl/site/lib/Tk/Widget.pm line 338
>  Tk::Derived::Delegate at C:/Perl/site/lib/Tk/Derived.pm line 467
>  Tk::Widget::__ANON__ at C:/Perl/site/lib/Tk/Widget.pm line 313
>  main::fileDialog2 at U:\Public\recursiveDir2.pl line 238
>  main::__ANON__ at U:\Public\recursiveDir2.pl line 63
>  [\&main::__ANON__]
>  Tk callback for .frame.button1
>  Tk::__ANON__ at C:/Perl/site/lib/Tk.pm line 217
>  Tk::Button::butUp at C:/Perl/site/lib/Tk/Button.pm line 111
>  (command bound to event)

> Any Ideas?

> Thanks in advance,
> Dan

> Sent via Deja.com
> http://www.deja.com/



Wed, 09 Jul 2003 10:53:22 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Autoload failed: Tk::Widget::yview

2. Tk::Dirtree/Tk::Dirlist

3. Help needed on Tk::Dirtree or Tk::Dirlist

4. Tk::DirTree->see($entryPath) problem

5. Tk::DirTree

6. Bug in ActivePerl Tk::DirTree

7. Tk::Dirtree examples

8. Tk::DirTree

9. tk:dirtree

10. Tk::DirTree->see($entryPath) problem

11. Tk::DirTree

12. newbie Tk::Error: Failed to AUTOLOAD 'Tk::Widget::TopLevel'

 

 
Powered by phpBB® Forum Software