#1023: tg-admin upgrade fails
------------------------+---------------------------------------------------
 Reporter:  plewis      |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  1.0      
Component:  TurboGears  |     Version:  0.9a6    
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 tg-admin upgrade fails with the following traceback:
 {{{
 Error in file
 
/Users/plewis/Programming/turbogears_svn/branches/1.0/turbogears/qstemplates/quickstart/+package+/controllers.py_tmpl:
 Traceback (most recent call last):
   File "/usr/local/bin/tg-admin", line 7, in ?
     sys.exit(
   File
 
"/Users/plewis/Programming/turbogears_svn/branches/1.0/turbogears/command/base.py",
 line 324, in main
     command.run()
   File
 
"/Users/plewis/Programming/turbogears_svn/branches/1.0/turbogears/command/quickstart.py",
 line 259, in run
     command.run(cmd_args)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/command.py", line
 205, in run
     result = self.command()
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/create_distro.py",
 line 98, in command
     self.create_template(
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/create_distro.py",
 line 125, in create_template
     template.run(self, output_dir, vars)
   File
 
"/Users/plewis/Programming/turbogears_svn/branches/1.0/turbogears/command/quickstart.py",
 line 33, in run
     super(TGTemplate, self).run(command, output_dirs, vars)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/templates.py",
 line 47, in run
     self.write_files(command, output_dir, vars)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/templates.py",
 line 110, in write_files
     use_cheetah=self.use_cheetah)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/copydir.py", line
 61, in copy_dir
     svn_add=svn_add)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/copydir.py", line
 68, in copy_dir
     use_cheetah=use_cheetah)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/copydir.py", line
 222, in substitute_content
     return careful_sub(tmpl, vars, filename)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/copydir.py", line
 231, in careful_sub
     return sub_catcher(filename, vars, str, cheetah_template)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /site-packages/PasteScript-0.5.1-py2.4.egg/paste/script/copydir.py", line
 246, in sub_catcher
     return func(*args, **kw)
   File "<string>", line 33, in respond
 NameMapper.NotFound: cannot find 'sqlalchemy'
 }}}

 It looks like quickstart.update is not checking for (or creating the
 sqlalchemy variable.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1023>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to