X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: perl-Tk and the hours of work... Date: Sun, 13 Jul 2008 11:56:24 -0700 Lines: 65 Message-ID: References: <4879B6A8 DOT 1010904 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <4879B6A8.1010904@gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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/