Using Turbogears 1.0.4b2, I get the following error:
$ tg-admin quickstart TestTG
Enter package name [testtg]:
Do you need Identity (usernames/passwords) in this project? [no] yes
Selected and implied templates:
TurboGears#tgbase tg base template
TurboGears#turbogears web framework
Variables:
egg: TestTG
elixir: False
identity: sqlobject
package: testtg
project: TestTG
sqlalchemy: False
sqlobject: True
Creating template tgbase
Creating directory ./TestTG
Recursing into +einame+.egg-info
Creating ./TestTG/TestTG.egg-info/
Copying PKG-INFO to ./TestTG/TestTG.egg-info/PKG-INFO
Copying paster_plugins.txt to ./TestTG/TestTG.egg-info/paster_plugins.txt
Copying sqlobject.txt_tmpl to ./TestTG/TestTG.egg-info/sqlobject.txt
Recursing into +package+
Creating ./TestTG/testtg/
Copying __init__.py_tmpl to ./TestTG/testtg/__init__.py
Copying release.py_tmpl to ./TestTG/testtg/release.py
Recursing into static
Creating ./TestTG/testtg/static/
Recursing into css
Creating ./TestTG/testtg/static/css/
Copying empty to ./TestTG/testtg/static/css/empty
Recursing into images
Creating ./TestTG/testtg/static/images/
Copying favicon.ico to ./TestTG/testtg/static/images/favicon.ico
Copying tg_under_the_hood.png to ./TestTG/testtg/static/images/tg_under_the_hood.png
Copying under_the_hood_blue.png to ./TestTG/testtg/static/images/under_the_hood_blue.png
Recursing into javascript
Creating ./TestTG/testtg/static/javascript/
Copying empty to ./TestTG/testtg/static/javascript/empty
Recursing into templates
Creating ./TestTG/testtg/templates/
Copying __init__.py_tmpl to ./TestTG/testtg/templates/__init__.py
Creating template turbogears
Recursing into +package+
Recursing into config
Creating ./TestTG/testtg/config/
/var/lib/python-support/python2.5/Cheetah/Compiler.py:1576: UserWarning: You supplied an empty string for the source!
warnings.warn("You supplied an empty string for the source!", )
Copying __init__.py_tmpl to ./TestTG/testtg/config/__init__.py
Copying app.cfg_tmpl to ./TestTG/testtg/config/app.cfg
Copying log.cfg_tmpl to ./TestTG/testtg/config/log.cfg
Copying controllers.py_tmpl to ./TestTG/testtg/controllers.py
Copying json.py_tmpl to ./TestTG/testtg/json.py
Copying model.py_tmpl to ./TestTG/testtg/model.py
Recursing into sqlobject-history
Creating ./TestTG/testtg/sqlobject-history/
Copying empty to ./TestTG/testtg/sqlobject-history/empty
Recursing into static
Recursing into css
Copying style.css to ./TestTG/testtg/static/css/style.css
Recursing into images
Copying header_inner.png to ./TestTG/testtg/static/images/header_inner.png
Copying info.png to ./TestTG/testtg/static/images/info.png
Copying ok.png to ./TestTG/testtg/static/images/ok.png
Recursing into templates
Copying login.kid to ./TestTG/testtg/templates/login.kid
Copying master.kid to ./TestTG/testtg/templates/master.kid
Copying welcome.kid to ./TestTG/testtg/templates/welcome.kid
Recursing into tests
Creating ./TestTG/testtg/tests/
Copying __init__.py_tmpl to ./TestTG/testtg/tests/__init__.py
Copying test_controllers.py_tmpl to ./TestTG/testtg/tests/test_controllers.py
Copying test_model.py_tmpl to ./TestTG/testtg/tests/test_model.py
Copying README.txt_tmpl to ./TestTG/README.txt
Copying dev.cfg_tmpl to ./TestTG/dev.cfg
Copying sample-prod.cfg_tmpl to ./TestTG/sample-prod.cfg
Copying setup.py_tmpl to ./TestTG/setup.py
Copying start-+package+.py_tmpl to ./TestTG/start-testtg.py
Copying test.cfg_tmpl to ./TestTG/test.cfg
Running /usr/bin/python setup.py egg_info
Adding TurboGears to paster_plugins.txt
DEBUG: TestTG
DEBUG: TestTG/sqlobject-history
Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 8, in <module>
load_entry_point('TurboGears==1.0.4b2', 'console_scripts', 'tg-admin')()
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/turbogears/command/base.py", line 371, in main
command.run()
File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/turbogears/command/quickstart.py", line 217, in run
os.mkdir(sodir)
OSError: [Errno 2] No such file or directory: 'TestTG/sqlobject-history'
Which I solved by changing line 213 of turbogears/command/quickstart.py from
sodir = '%s/sqlobject-history' % self.name
to
sodir = '%s/sqlobject-history' % self.package
Is this a bug? or some kind of error with my enviroment?