Re: "borderwitdh" problem
Steve Lidie <[email protected]> Wed, 4 Apr 2007 13:57:49 -0400
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
On Apr 4, 2007, at 1:47 PM, super.ismiti wrote: > Hi Steve, > > I'm trying to run a tool called ad-hockey. It's a graphic tool to > visualize sceneries of networks simulations. > This tool needs Perl/Tk to work. > Well, I have Perl/Tk804.027 in my computer and Perl 5.8.8. > This tool needs Perl/Tk 800.015 to work. I don't know if a newer > version can be the problem. > But when I put the command to run this tool (./ad-hockey) an error > is showed: > > Tk::Error: Can't set borderwidth to '2' for Tk::Frame=HASH > (0x868778c): unknown option "borderwidth" at /perl/Tk- 804.027_500/ > blib/lib/Tk/Configure.pm line 46. I meant to mention that if the code - ad-hockey - isn't yours, you will have to search for the offending Perl statement and add the leading "-" character manually. > > Other errors are showed too, but I think that are consequence of > this first. > I'd like to know if this error can be because the version of Perl/Tk, No, it is directly linked to badly written code :) > or something linked with the Perl. If the "borderwidth" is a funcion, it's a option, and it should be written as "-borderwidth"... you will have to make that change, and hope that it was an isolated case - > a propierty... > > I really need to solve this problem, because I need run ad-hockey. > > Thanks for your reply and I hope that you can help me! > > Ricardo. > > > > 2007/4/4, Steve Lidie < [email protected]>: > On Apr 4, 2007, at 1:14 PM, super.ismiti wrote: > > > Hi, > > > > Somebody could tell me what is "borderwidth"? > > It is > > -borderwidth > > Please, always use a leading dash to specify options, no matter what > someone else may try to tell you :) > > > > I have Perk/Tk804.027 installed and I'm trying hard to run a tool. > > When I put the command to run this tool an error is showed, > > something like: > > Can't set borderwidht to 2. > > > > I really appreciate any kind of help. > > > > Thanks, > > Ricardo. > > --++**==--++**==--++**==--++**==--++**==--++**==--++**== > > ptk mailing list > > [email protected] > > https://mailman.stanford.edu/mailman/listinfo/ptk > > > > --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk