Hi Tgers,

I'm a total noob in Pythonia and TurboGears so if I did something
stupid, please spare my life :).

So I recently upgraded to TG 1.0.4b2, SA 0.4 and Elixir 0.4dev. I
noticed the Changlog says that SA 0.4 is now fully supported and I'll
no longer see the sqlobject-history dir in my project. I ran tg-admin
quickstart -e happily and immediately noticed 2 things wrong.

1. The sqlobject-history dir is still here for the default template
and tgbig, the sqlobject.txt file is still in the egg-info dir
2. When I run the freshly generated project, I was unable to connect
to the web server and  I got a trackback:


Registering Service blah: development._http._tcp port 8080 path=/
2007-10-28 20:32:33,551 turbogears.visit INFO Visit Tracking starting
2007-10-28 20:32:33,631 turbogears.visit INFO Visit filter initialised
Unhandled exception in thread started by <bound method Server._start
of <cherrypy._cpserver.Server object at 0x1194350>>
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/CherryPy-2.2.1-py2.5.egg/cherrypy/
_cpserver.py", line 78, in _start
    Engine._start(self)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/CherryPy-2.2.1-py2.5.egg/cherrypy/
_cpengine.py", line 108, in _start
    func()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/turbogears/
startup.py", line 234, in startTurboGears
    ext.start_extension()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/turbogears/visit/
api.py", line 69, in start_extension
    create_extension_model()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/turbogears/visit/
api.py", line 88, in create_extension_model
    _manager.create_model()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/turbogears/visit/
savisit.py", line 40, in create_model
    checkfirst=True)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/SQLAlchemy-0.4.0-py2.5.egg/sqlalchemy/
schema.py", line 310, in create
    self.metadata.create_all(bind=bind, checkfirst=checkfirst,
tables=[self])
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/SQLAlchemy-0.4.0-py2.5.egg/sqlalchemy/
schema.py", line 1230, in create_all
    bind = self._get_bind(raiseerr=True)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/SQLAlchemy-0.4.0-py2.5.egg/sqlalchemy/
schema.py", line 1255, in _get_bind
    raise exceptions.InvalidRequestError("This SchemaItem is not
connected to any Engine or Connection.")
sqlalchemy.exceptions.InvalidRequestError: This SchemaItem is not
connected to any Engine or Connection.
Got a reply for highbrow: development._http._tcp.local.: Name now
registered and active



Substituting -e with -s seems to solved the problem. This probably
means the Elixir template is somehow still messed up in the 1.0.4b2.
Anyway thoughts on how to get -e working?


Yuen


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to