Re: [Komodo-beta] Problems with Syntax Checking
by Eric Robertson other posts by this author
Mar 7 2008 9:20AM messages near this date
view in the new Beta List Site
Re: [Komodo-beta] Problems with Syntax Checking
|
Re: [Komodo-beta] Remove from project, just temporary?
Hi Eric P
Thanks for your reply. Guess what - I've upgraded to 4.3.0 and it's all
working as it should. The warnings are showing properly and I can now run
the script in the debugger.
I did try it several times in the beta2 version and these certainly didn't
work there.
Eric R
> -----Original Message-----
> From: Eric Promislow [mailto:ericp@[...].com]
> Sent: Thursday, March 06, 2008 7:05 PM
> To: Eric Robertson
> Cc: 'Komodo-Beta'
> Subject: Re: [Komodo-beta] Problems with Syntax Checking
>
> Hi, Eric,
>
> It would help if you could send me a sample of code that
> reproduces the problem. But if not, here's something you
> could try:
>
> I can't say much about the internal error message, since we're
> only emitting the fact that one took place. Could you make
> this mod to <komodo-install-dir>/lib/mozilla/components/koLintService.py :
>
> Index: lib/mozilla/components//koLintService.py
> ===================================================================
> --- lib/mozilla/components//koLintService.py (revision 15912)
> +++ lib/mozilla/components//koLintService.py (working copy)
> @@ -389,6 +389,8 @@
> % (request.document.baseName,
> request.linterType)
> log.exception(err)
> request.errorString = err
> + import traceback
> +
> log.exception(traceback.extract_tb(sys.exc_info()[2]))
> else:
> log.info("manager thread: lint results for uid %s:
> %r",
> request.uid, results)
>
> Then look in the pystderr.log file next time this happens.
>
> Thanks,
> Eric
>
> Eric Robertson wrote:
> > I'm having problems with the Perl syntax checking in 4.3.0-beta2. I was
> > wanting to run a Perl CGI script locally and when I clicked on the
> syntax
> > checking button, which showed warnings, I got the message "unexpected
> > internal error checking (script name) with
> > '@activestate.com/koLinter?Language=Perl;1' linter".
> >
> > Initially I also found that the run buttons were greyed out, but this
> has
> > corrected itself. However when I click the run button the Debugging
> Options
> > window comes up and then nothing happens when I close it - it hasn't
> started
> > debugging and the status line is showing 'Ready'. Perhaps this is linked
> to
> > the syntax checking problem?
> >
> > In 4.2.1 the script correctly shows all the 10 warnings, which are all
> of
> > the kind "Name 'xxx' only used once: possible typo". This is not my
> script
> > and doesn't use strict, and these missing references are in another,
> linked,
> > script.
> >
> > Eric Robertson
> >
> >
> > _______________________________________________
> > Komodo-beta mailing list
> > Komodo-beta@[...].com
> > http://listserv.ActiveState.com/mailman/listinfo/komodo-beta
_______________________________________________
Komodo-beta mailing list
Komodo-beta@[...].com
http://listserv.ActiveState.com/mailman/listinfo/komodo-beta
Thread:
Jb
Eric Robertson
Eric Promislow
Eric Robertson
Shane Caraveo
Jb
|