codeacrobat has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

I am running Perl 5.8.8 and Tk 804.027. I try to get ZooZ - the Perl/Tk GUI builder to work. First of all ZooZ.pl doesn't startup unless I add the -nosplash option.

When running perl ZooZ.pl -nosplash I get a fatal error "Can't locate auto/Tk/Frame/header.al in @INC". It is possible to continue loading the gui, however I can not configure widgets.

The error occurs at ZooZ/Forms.pm Line 891.

my $hl = $top->Scrolled(HList => -scrollbars => 'se', -bg => 'white', -header => 1, -columns => 4, )->grid(-row => 1, -column => 0, -rowspan => 2, -sticky => 'nsew', ); $hl->header(create => 0, -relief => 'raised', -text => 'Label'); $hl->header(create => 1, -relief => 'raised', -text => 'Type'); $hl->header(create => 2, -relief => 'raised', -text => 'Accelerator' +); $hl->header(create => 3, -relief => 'raised', -text => 'Command');
$hl is just a Tk::Form, which does not have a header subroutine. I guess it was intended to use Tk::HList::header.

Does anyone know how to make this work?

Replies are listed 'Best First'.
Re: ZooZ Autoloader error
by zentara (Cardinal) on Aug 24, 2007 at 13:09 UTC
    GUI builders cause more trouble than they are worth, why not just do it from scratch? Otherwise, qumsieh may answer you, as he is probably the only one who knows the answer.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
      GUI builder cause trouble only if they're abused
        GUI builder cause trouble only if they're abused ....... or if they give weird errors that no one can track down.

        I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: ZooZ Autoloader error
by wazoox (Prior) on Oct 15, 2007 at 11:47 UTC
    Same here on a freshly installed Slackware 12. I guess it's a compatibility problem with the latest Tk, ZooZ always was quite picky about Tk version.
      I dont know if it helps, but I had the same eror and reinstalled my Autoloader module and ZooZ works fine now.
Re: ZooZ Autoloader error
by Anonymous Monk on Aug 24, 2007 at 14:51 UTC
    for me it hangs after 'Initializing Modules', if i use -nosplash, it just hangs, perl v5.8.7 ActivePerl Build 813, Tk 804.027
      Hi all Zooz users
      I did a little research and found that the last perl
      version working OK with Zooz is v5.8.8 Build 817.
      from the later versions (v5.8.8 Build 822 and forth)
      it hangs after 'Initializing Modules'.

      I did not find the reason and I sent a mail to the writer
      if anyone has further information...

      Moked
      ye same here running on xp64.