I have added google_appengine(and some subfolders) to my project PYTHONPATH and as a result, pydev can find all the references to appengine. However pylint can't find them and accuses several errors in the code.
To try to solve the problem I have placed the google_appengine folders to my pydev and windows PYTHONPATH and still pylint wasn't unable to detect the appengine modules. To be sure that this was a problem with pydev and not pylint I ran pylint on the same code that I tried to check with pydev+pylint and this time pylint was able to find the google modules.
How do I solve this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure what could be wrong (the PYTHONPATH should be the same and PyLint should work)... Can you create a bug-report with a sample project and explaining the steps you're using so that I can reproduce it here?
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-05-08
Well it turns out that the problem has nothing to do with pydev and litle to do with pylint, I can't remember how this append but here is a guide to solve many problems with pydev+app engine+pylint in case someone stumbles to problems similar to this one: http://code.google.com/p/soc/wiki/SetUpPylint
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running windows and working on a project that uses Google app engine modules. The directory is structured like this:
\ProjectRoot
\app(the source folder)
...
\thirdparty\google_appengine
I have added google_appengine(and some subfolders) to my project PYTHONPATH and as a result, pydev can find all the references to appengine. However pylint can't find them and accuses several errors in the code.
To try to solve the problem I have placed the google_appengine folders to my pydev and windows PYTHONPATH and still pylint wasn't unable to detect the appengine modules. To be sure that this was a problem with pydev and not pylint I ran pylint on the same code that I tried to check with pydev+pylint and this time pylint was able to find the google modules.
How do I solve this?
I'm not sure what could be wrong (the PYTHONPATH should be the same and PyLint should work)... Can you create a bug-report with a sample project and explaining the steps you're using so that I can reproduce it here?
Cheers,
Fabio
Well it turns out that the problem has nothing to do with pydev and litle to do with pylint, I can't remember how this append but here is a guide to solve many problems with pydev+app engine+pylint in case someone stumbles to problems similar to this one:
http://code.google.com/p/soc/wiki/SetUpPylint