Wondering if anyone can help me out here. Webfaction still does not have
an option for installing tg with sqlalchemy, so the last time did:
- installed sqlalchemy into the python libraries dirs
- started a tg app, went into the top level directory and ran tg-update
-s
This no longer seems to work, I get the following traceback:
Overwrite ../momcafe/momcafe/json.py [y/n/d/B/?] y
Copying json.py_tmpl to ../momcafe/momcafe/json.py
Error in
file
/home/jearthy/lib/python2.4/TurboGears-1.0.3.2-py2.4.egg/turbogears/qstemplates/quickstart/+package+/model.py_tmpl:
Traceback (most recent call last):
File "/home/jearthy/bin/tg-admin", line 7, in ?
sys.exit(
File
"/home/jearthy/lib/python2.4/TurboGears-1.0.3.2-py2.4.egg/turbogears/command/base.py",
line 389, in main
command.run()
File
"/home/jearthy/lib/python2.4/TurboGears-1.0.3.2-py2.4.egg/turbogears/command/quickstart.py",
line 280, in run
command.run(cmd_args)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/command.py",
line 210, in run
result = self.command()
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/create_distro.py",
line 124, in command
self.create_template(
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/create_distro.py",
line 157, in create_template
template.run(self, output_dir, vars)
File
"/home/jearthy/lib/python2.4/TurboGears-1.0.3.2-py2.4.egg/turbogears/command/quickstart.py",
line 33, in run
super(TGTemplate, self).run(command, output_dirs, vars)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/templates.py",
line 48, in run
self.write_files(command, output_dir, vars)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/templates.py",
line 116, in write_files
use_cheetah=self.use_cheetah)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/copydir.py",
line 63, in copy_dir
svn_add=svn_add)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/copydir.py",
line 70, in copy_dir
use_cheetah=use_cheetah)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/copydir.py",
line 224, in substitute_content
return careful_sub(tmpl, vars, filename)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/copydir.py",
line 233, in careful_sub
return sub_catcher(filename, vars, str, cheetah_template)
File
"/home/jearthy/lib/python2.4/PasteScript-0.9.7-py2.4.egg/paste/script/copydir.py",
line 248, in sub_catcher
return func(*args, **kw)
File
"/home/jearthy/lib/python2.4/Cheetah-2.0rc8-py2.4-linux-i686.egg/Cheetah/Template.py",
line 994, in __str__
def __str__(self): return getattr(self, mainMethName)()
File
"cheetah_DynamicallyCompiledCheetahTemplate_1187990774_77_32950.py",
line 97, in respond
NameMapper.NotFound: cannot find 'elixir'
So I installed elixer too, and am getting the same results. It also
appears that after running tg-admin update once, its not possible to run
it again at all, you get the following:
Traceback (most recent call last):
File "/home/jearthy/bin/tg-admin", line 7, in ?
sys.exit(
File
"/home/jearthy/lib/python2.4/TurboGears-1.0.3.2-py2.4.egg/turbogears/command/base.py",
line 379, in main
if not turbogears.util.get_project_name():
File
"/home/jearthy/lib/python2.4/TurboGears-1.0.3.2-py2.4.egg/turbogears/util.py",
line 122, in get_project_name
name = list(open(pkg_info))[1][6:-1]
IndexError: list index out of range
So it appears a failed tg-admin update just kills the app dead. If
anyone has any suggestions on how I can get sqlachemy working on
webfaction of fix this update issue I'd really like to hear it.
Thanks
Iain
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---