Thanks for your quick answer.
I don't know where it can be imported twice.
Does the sys.path manipulation auto import modules ?

Here is an access to the code :
http://svn.scops.fr/Scops/Serveur
login : mlsqlobject
pass : scops

it's accessible through webbrowser.

Thanks a lot.

On Tue, Jun 22, 2010 at 11:37 AM, Oleg Broytman <p...@phd.pp.ru> wrote:

> 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/            p...@phd.pp.ru
>           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
> sqlobject-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
>
------------------------------------------------------------------------------
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
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to