[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] write document failure on windows
From: |
LuisCapriles |
Subject: |
Re: [Gnumed-devel] write document failure on windows |
Date: |
Sun, 15 May 2011 09:44:22 -0700 (PDT) |
Sorry, replyed first to the second message....
Here are the results:
>>> print win32api.FindExecutable('AcroRd32.exe')
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
print win32api.FindExecutable('AcroRd32.exe')
error: (2, 'FindExecutable', 'El sistema no puede hallar el archivo
especificado.')
Where "El sistema no puede hallar el archivo especificado" => "The system
cannot find the specified file"
So, I tried:
>>> print win32api.FindExecutable('C:\Archivos de programa\Adobe\Reader
>>> 8.0\Reader\AcroRd32.exe')
(42, 'C:\\ARCHIV~1\\Adobe\\READER~1.0\\Reader\\AcroRd32.exe')
>>>
>>> print win32api.FindExecutable('C:/Archivos de programa/Adobe/Reader
>>> 8.0/Reader/AcroRd32.exe')
(42, 'C:\\ARCHIV~1\\Adobe\\READER~1.0\\Reader\\AcroRd32.exe')
>>>
Wich seem to be very bad!!
Karsten Hilbert wrote:
>
> On Sat, May 14, 2011 at 09:41:13PM -0700, LuisCapriles wrote:
>
>> No, AcrobatReader is not in the PATH.
>
> Windows ... :-/
>
>> You will need to scan the registry
>> "HKLM\Software\Microsoft\WindowsCurrentVersion\App Paths" (this is in Win
>> XP!!!)
>
> Hopefully we can circumvent this by using the win32api
> Python module. Luis, may I ask you to try the following
> Python code ?
>
> import win32api
> print win32api.FindExecutable('AcroRd32.exe')
>
--
View this message in context:
http://old.nabble.com/-Gnumed-devel--write-document-failure-on-windows-tp31601493p31623506.html
Sent from the GnuMed - Dev mailing list archive at Nabble.com.
- Re: [Gnumed-devel] write document failure on windows, (continued)
- Re: [Gnumed-devel] write document failure on windows, LuisCapriles, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, Karsten Hilbert, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, Karsten Hilbert, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, LuisCapriles, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, Karsten Hilbert, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, LuisCapriles, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows,
LuisCapriles <=
- Re: [Gnumed-devel] write document failure on windows, Karsten Hilbert, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, LuisCapriles, 2011/05/15
- Re: [Gnumed-devel] write document failure on windows, Karsten Hilbert, 2011/05/15