https://bugs.freedesktop.org/show_bug.cgi?id=42133

             Bug #: 42133
           Summary: loss of PyUNO exported function, loadComponentFromURL
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 52655
  --> https://bugs.freedesktop.org/attachment.cgi?id=52655
Highlight possible error with DesktopInstance.loadFromComponentURL

In the context of Pyuno, my rudimentary scripts suggest that
loadComponentFromURL is no longer exported.

This is the same symptom as with LibO 3.3.2 apparently (Bug 36192)

Attached script should highly the problem (line 34).  The resulting error
output:

-----
$ ./SimpleTest.py 
[...]/solver/unxlngx6.pro/installation/opt/basis3.5/program
Traceback (most recent call last):
  File "./SimpleTest.py", line 24, in <module>
    doc = desktop.loadComponentFromURL( "private:factory/scalc","_blank", 0, ()
)
AttributeError: loadComponentFromURL

-----

Given that this happened so soon after Bug 36192 was resolved, I don't know
whether the API has changed under me, or if this is a bug.

Recreated with:

$ git log -1
commit 237c5f0290169aa31e10990c05b7ea39d9fc70bd
Author: Bjoern Michaelsen <[email protected]>
Date:   Sat Oct 22 12:36:07 2011 +0200

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to