Hi all,

I just tested a TG 1.0.4.3 install on Mac OSX 10.4 install (which, btw, 
works fine without the need for a compiler), and tried to run a 
quickstarted project without identity, when it complained about a 
missing SQLObject (which, as we know, tgsetup.py does not install anymore).

I was under the impression, that it should be possible to use TG 1.x 
without an ORM  with a default installation and a project without 
identity. Am I missing something here?

Looking at the source, it seems that the quickstart template for 
"controllers.py" should not check

#if sqlobject == 'True'

but

#if identity == 'sqlobject'

since sqlobject will be set to True by default, even for projects 
without identity, if no other ORM is requested.

Should I file a bug ticket?


A second but related issue: I wasn't able to start the toolbox either 
with "tg-admin toolbox", because this tried to import Catwalk, which in 
turn tried to import SQLObject and failed. This happens regardless of 
whether there is a dburi defined in dev.cfg or not. I thought that the 
toolbox used to work without SQLobject in the past, but my memory may be 
false. IMHO turbogears.toolbox.base.Toolbox.get_tools() should check 
whether a toolbox component needs an ORM installed or at least catch 
import errors and issue a warning that the component that failed to load 
will not work. Bug or enhancement ticket?

I think we definitely need a buildbot and a testing framework for  the 
quickstart templates.


Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to