gnumed-devel
[Top][All Lists]
Advanced

[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 10:03:10 -0700 (PDT)

Did not paste the bad part...  It seems that it needs the whole path to the
file :(

>>> 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.')



Karsten Hilbert wrote:
> 
> On Sun, May 15, 2011 at 09:44:22AM -0700, LuisCapriles wrote:
> 
>> 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!!
> 
> No, that's fine. The paths are "short" Windows paths.
> 
> What happens if you try *without* a path, like so:
>> >    import win32api
>> >    print win32api.FindExecutable('AcroRd32.exe')
> 

-- 
View this message in context: 
http://old.nabble.com/-Gnumed-devel--write-document-failure-on-windows-tp31601493p31623597.html
Sent from the GnuMed - Dev mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]