[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 Michael Stahl mst...@redhat.com changed: What|Removed |Added Status|NEW |RESOLVED Whiteboard|EasyHack DifficultyBeginner |target:4.1.2 target:4.2.0 |SkillCpp TopicCleanup | |target:4.1.2 target:4.2.0 | Resolution|--- |FIXED CC||mst...@redhat.com --- Comment #8 from Michael Stahl mst...@redhat.com --- this appears to be fixed, thanks Daniel! import uno x = uno.getComponentContext() dir(x) ['/services/com.sun.star.security.AccessController/mode', ... 'ElementNames', 'ElementType', 'ImplementationId', 'ServiceManager', 'Types', 'addEventListener', 'dispose', 'getByName', 'getElementNames', 'getElementType', 'getImplementationId', 'getServiceManager', 'getTypes', 'getValueByName', 'hasByName', 'hasElements', 'insertByName', 'queryAdapter', 'queryInterface', 'removeByName', 'removeEventListener', 'replaceByName'] -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 Michael Stahl mst...@redhat.com changed: What|Removed |Added Component|Libreoffice |sdk --- Comment #9 from Michael Stahl mst...@redhat.com --- (In reply to comment #8) this appears to be fixed, thanks Daniel! argh sorry, thanks *David* of course -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 alexjay...@gmail.com changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |alexjay...@gmail.com |desktop.org | -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 alexjay...@gmail.com changed: What|Removed |Added Assignee|alexjay...@gmail.com|libreoffice-b...@lists.free ||desktop.org -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 alexjay...@gmail.com changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |alexjay...@gmail.com |desktop.org | -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 Björn Michaelsen bjoern.michael...@canonical.com changed: What|Removed |Added CC||libreoffice@lists.freedeskt ||op.org --- Comment #7 from Björn Michaelsen bjoern.michael...@canonical.com --- adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility. see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 Commit Notification libreoffice-comm...@lists.freedesktop.org changed: What|Removed |Added Whiteboard|EasyHack DifficultyBeginner |EasyHack DifficultyBeginner |SkillCpp TopicCleanup |SkillCpp TopicCleanup ||target:4.1.2 --- Comment #5 from Commit Notification libreoffice-comm...@lists.freedesktop.org --- David Bolen committed a patch related to this issue. It has been pushed to libreoffice-4-1: http://cgit.freedesktop.org/libreoffice/core/commit/?id=125be9e41c2a6d40bf4646d4a8af96f5d97994d8h=libreoffice-4-1 fdo#50470: Restore pyuno object method introspection in Python 3 It will be available in LibreOffice 4.1.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 Commit Notification libreoffice-comm...@lists.freedesktop.org changed: What|Removed |Added Whiteboard|EasyHack DifficultyBeginner |EasyHack DifficultyBeginner |SkillCpp TopicCleanup |SkillCpp TopicCleanup |target:4.1.2|target:4.1.2 target:4.2.0 --- Comment #6 from Commit Notification libreoffice-comm...@lists.freedesktop.org --- David Bolen committed a patch related to this issue. It has been pushed to master: http://cgit.freedesktop.org/libreoffice/core/commit/?id=1be8e912ba8a7d1acaf40d5a8597421c104ab39c fdo#50470: Restore pyuno object method introspection in Python 3 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 --- Comment #4 from David Bolen db3l@gmail.com --- I ran into this myself recently while doing some testing with LO 4.x, and have generated a patch. Tested against current master (should apply in general to any LO 4.x). Also built against 3.6.7 (to verify compatibility back to 2.6), though obviously it's not needed in the LO 3.x versions. https://gerrit.libreoffice.org/5375 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 --- Comment #3 from David Tardon dtar...@redhat.com 2012-06-01 05:02:39 UTC --- But all the code needed is already there, so I think it still qualifies as an Easy Hack. If I wanted to have a go at it, can pyuno be built by itself, or would I have to build the whole of LO to test it? No, you have to build the whole thing. -- 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 Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 --- Comment #2 from Thomas Kluyver tho...@kluyver.me.uk 2012-05-30 03:20:30 PDT --- It's not completely trivial: obj.__members__ is a list itself, while obj.__dir__ should be a method that returns a list when called. The PyUno class doesn't yet have any regular methods defined, so it will need a bit of adaptation to declare a method to the Python C-API. The docs are here: http://docs.python.org/c-api/typeobj.html#PyTypeObject.tp_methods But all the code needed is already there, so I think it still qualifies as an Easy Hack. If I wanted to have a go at it, can pyuno be built by itself, or would I have to build the whole of LO to test it? -- 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 Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 David Tardon dtar...@redhat.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Status Whiteboard||EasyHack DifficultyBeginner ||SkillCpp CC||dtar...@redhat.com Ever Confirmed|0 |1 --- Comment #1 from David Tardon dtar...@redhat.com 2012-05-29 22:18:47 PDT --- This should be really easy. The code that handles the __members__ function is in pyuno/source/module/pyuno.cxx at line 456; it only needs to be adapted to handle __dir__ as well. -- 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 Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 50470] PyUno objects not introspectable on Python 3
https://bugs.freedesktop.org/show_bug.cgi?id=50470 David Tardon dtar...@redhat.com changed: What|Removed |Added Status Whiteboard|EasyHack DifficultyBeginner |EasyHack DifficultyBeginner |SkillCpp|SkillCpp TopicCleanup -- 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 Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs