To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=88211 Issue #|88211 Summary|PyUNO broken in OOo 3.0 DEV300 Component|api Version|DEV300m6 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P2 Subcomponent|code Assigned to|jsc Reported by|aziem
------- Additional comments from [EMAIL PROTECTED] Sat Apr 12 22:02:21 +0000 2008 ------- Two PyUNO programs I've used in OOo 1.1.5 - OOo 2.4.0 no longer work in OOo 3.0 DEV300_m3 to DEV300_m6. I even tested the PyUNO hello world. Maybe I am doing something stupid? :) Attempt #1 1. Copy hello_world.py from http://udk.openoffice.org/python/python-bridge.html 2. /home/z/programs/ooo300_m6/openoffice.org3.0/program/soffice "-accept=socket,host=localhost,port=2002;urp;StarOffice.ServiceManager" -norestore -nofirststart -nologo -headless 3. ~/programs/ooo300_m6/openoffice.org/basis3.0/program/python.sh /tmp/hello.py Traceback (most recent call last): File "/tmp/hello.py", line 18, in ? model = desktop.getCurrentComponent() AttributeError: getCurrentComponent Attempt #2 1. Download http://www.artofsolving.com/opensource/pyodconverter 2. /home/z/programs/ooo300_m6/openoffice.org3.0/program/soffice -accept="socket,port=8100;urp;" 3. /programs/ooo300_m6/openoffice.org/basis3.0/program/python.sh /tmp/DocumentConverter.py /tmp/foo.odt /tmp/foo.doc Traceback (most recent call last): File "/tmp/DocumentConverter.py", line 139, in ? converter.convert(argv[1], argv[2]) File "/tmp/DocumentConverter.py", line 99, in convert document = self.desktop.loadComponentFromURL(inputUrl, "_blank", 0, _unoProps(Hidden=True, ReadOnly=True)) AttributeError: loadComponentFromURL --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]