Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1639 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

tgbig quickstart broken again

Reported by: wyuenho Owned by: anonymous
Priority: normal Milestone: 1.0.4
Component: tg-admin (non-toolbox) Version: 1.0.4b3
Severity: normal Keywords:
Cc:

Description

issuing "tg-admin quickstart -e -i -t tgbig -p example Example" gives the following traceback:

Creating template tgbig

Recursing into +package+

Recursing into controllers

Creating ./Example/example/controllers/ Copying init.py_tmpl to ./Example/example/controllers/init.py

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.4b3dev-r3836', '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 248, 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 34, 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 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 271, in substitute_content

return tmpl.substitute(TypeMapper?(v))

File "/Library/Frameworks/Python?.framework/Versions/2.5/lib/python2.5/string.py", line 170, in substitute

return self.pattern.sub(convert, self.template)

File "/Library/Frameworks/Python?.framework/Versions/2.5/lib/python2.5/string.py", line 160, in convert

val = mapping[named]

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 371, in getitem

value = eval(options[-1], dict(self.items()))

File "<string>", line 1, in <module>

NameError?: name 'sqlobjectversion' is not defined in file /Users/yhwong/turbogears/turbogears/qstemplates/quickstartbig/+package+/controllers/root.py_tmpl

Change History

comment:1 Changed 11 years ago by chrisz

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3842.

Note: See TracTickets for help on using tickets.