Jose Galvez wrote:
> What error do you get this time?
I'm getting the same error with python 2.4. Here is the console log :
Starting subprocess with file monitor
Traceback (most recent call last):
File "d:\Python24\Scripts\paster-script.py", line 7, in ?
sys.exit(
File
d:\python24\lib\site-packages\PasteScript-1.3.1-py2.4.egg\paste\script\command.py",
line 76, in run
invoke(command, command_name, options, args[1:])
File
"d:\python24\lib\site-packages\PasteScript-1.3.1-py2.4.egg\paste\script\command.py",
line 115, in invoke
exit_code = runner.run(args)
File
"d:\python24\lib\site-packages\PasteScript-1.3.1-py2.4.egg\paste\script\command.py",
line 210, in run
result = self.command()
File
"D:\Python24\lib\site-packages\pastescript-1.3.1-py2.4.egg\paste\script\serve.py",
line 154, in command
return self.restart_with_reloader()
File
"D:\Python24\lib\site-packages\pastescript-1.3.1-py2.4.egg\paste\script\serve.py",
line 340, in restart_with_reloader
self.restart_with_monitor(reloader=True)
File
"D:\Python24\lib\site-packages\pastescript-1.3.1-py2.4.egg\paste\script\serve.py",
line 362, in restart_with_monitor
proc = subprocess.Popen(args, env=new_environ)
File "d:\Python24\lib\subprocess.py", line 543, in __init__
errread, errwrite)
File "d:\Python24\lib\subprocess.py", line 706, in _execute_child
startupinfo)
WindowsError: [Errno 123] The filename, directory name, or volume label
syntax is incorrect
Line numbers in traceback may not be the same as yours because of added
log statements. The lines in cause are :
if sys.platform == "win32":
# patched (Changeset 6383),
# but still does not work for some reason :
args[0] = '"%s"' % args[0]
Here is what I have in my "args" variable :
['"D:\\Python24\\python.exe"', d:\\Python24\\Scripts\\paster-script.py',
'serve', '--reload', 'development.ini']
It works fine without those added quotes.
Are these added quotes useful with a blank space in the Python
installation path ? With no space (my case), it just seems to break the
script.
dom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---