On Mon, Jun 21, 2010 at 11:34:50PM +0200, Julien Syx wrote:
> from scops.sql.scopssql import connectSQL
> File "./scops/sql/scopssql.py", line 1, in <module>
> from sqlobject import *
> File "./scops/sql/sqlobject/__init__.py", line 8, in <module>
> from main import *
> File "./scops/sql/sqlobject/main.py", line 32, in <module>
> import dbconnection
> File "./scops/sql/sqlobject/dbconnection.py", line 964, in <module>
> import firebird
> File "./scops/sql/sqlobject/firebird/__init__.py", line 7, in <module>
> registerConnection(['firebird', 'interbase'], builder)
> File "./scops/sql/sqlobject/dbconnection.py", line 918, in
> registerConnection
> "A driver has already been registered for the URI scheme %s" % uriScheme
> exceptions.AssertionError: A driver has already been registered for the URI
> scheme firebird
I suspect it could be because sqlobject was imported twice, probably
because of manipulations with sys.path.
Oleg.
--
Oleg Broytman http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss