Just downloaded a new install og tg.devtools-1.9.7a3-py2.5.egg into a
new virtualenv on WinXP, using Py2.5.

The install went fine, but when trying to quickstart a new project, it
fails with the following traceback:

<SNIP>
  Recursing into ez_setup
    Creating .\conman\ez_setup/
    Copying README.txt to .\conman\ez_setup\README.txt
    Copying __init__.py to .\conman\ez_setup\__init__.py
  Copying setup.cfg_tmpl to .\conman\setup.cfg
  Copying setup.py_tmpl to .\conman\setup.py
  Copying test.ini_tmpl to .\conman\test.ini
  Recursing into tests
    Creating .\conman\tests/
    Copying test_controller.py_tmpl to .\conman\tests
\test_controller.py
Traceback (most recent call last):
  File "C:\Documents and Settings\kevinh\Desktop\mine_id\tg2env\Scripts
\paster-script.py", line 8, in <module>
    load_entry_point('pastescript==1.6.3', 'console_scripts', 'paster')
()
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script\command.py",
line 79, in run
    invoke(command, command_name, options, args[1:])
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script\command.py",
line 118, in invoke
    exit_code = runner.run(args)
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script\command.py",
line 213, in run
    result = self.command()
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\tg.devtools-1.9.7a3-py2.5.egg\devtools\commands
\quickstart.py", line 202, in c
ommand
    command.run(cmd_args)
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script\command.py",
line 213, in run
    result = self.command()
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script
\create_distro.py", line 156, in comma
nd
    expect_returncode=True)
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script\command.py",
line 539, in run_command

    cmd = self.quote_first_command_arg(cmd)
  File "c:\documents and settings\kevinh\desktop\mine_id\tg2env\lib
\site-packages\pastescript-1.6.3-py2.5.egg\paste\script\command.py",
line 608, in quote_first
_command_arg
    "installed" % arg)
ValueError: The executable 'C:\\Documents and Settings\\kevinh\\Desktop
\\mine_id\\tg2env\\Scripts\\python.exe' contains a space, and in order
to handle this issue you must have the win32api module installed

I have verified that quickstarting works fine when the path of the new
quickstarted project directory does not contain any spaces, but this
seems to me to be a pretty big problem.  Is there a way to easily
install pywin32 into a virtualenv? (no egg is available AFAIK for
pywin32...it uses a binary installer)

Is there a way to fix this, or are Windows users now stuck with not
being able to use virtualenv?  I don't recall this being an issue
before, and I've created a number of projects using previous TG2
versions over the last several months.  Has something changed in
Pastescript maybe?

Kevin Horn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to