Issue 4642

Summary: Cannot use OO com interface in python
Product: udk Reporter: Unknown <non-migrated>
Component: codeAssignee: joachim.lingner
Status: CLOSED NOT_AN_OOO_ISSUE QA Contact: issues@udk <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Other OS   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description Unknown 2002-05-08 15:10:51 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
Comment 1 kay.ramme 2002-06-05 15:22:15 UTC
Jochen, could you please take a look?
Comment 2 joachim.lingner 2002-06-17 08:48:40 UTC
This bug has been submitted into the staroffice's internal bug 
database with the id 99957
Comment 3 joachim.lingner 2002-09-24 16:38:33 UTC
Issue is solved as of srx644a.