Hello,
Jonathan Ellis said the following on 29.07.2006 4:31:
> users_table.create()
> i = users_table.insert()
> print i
> ---------------------------------------------------------------------
>
> And it gives me this:
> AttributeError: 'NoneType' object has no attribute 'has_key'
>
>
> Well, you should be able to print out an insert object... you could try
> giving us the full stacktrace, but I suspect that the Firebird code
> needs updating is what it comes down to.
Here is stacktrace:
Traceback (most recent call last):
File "test.py", line 30, in ?
print i
File "build\bdist.win32\egg\sqlalchemy\sql.py", line 511, in __str__
File "build\bdist.win32\egg\sqlalchemy\sql.py", line 507, in compile
File "build\bdist.win32\egg\sqlalchemy\sql.py", line 367, in compile
File "build\bdist.win32\egg\sqlalchemy\sql.py", line 1596, in
accept_visitor
File "build\bdist.win32\egg\sqlalchemy\databases\firebird.py", line
274, in visit_insert
AttributeError: 'NoneType' object has no attribute 'has_key'
> Do the tests pass when you
> follow the instructions in README.unittests, with
> --dburi=some_firebird_test_db ?
No. I've tried to run tests, and about half of them did not pass (ERROR
or FAIL), and finally it just hangs on this test:
testunicodeget (orm.mapper.MapperTest) ...
--
Oleg
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users