Ok. Awesome. I'm officially on-board with TG2.
Tried to create a project using paster create --template=turbogears2
sprockets . Following dump:
Selected and implied templates:
TurboGears2#turbogears2 TurboGears 2.0 Template
Variables:
egg: sprockets
package: sprockets
project: sprockets
Creating template turbogears2
Creating directory ./sprockets
Recursing into +egg+.egg-info
Creating ./sprockets/sprockets.egg-info/
Copying paste_deploy_config.ini_tmpl_tmpl to ./sprockets/
sprockets.egg-info/paste_deploy_config.ini_tmpl
Recursing into +package+
Creating ./sprockets/sprockets/
Copying __init__.py_tmpl to ./sprockets/sprockets/__init__.py
Recursing into config
Creating ./sprockets/sprockets/config/
Copying __init__.py_tmpl to ./sprockets/sprockets/config/
__init__.py
Copying environment.py_tmpl to ./sprockets/sprockets/config/
environment.py
Copying middleware.py_tmpl to ./sprockets/sprockets/config/
middleware.py
Copying routing.py_tmpl to ./sprockets/sprockets/config/
routing.py
Recursing into controllers
Creating ./sprockets/sprockets/controllers/
Copying __init__.py_tmpl to ./sprockets/sprockets/controllers/
__init__.py
Copying error.py_tmpl to ./sprockets/sprockets/controllers/
error.py
Copying root.py_tmpl to ./sprockets/sprockets/controllers/
root.py
Copying template.py_tmpl to ./sprockets/sprockets/controllers/
template.py
Recursing into lib
Creating ./sprockets/sprockets/lib/
Copying __init__.py_tmpl to ./sprockets/sprockets/lib/
__init__.py
Copying app_globals.py_tmpl to ./sprockets/sprockets/lib/
app_globals.py
Copying base.py_tmpl to ./sprockets/sprockets/lib/base.py
Copying database.py_tmpl to ./sprockets/sprockets/lib/
database.py
Copying helpers.py_tmpl to ./sprockets/sprockets/lib/helpers.py
Recursing into model
Creating ./sprockets/sprockets/model/
Copying __init__.py_tmpl to ./sprockets/sprockets/model/
__init__.py
Recursing into public
Creating ./sprockets/sprockets/public/
Recursing into css
Creating ./sprockets/sprockets/public/css/
Copying style.css to ./sprockets/sprockets/public/css/
style.css
Copying favicon.ico to ./sprockets/sprockets/public/favicon.ico
Recursing into images
Creating ./sprockets/sprockets/public/images/
Copying header_inner.png to ./sprockets/sprockets/public/
images/header_inner.png
Copying info.png to ./sprockets/sprockets/public/images/
info.png
Copying ok.png to ./sprockets/sprockets/public/images/ok.png
Copying tg_under_the_hood.png to ./sprockets/sprockets/public/
images/tg_under_the_hood.png
Copying under_the_hood_blue.png to ./sprockets/sprockets/
public/images/under_the_hood_blue.png
Recursing into templates
Creating ./sprockets/sprockets/templates/
Copying __init__.py to ./sprockets/sprockets/templates/
__init__.py
Copying index.html to ./sprockets/sprockets/templates/index.html
Copying master.html to ./sprockets/sprockets/templates/
master.html
Recursing into tests
Creating ./sprockets/sprockets/tests/
Copying __init__.py_tmpl to ./sprockets/sprockets/tests/
__init__.py
Recursing into functional
Creating ./sprockets/sprockets/tests/functional/
Copying __init__.py_tmpl to ./sprockets/sprockets/tests/
functional/__init__.py
Copying test_models.py_tmpl to ./sprockets/sprockets/tests/
test_models.py
Copying websetup.py_tmpl to ./sprockets/sprockets/websetup.py
Copying README.txt_tmpl to ./sprockets/README.txt
Copying development.ini_tmpl to ./sprockets/development.ini
Recursing into ez_setup
Creating ./sprockets/ez_setup/
Copying README.txt to ./sprockets/ez_setup/README.txt
Copying __init__.py to ./sprockets/ez_setup/__init__.py
Copying setup.cfg_tmpl to ./sprockets/setup.cfg
Traceback (most recent call last):
File "/usr/local/bin/paster", line 7, in ?
sys.exit(
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/command.py", line 78, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/command.py", line 117, in invoke
exit_code = runner.run(args)
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/command.py", line 212, in run
result = self.command()
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/create_distro.py", line 124, in command
self.create_template(
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/create_distro.py", line 167, in create_template
template.run(self, output_dir, vars)
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/templates.py", line 57, in run
self.write_files(command, output_dir, vars)
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/templates.py", line 126, in write_files
template_renderer=self.template_renderer)
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/copydir.py", line 103, in copy_dir
template_renderer=template_renderer)
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/copydir.py", line 271, in substitute_content
return tmpl.substitute(TypeMapper(v))
File "/usr/local/lib/python2.4/string.py", line 172, in substitute
return self.pattern.sub(convert, self.template)
File "/usr/local/lib/python2.4/string.py", line 162, in convert
val = mapping[named]
File "/usr/local/lib/python2.4/site-packages/PasteScript-1.3.6-
py2.4.egg/paste/script/copydir.py", line 371, in __getitem__
value = eval(options[-1], dict(self.items()))
File "<string>", line 0, in ?
NameError: name 'tgversion' is not defined in file /usr/local/lib/
python2.4/site-packages/TurboGears2-2.0a1dev_r3585-py2.4.egg/tg/
templates/turbogears/setup.py_tmpl
furthermore, setup.py is not created, so therefore I cannot install my
app to develop on it.
Also, um, how do I get this thing started?
thanks for the hard work guys. dbmechanic AKA dbsprockets is coming.
-chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---