Hi,

I believe there's a ticket open on this. This is probably the problem:

In [1]:import test

In [2]:test.__file__
Out[2]:'/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/test/__init__.pyc'

"test" is a package in the standard library. So, your quickstarted
package name is conflicting with the Python package called test.

Kevin

On 2/2/06, OTri <[EMAIL PROTECTED]> wrote:
>
> Hello,
>  I just checked out the latest SVN and I'm getting breakage when using
> "tg-admin quickstart"  I'm pretty new here, but I did dig around and
> haven't seen anything recent on quickstart breakage.
>
>   Thought I should post it here first, this is what I see:
> --------------
> Enter project name: test
> Enter package name [test]:
> Selected and implied templates:
>   TurboGears#turbogears  web framework
>
> Variables:
>   einame:             test
>   package:            test
>   project:            test
>   turbogearsversion:  0.9a0dev-r629
> Creating template turbogears
>   Creating ./test/
> svn: warning: 'test' is already under version control
>   Recursing into +einame+.egg-info
>     Creating ./test/test.egg-info/
>     Copying PKG-INFO to ./test/test.egg-info/PKG-INFO
>     Copying paster_plugins.txt to
> ./test/test.egg-info/paster_plugins.txt
>     Copying sqlobject.txt_tmpl to ./test/test.egg-info/sqlobject.txt
>   Copying README.txt_tmpl to ./test/README.txt
>   Copying devcfg.py_tmpl to ./test/devcfg.py
>   Copying prodcfg.py_tmpl to ./test/prodcfg.py
>   Copying setup.py_tmpl to ./test/setup.py
>   Copying start-+package+.py_tmpl to ./test/start-test.py
> Running /sw/bin/python setup.py egg_info
> Error (exit code: 1)
> Traceback (most recent call last):
>   File "setup.py", line 16, in ?
>     package='test'),
>   File
> "/sw/lib/python2.4/site-packages/TurboGears-0.9a0dev_r629-py2.4.egg/turbogears/finddata.py",
> line 53, in find_package_data
>     for name in os.listdir(where):
> OSError: [Errno 2] No such file or directory: 'test'
>
> Traceback (most recent call last):
>   File "/sw/bin/tg-admin", line 7, in ?
>     sys.exit(
>   File
> "/sw/lib/python2.4/site-packages/TurboGears-0.9a0dev_r629-py2.4.egg/turbogears/command/base.py",
> line 269, in main
>     command.run()
>   File
> "/sw/lib/python2.4/site-packages/TurboGears-0.9a0dev_r629-py2.4.egg/turbogears/command/quickstart.py",
> line 84, in run
>     command.run(cmd_args)
>   File
> "/sw/lib/python2.4/site-packages/PasteScript-0.4.2-py2.4.egg/paste/script/command.py",
> line 205, in run
>     result = self.command()
>   File
> "/sw/lib/python2.4/site-packages/PasteScript-0.4.2-py2.4.egg/paste/script/create_distro.py",
> line 101, in command
>     cwd=output_dir)
>   File
> "/sw/lib/python2.4/site-packages/PasteScript-0.4.2-py2.4.egg/paste/script/command.py",
> line 526, in run_command
>     raise OSError("Error executing command %s" % cmd)
> OSError: Error executing command /sw/bin/python
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to