I tried passing "-e -i -t tgbig" to "tg-admin update", and apparently
"tg-admin update" then knows I'm using SA and Elixir, and it still
tries to load SQLObject and give me the following traceback. "tg-admin
update" has all the information it needs and it's still not working.
Is this going to be fixed anytime soon?

Error in file /Users/yhwong/turbogears/turbogears/qstemplates/qsbase/
+einame+.egg-info/sqlobject.txt_tmpl:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/Current/bin/tg-
admin", line 8, in <module>
    load_entry_point('TurboGears==1.0.4b2dev-r3636',
'console_scripts', 'tg-admin')()
  File "/Users/yhwong/turbogears/turbogears/command/base.py", line
371, in main
    command.run()
  File "/Users/yhwong/turbogears/turbogears/command/quickstart.py",
line 307, in run
    command.run(cmd_args)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
command.py", line 212, in run
    result = self.command()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
create_distro.py", line 125, in command
    template, output_dir, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
create_distro.py", line 167, in create_template
    template.run(self, output_dir, vars)
  File "/Users/yhwong/turbogears/turbogears/command/quickstart.py",
line 33, in run
    super(TGTemplate, self).run(command, output_dirs, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
templates.py", line 57, in run
    self.write_files(command, output_dir, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
templates.py", line 126, in write_files
    template_renderer=self.template_renderer)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
copydir.py", line 94, in copy_dir
    svn_add=svn_add, template_renderer=template_renderer)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
copydir.py", line 103, in copy_dir
    template_renderer=template_renderer)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
copydir.py", line 279, in substitute_content
    return careful_sub(tmpl, vars, filename)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
copydir.py", line 288, in careful_sub
    return sub_catcher(filename, vars, str, cheetah_template)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/paste/script/
copydir.py", line 303, in sub_catcher
    return func(*args, **kw)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/Cheetah-2.0-py2.5-macosx-10.3-ppc.egg/Cheetah/
Template.py", line 982, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "DynamicallyCompiledCheetahTemplate.py", line 86, in respond
NameMapper.NotFound: cannot find 'sqlobject'


On Nov 9, 3:54 am, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Yuen Ho Wong wrote:
> > I'm not sure if I'm using tg-admin update as intended, but here it is
> > anyway.
>
> > I have recently checked out the trunk(r3637) of TurboGears. I
> > installed it using "python develop". Then I went to my old 1.0.4b2
> > project created with "tg-admin quickstart -e -i -t tgbig", and tried
> > to update it using "tg-admin update" to try to get the upgrade to the
> > latest default settings and other boilerplates. However, tg-admin
> > update only detected that I'm only using SA and tgbase template, even
> > when I'm actually using tgbig and Elixir. Bug?
>
> Unfortunately, TG does not store these options, so you have to pass the
> same options to tg-admin update as you have given to tg-admin
> quickstart. I think this should be fixed in the long run. Currently, TG
> tries to import SQLObject if you are using SQLAlchemy and vice versa,
> because it does not know which one you are actually using.
>
> -- Christoph


--~--~---------~--~----~------------~-------~--~----~
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