I'm getting the following error when I run tg-admin quickstart after
setting up the svn version of TurboGears:

D:\>tg-admin quickstart
Enter project name: test
Enter package name [test]:
Selected and implied templates:
  TurboGears#turbogears  web framework

Variables:
  package:            test
  project:            test
  turbogearsversion:  0.9a0
Creating template turbogears
  Creating .\test/
  Recursing into +package+
    Creating .\test\test/
    Copying __init__.py to .\test\test\__init__.py
    Copying controllers.py_tmpl to .\test\test\controllers.py
    Copying model.py_tmpl to .\test\test\model.py
    Recursing into sqlobject-history
      Creating .\test\test\sqlobject-history/
      Copying empty to .\test\test\sqlobject-history\empty
    Recursing into static
      Creating .\test\test\static/
      Recursing into css
        Creating .\test\test\static\css/
        Copying empty to .\test\test\static\css\empty
      Recursing into images
        Creating .\test\test\static\images/
        Copying empty to .\test\test\static\images\empty
        Copying favicon.ico to .\test\test\static\images\favicon.ico
      Recursing into javascript
        Creating .\test\test\static\javascript/
        Copying empty to .\test\test\static\javascript\empty
    Recursing into templates
      Creating .\test\test\templates/
      Copying __init__.py to .\test\test\templates\__init__.py
      Copying master.kid to .\test\test\templates\master.kid
      Copying welcome.kid to .\test\test\templates\welcome.kid
  Copying +package+-start.py_tmpl to .\test\test-start.py
  Recursing into +project+.egg-info
    Creating .\test\test.egg-info/
    Copying sqlobject.txt_tmpl to .\test\test.egg-info\sqlobject.txt
  Copying __init__.py to .\test\__init__.py
  Copying dev.cfg_tmpl to .\test\dev.cfg
  Copying prod.cfg_tmpl to .\test\prod.cfg
  Copying setup.py_tmpl to .\test\setup.py
Running C:\Python24\python.exe setup.py egg_info
Error (exit code: 1)
Traceback (most recent call last):
  File "setup.py", line 2, in ?
    from turbogears.finddata import find_package_data
  File "d:\svn\turbogears\trunk\turbogears\__init__.py", line 11, in ?
    from turbogears import startup
  File "d:\svn\turbogears\trunk\turbogears\startup.py", line 8, in ?
    pkg_resources.require("TurboGears")
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 503, in require
    needed = self.resolve(parse_requirements(requirements))
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 480, in resolve
    env = Environment(self.entries)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 558, in __init__
    self.scan(search_path)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 588, in scan
    self.add(dist)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 610, in add
    if dist not in dists:
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 1760, in __cmp__
    def __cmp__(self, other): return cmp(self.hashcmp, other)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 1755, in <lambda>
    lambda self: (
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 1782, in parsed_version
    self._parsed_version = pv = parse_version(self.version)
  File
"c:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg\pkg_resources.p
y", line 1797, in version
    raise ValueError(
ValueError: ("Missing 'Version:' header and/or PKG-INFO file", test
[unknown ver
sion] (d:\test))

Traceback (most recent call last):
  File "c:\Python24\Scripts\tg-admin-script.py", line 7, in ?
    sys.exit(
  File "d:\svn\turbogears\trunk\turbogears\command\__init__.py", line
233, in ma
in
    command.run()
  File "d:\svn\turbogears\trunk\turbogears\command\quickstart.py", line
89, in r
un
    command.run(cmd_args)
  File
"c:\python24\lib\site-packages\PasteScript-0.3.1-py2.4.egg\paste\script\c
ommand.py", line 176, in run
    result = self.command()
  File
"c:\python24\lib\site-packages\PasteScript-0.3.1-py2.4.egg\paste\script\c
reate_distro.py", line 94, in command
    cwd=output_dir)
  File
"c:\python24\lib\site-packages\PasteScript-0.3.1-py2.4.egg\paste\script\c
ommand.py", line 474, in run_command
    raise OSError("Error executing command %s" % cmd)
OSError: Error executing command C:\Python24\python.exe

I also tried:

D:\svn\TurboGears\trunk>setup.py egg_info
running egg_info
writing requirements to .\TurboGears.egg-info\requires.txt
writing .\TurboGears.egg-info\PKG-INFO
writing top-level names to .\TurboGears.egg-info\top_level.txt
writing entry points to .\TurboGears.egg-info\entry_points.txt

But it did not help.

I've google'd everything I can think of, but can't find a solution.

Using Python 2.4.2, WinXP SP2.

Anyone have any idea what I could have done wrong?

Thanks,

Sam

Reply via email to