On 5 Jul 2006, at 23:01, Bob T. wrote:

> TG 0.9a6 tests to see if SA is installed and if it is it attempts to
> use it. Unfortunately SA 0.2 passes the  "is installed" test but isn't
> a drop-in replacement for SA 0.1, so the error occurs. It sounds like
> you've installed a too-recent version of SA.

Ah. I have indeed installed 0.2 since I want to look at the latest  
version
ready for altering by project later, but also for some non-TG stuff.

It still seems like a bug to me. If I don't have sqlalchemy.dburi in my
dev.cfg, then SQL-Alchemy should be ignored IMO.

What I think happens from my reading of database.py is basically that
AutoConnectEngine gets called with dburi = None.

In [3]: from sqlalchemy.ext.proxy import AutoConnectEngine
In [4]: e = AutoConnectEngine(None)
In [7]: e
Out[7]: <sqlalchemy.ext.proxy.AutoConnectEngine object at 0x2316670>

So we get a valid AutoConnectEngine object which fails at the first use.

Arthur

-- 
Arthur Clune
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to