Apache OpenOffice (AOO) Bugzilla – Issue 4642
Cannot use OO com interface in python
Last modified: 2002-09-24 16:38:33 UTC
I'm not sure if this is because the com interface is still a work in progress, but I am unable to use python to automate openoffice. This is what I am getting. Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32com >>> import win32com.client >>> objServiceManager = win32com.client.Dispatch("com.sun.star.ServiceManager") >>> objServiceManager <COMObject com.sun.star.ServiceManager> >>> objDesktop = objServiceManager.createInstance("com.sun.star.frame.Desktop") Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: 'NoneType' object is not callable Thanks, Mark Roach
Jochen, could you please take a look?
This bug has been submitted into the staroffice's internal bug database with the id 99957
Issue is solved as of srx644a.