Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7045567
By: chadrik

well, i got the code analysis working, but now it has stopped respecting my
python package as a forced builtin, so code completion has stopped working!
i can never get them both to work...

it went down like this:

i have a package called pymel that works with Maya ( a 3d app ) and it must
be treated as a builtin.  it relies on external libs, so in order to work it
needs some environment variables setup ( on osx: DYLD_FRAMEWORK_PATH and
DYLD_LIBRARY_PATH )  i set those up in pydev prefs under my main dev workspace
using eclipse 3.5M6

in the meantime, i had my super clean 3.4.2 pointing to /var/tmp and i still
wasn't getting any code analysis.  i had already closed and reopened eclipse,
then closed and reopened the file hoping that would force the analysis, but
it did not. i played around with various settings, then i realized that i had
to actually modify (and possible re-save) the file in order to trigger code
analysis to work for that file.   so who knows what change i made to trigger
this to work.

so, realizing this, i went back to eclispe 3.5, changed a file and boom, i got
code analysis.  and i had completion for pymel working too!  so i closed 
eclipse3.5,
switched 3.4 to my main workspace and.... no more completion for pymel.

so bloody finicky.  

when pymel is inspected it launches python in the background as a separate 
process
on account of the fact that it requires and uses Maya's python frameworks. 
this is no longer happening, so the code completion is not working right.

i'll keep messing with this.  one of these years i'm going to get this right.
or give up...

-chad




______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to