Hello all,
I've tried the end-user mailing list to no avail and I think it's time to
to ask the developers. I have an app that's been working for quite a
while. In order to deploy a new version on my test server I removed the
database and software, and reran the installation. This has worked
repeatedly, but suddenly I find that the command "paster setup-app
production.ini" fails to create the database tables. It simply returns to
the command prompt without errors, and never tries to create the tables.
It's a MySQL database. Switching back to sqlite made no difference.
TG 2.1.5 vs TG 2.2.0, also no difference.
Strangely, logging out and back in caused it to work one more time, and
then it never worked again.
I've been trying to trace through the code to see why nothing happens. If
it's any clue these are some things that are called, or not called. Some
of these may not be relevant:
In PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py...
Installer.__init__() is called with arguments: fishdb 0.3
paste.app_factory main.
call_sysconfig_functions() is called twice with the arguments:
install_variables, post_setup_hook
fishdb/config/middleware.py
make_app is never called
fishdb/websetup/__init__.py:
setup_app() never called
It seems like this last one is the place that would call
schema.setup_schema to create the tables. Could anyone think of a reason
this is not happening?
Thanks,
Matthew
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/turbogears-trunk/-/Yg4ftzHXPkYJ.
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.