* perl-Tk and the hours of work...
@ 2008-07-13 8:03 thefinn
2008-07-13 18:57 ` Andrew DeFaria
0 siblings, 1 reply; 2+ messages in thread
From: thefinn @ 2008-07-13 8:03 UTC (permalink / raw)
To: cygwin
On linux this particular perl-Tk app works just fine.
However, perl-Tk on cygwin seems to disagree?
Not entirely sure why, or what the issue is. It's just in development
phase (ignore the sql errors, they are unimportant).
Output below:
$ ./console.pl
DBI connect('console_scan:127.0.0.1','silly',...) failed: Can't connect
to MySQL
server on '127.0.0.1' (111) at ./console.pl line 364
DBI connect('console_expl:127.0.0.1','silly',...) failed: Can't connect
to MySQL
server on '127.0.0.1' (111) at ./console.pl line 365
Tk::Error: Can't set -activebackground to `undef' for
Tk::Menu=HASH(0x1fba660):
Cannot use undef value for object of type 'border' at
/usr/lib/perl5/vendor_perl
/5.10/i686-cygwin/Tk/Configure.pm line 46.
at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 294
Tk callback for .
Tk callback for .frame
Tk::Derived::configure at
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derive
d.pm line 306
Tk::Widget::new at
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Widget.pm lin
e 205
Tk::Widget::__ANON__ at
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Widget.p
m line 256
Tk::Menubutton::menu at
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Menubutt
on.pm line 348
Tk::Menubutton::command at
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Menub
utton.pm line 359
main::mainmenu at ./console.pl line 30
Can't set -activebackground to `undef' for Tk::Menu=HASH(0x1fba660):
Cannot use
undef value for object of type 'border' at
/usr/lib/perl5/vendor_perl/5.10/i686-
cygwin/Tk/Configure.pm line 46.
at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 294
at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 306
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: perl-Tk and the hours of work...
2008-07-13 8:03 perl-Tk and the hours of work thefinn
@ 2008-07-13 18:57 ` Andrew DeFaria
0 siblings, 0 replies; 2+ messages in thread
From: Andrew DeFaria @ 2008-07-13 18:57 UTC (permalink / raw)
To: cygwin
thefinn wrote:
> On linux this particular perl-Tk app works just fine.
>
> However, perl-Tk on cygwin seems to disagree?
>
> Not entirely sure why, or what the issue is. It's just in development
> phase (ignore the sql errors, they are unimportant).
Hmmm... My remote psychic debugging facilities tells me that you failed
to define something. Surely your psychic debugging capability will tell
you exactly what you forgot to define! (Used without permission from
David Korn).
Seriously now, think for a second.... How the hell are we to guess what
is wrong? You haven't even posted any of your code!!!
What exactly have you done in an attempt to debug the situation? Do you
use strict? Warnings? Have you tried running this in the Perl debugger?
Put in any print statements if you are too afraid to use the debugger? I
mean make an effort man!
>
> Output below:
>
> $ ./console.pl
> DBI connect('console_scan:127.0.0.1','silly',...) failed: Can't
> connect to MySQL
> server on '127.0.0.1' (111) at ./console.pl line 364
> DBI connect('console_expl:127.0.0.1','silly',...) failed: Can't
> connect to MySQL
> server on '127.0.0.1' (111) at ./console.pl line 365
> Tk::Error: Can't set -activebackground to `undef' for
> Tk::Menu=HASH(0x1fba660):
> Cannot use undef value for object of type 'border' at
> /usr/lib/perl5/vendor_perl
> /5.10/i686-cygwin/Tk/Configure.pm line 46.
> at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 294
> Tk callback for .
> Tk callback for .frame
> Tk::Derived::configure at
> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derive
> d.pm line 306
> Tk::Widget::new at
> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Widget.pm lin
> e 205
> Tk::Widget::__ANON__ at
> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Widget.p
> m line 256
> Tk::Menubutton::menu at
> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Menubutt
> on.pm line 348
> Tk::Menubutton::command at
> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Menub
> utton.pm line 359
> main::mainmenu at ./console.pl line 30
> Can't set -activebackground to `undef' for Tk::Menu=HASH(0x1fba660):
> Cannot use
> undef value for object of type 'border' at
> /usr/lib/perl5/vendor_perl/5.10/i686-
> cygwin/Tk/Configure.pm line 46.
> at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 294
>
> at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 306
>
--
Andrew DeFaria <http://defaria.com>
Press any key to continue or any other key to quit...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-13 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-13 8:03 perl-Tk and the hours of work thefinn
2008-07-13 18:57 ` Andrew DeFaria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).