I'm using Elixir (http://elixir.ematia.de/trac/wiki) in my project, but PyDev 1.3.17 complains with "Undefined variable from import". Elixir was installed with easy install using the --always-unzip option. I'm using Eclipse 3.3.2 under Ubuntu 8.04
A simple example to reproduce the problem are these two python scripts:
from elixir import Unicode, Entity, Field
field = Field(Unicode)
from ElixirTest import Record
from elixir import metadata, setup_all, create_all
metadata.bind = "sqlite:///:memory:"
On the last line PyDev marks Record and query() with the error "Undefined variable from import". If I define Record in ElixirTest2.py instead of importing it from ElixirTest.py, everything is fine.
I tried to set this code analysis to "ignore" in the PyDev settings dialog, but then the error is displayed as an info instead. (But setting it to "warning" gives indeed warnings).
So please fix the "ignore" setting to really ignore these messages and if possible improve the code analysis tool to not complaining about this code since it runs perfectly fine.