Re: [Komodo-discuss] Bug in code intelligence, is it possible to exclude directories?
by John Locke other posts by this author
Nov 3 2009 4:28PM messages near this date
view in the new Beta List Site
Re: [Komodo-discuss] Bug in code intelligence, is it possible to exclude directories?
|
Re: [Komodo-discuss] Bug in code intelligence, is it possible to exclude directories?
Thanks for the response, and digging into this... Will try the
project-based file inclusion for the code intel...
Deleting that rogue character does appear to stop triggering the bug!
Thanks,
John Locke
http://freelock.com
-------- Original Message --------
Subject: Re: [Komodo-discuss] Bug in code intelligence, is it possible
to exclude directories?
From: Todd Whiteman <toddw@[...].com>
To: John Locke <mail@[...].com>
Cc: komodo-discuss@[...].com
Date: Tue 03 Nov 2009 03:24:26 PM PST
> John Locke wrote:
>
> > I've got a file that seems to be causing an endless loop in Komodo IDE's
> > code intel module. It keeps trying to crawl the same file, thinks its
> > corrupt, and repeats, until eventually Komodo consumes available RAM and
> > starts bogging down.
> >
> > I've found the pystderr.log in the host name directory in my .komodoide
> > directory, and it's repeating this error over and over again:
> >
> > [2009-11-03 11:48:50,242] [WARNING] codeintel.db: database corruption
> > during 'MultiLangZone.get_buf_data': could not parse dbfile for
> > 'taxonomy_manager.admin.inc' blob: not well-formed (invalid token): line
> > 1, column 34290 (resolution: recover)
> >
> > The file it's breaking on is here:
> >
> > http://cvs.drupal.org/viewvc/drupal/contributions/modules/taxonomy_manager/taxonomy_manag
er.admin.inc?hideattic=0&revision=1.1.2.17.2.25&view=markup
> >
> >
> > ... so first off there's some sort of bug in the Code Intel that's
> > choking on this file.
> >
> >
>
> Thanks for the report. This is a Komodo bug, which is triggered by a
> strange character (0x10) in the taxonomy_manager.admin.inc file (line
> 2264). Komodo's codeintel system uses XML files for storing the scanned
> PHP data, but Komodo does not correctly escape the this 0x10 character,
> which leads to an error upon trying to load this data.
>
> I've logged a Komodo bug on this problem here:
> http://bugs.activestate.com/show_bug.cgi?id=85176
>
>
> > But in general, is there a way to blacklist particular files/directories
> > for code intelligence?
> >
> > I'm finding in a different project (using the Dojo toolkit) that code
> > intelligence crawls my build for hints, not my source code. Since my
> > build is packed Javascript, I'm getting code completion/hints with
> > obfuscated variable names and no comments. Would like to blacklist this
> > directory entirely, and have it crawl the unbuilt source only.
> >
>
> No, Komodo does not offer a nice way to customize the files that are
> scanned by the codeintel system, another bug on this here:
> http://bugs.activestate.com/show_bug.cgi?id=74765
>
> The way you can do this (partially) is to disable the Komodo codeintel
> preference "Include all files and directories from the project base
> directory", and then add all the directories you wish to be scanned
> through the project's "Languages->PHP->PHP Directories" preferences.
>
> Cheers,
> Todd
> _______________________________________________
> Komodo-discuss mailing list
> Komodo-discuss@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
>
> !DSPAM:4af0bbb8248231924119592!
>
>
_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
Thread:
John Locke
Todd Whiteman
John Locke
John Locke
|