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

[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

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 Alex Jouravlev
Sorry, I initially provided wrong fragment More bug details: r.ref COMObject EA.Repository r.ref.GetLastError() Traceback (most recent call last): File interactive input, line 1, in ? TypeError: 'unicode' object is not callable r.ref.GetLastError u'' However, GetLastError() is a function

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 function call

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

2005-10-12 Thread Mark Hammond
'server.MyConnectableServer instance at 0x01483B48' 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

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 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 information about the

[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 \