Re: [spe-users] [Head,WinXP] Running fails
Stani's Python Editor <[email protected]> Thu, 30 Aug 2007 09:06:01 +0200
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Organization | www.stani.be |
| Message-ID | <[email protected]> |
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate
--
Hi Diaa Sami,
You're right. Windows users will be happy with this. I've just committed
this patch together with another small one. (On linux SPE will now save
backup files with ~ rather than .bak)
Thanks a lot!
Stani
Diaa Sami schreef:
> http://pythonide.stani.be
> http://pythonide.stani.be/manual/html/manual.html
> http://pythonide.stani.be/blog/sm_donate
> --
>
>
> I've just checked out r243 from the repository and I'm running on Windows XP, Python 2.5.1, wxPython
> 2.6.4 Unicode.
> When I run the application, with or without parameters I get the following message in the output panel:
> C:\Python25\python.exe: can't open file 'C:\Documents': [Errno 2] No such file or directory
> Script terminated.
>
> I investigated the problem and the following patch fixes it, there's no need for the 2 doublequotes
> as they're already added in info.path()
>
> Index: Parent.py
> ===================================================================
> --- Parent.py (revision 243)
> +++ Parent.py (working copy)
> @@ -689,7 +689,7 @@
> 'path': path,
> 'arguments': arguments,
> 'python': info.PYTHON_EXEC}
> - label = params['label'] = '"%(file)s" %(arguments)s'%params
> + label = params['label'] = '%(file)s %(arguments)s'%params
> os.chdir(path)
> self.output.Execute("""%(python)s -u %(label)s"""%params,label=label,beep=beep)
>
>
> Regards,
> Diaa M. Sami
>
> _______________________________________________
> Python-spe-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/python-spe-users
>