[python-win32] Using win32security from IIS/CGI script

2005-10-12 Thread I-McTaggart, Peter
Hi, I'm trying to call the following win3security API as part of a CGI script being served up by IIS6 on W2k3. secDes = win32security.GetNamedSecurityInfo(filename, \ win32security.SE_FILE_OBJECT, \ win32security.DACL_SECURITY_INFORMATION \

Re: [python-win32] Possible bug: what information to provide

2005-10-12 Thread Mark Hammond
> > > One more strange thing: > > > MakePy recognised the object as "IRepository" rather then "Repository" > > > > I'm not sure what you mean here. Please post a complete code sample, > > including all output that confuses you or you believe to be wrong. > > > Makepy.py output (fragment, for infor

Re: [python-win32] Possible bug: what information to provide

2005-10-12 Thread Alex Jouravlev
Thanks, Mark, > > One more strange thing: > > MakePy recognised the object as "IRepository" rather then "Repository" > > I'm not sure what you mean here. Please post a complete code sample, > including all output that confuses you or you believe to be wrong. > Makepy.py output (fragment, for info

Re: [python-win32] errors running C++ client against python COM server

2005-10-12 Thread Mark Hammond
> '' was created, but > does not support the interface > 'IConnectableServer'({F51A6858-F43E-4CF9-B603-6D15D3E8DB71}): No such > interface supported", None, None) So the problem is our gateway doesn't think we support that interface. > # putting typelib guid up here as top-level reg_clsid because

Re: [python-win32] Pythonwin problem

2005-10-12 Thread Mark Hammond
> After debugging a particular program I started getting funny messages > about window handles being bad. Then I get this at startup in a dialog > box from the runtime library > > > Runbtime Error! > > Program c:\python\lib\site-packages\pythonwin\Pythonwin.exe > > R6025 > - pure virtual func

Re: [python-win32] Possible bug: what information to provide

2005-10-12 Thread Mark Hammond
> >>> r.ref > > >>> r.ref.GetLastError() > Traceback (most recent call last): > File "", line 1, in ? > TypeError: 'unicode' object is not callable > >>> r.ref.GetLastError > u'' > >>> Can you provide a short example that also includes how the object is created? > However, GetLastError() is a

Re: [python-win32] Possible bug: what information to provide

2005-10-12 Thread Alex Jouravlev
Sorry, I initially provided wrong fragment More bug details: >>> r.ref >>> r.ref.GetLastError() Traceback (most recent call last): File "", line 1, in ? TypeError: 'unicode' object is not callable >>> r.ref.GetLastError u'' >>> However, GetLastError() is a function according to specs and Make

Re: [python-win32] Translating MS-Word documents

2005-10-12 Thread bob
At 04:28 AM 10/12/2005, Øyvind wrote: >Hello, and thank you for the answers so far. > >The documents can be huge, as in 4-5000 pages, and there are upto 7*5000 >words that needs to be replaced. (It is as you have pointed out a >translation of languages, but for a very speicalised branch of patents.

Re: [python-win32] Possible bug: what information to provide

2005-10-12 Thread bob
At 05:21 AM 10/12/2005, Alex Jouravlev wrote: >Hi, > >I have a potential bug report. PythonWin fails to invoke a COM Object's >function. I am a bit puzzled what information should be provided. I am not a >COM guru > > - I am using PythonWin to write some scripts to an off-the-shelf COM >enabled sy

[python-win32] Possible bug: what information to provide

2005-10-12 Thread Alex Jouravlev
Hi, I have a potential bug report. PythonWin fails to invoke a COM Object's function. I am a bit puzzled what information should be provided. I am not a COM guru - I am using PythonWin to write some scripts to an off-the-shelf COM enabled system - the system is outside of my control, I cannot g

Re: [python-win32] Translating MS-Word documents

2005-10-12 Thread Øyvind
Hello, and thank you for the answers so far. The documents can be huge, as in 4-5000 pages, and there are upto 7*5000 words that needs to be replaced. (It is as you have pointed out a translation of languages, but for a very speicalised branch of patents. Therefore there are no translaters that kn