Just doing a bit of tracing through the code and it's looking more and more like and installation problem on my part. Still no solution, though, so any help would still be appreciated.
Some questions:
1) why do the paths still refer to the 'build' directory? Shouldn't these files have been move to 'site-packages' ?
2) the error seems to indicate that InvalidRequestException is not defined; perhaps I'm not accessing the exceptions.py module? Could this be a PYTHONPATH issue?
3) The actual line of code is trying to complain about the dialect for postgres not being present; I thought postgresql was a part of SQLAlchemy. Is this not the case? Could this be another pointer to #2 above?
Mark
On 6/6/06, Mark Greenbank <[EMAIL PROTECTED]> wrote:
Hi all,
I've installed SQLAlchemy-0.2.1 and when I run the following simple test I get an error:
Traceback (most recent call last):
File "./sqla.py", line 4, in ?
e = create_engine('postgres://postgres:@localhost/sqla')
File "build/bdist.linux-i686/egg/sqlalchemy/engine/__init__.py", line 92, in \create_engine
File "build/bdist.linux-i686/egg/sqlalchemy/engine/strategies.py", line 42, i\n create
File "build/bdist.linux-i686/egg/sqlalchemy/engine/default.py", line 26, in _\_init__
AttributeError: 'module' object has no attribute 'InvalidRequestException'
The test program is:
from sqlalchemy import *
e = create_engine('postgres://postgres:@localhost/sqla')
print e
can anyone help in narrowing down the error?
Thanks,Mark
_______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users