[Bug 849136] New: LibreOffice PyUno crashes OpenLP by trying to use Python 3 feature
https://bugzilla.novell.com/show_bug.cgi?id=849136 https://bugzilla.novell.com/show_bug.cgi?id=849136#c0 Summary: LibreOffice PyUno crashes OpenLP by trying to use Python 3 feature Classification: openSUSE Product: openSUSE 13.1 Version: RC 2 Platform: All OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: LibreOffice AssignedTo: bnc-team-ooo@forge.provo.novell.com ReportedBy: jdmulloy@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 LibreOffice has moved on to using Python 3 for PyUNO, but the system Python on openSUSE is still 2.7 so the exception handling code on line 336 of /usr/lib/python2.7/site-packages/uno.py will crash because it tries to use "with_traceback" on an exception, which is a Python 3 feature. I'll submit a patch to fix this. https://bugs.freedesktop.org/show_bug.cgi?id=69070 This is the Traceback generated when attempting to run OpenLP File "/usr/bin/openlp", line 44, in <module> main() File "/usr/lib/python2.7/site-packages/openlp/core/__init__.py", line 342, in main sys.exit(app.run(qt_args)) File "/usr/lib/python2.7/site-packages/openlp/core/__init__.py", line 150, in run self.mainWindow = MainWindow(self) File "/usr/lib/python2.7/site-packages/openlp/core/ui/mainwindow.py", line 685, in __init__ self.pluginManager.find_plugins(plugin_path, self.pluginHelpers) File "/usr/lib/python2.7/site-packages/openlp/core/lib/pluginmanager.py", line 113, in find_plugins __import__(modulename, globals(), locals(), []) File "/usr/lib/python2.7/site-packages/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib/python2.7/site-packages/openlp/plugins/bibles/bibleplugin.py", line 38, in <module> from openlp.plugins.bibles.lib import BibleManager, BiblesTab, BibleMediaItem File "/usr/lib/python2.7/site-packages/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib/python2.7/site-packages/openlp/plugins/bibles/lib/__init__.py", line 456, in <module> from manager import BibleManager File "/usr/lib/python2.7/site-packages/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib/python2.7/site-packages/openlp/plugins/bibles/lib/manager.py", line 47, in <module> from openlp1 import OpenLP1Bible File "/usr/bin/openlp", line 44, in <module> main() File "/usr/lib/python2.7/site-packages/openlp/core/__init__.py", line 342, in main sys.exit(app.run(qt_args)) File "/usr/lib/python2.7/site-packages/openlp/core/__init__.py", line 150, in run self.mainWindow = MainWindow(self) File "/usr/lib/python2.7/site-packages/openlp/core/ui/mainwindow.py", line 685, in __init__ self.pluginManager.find_plugins(plugin_path, self.pluginHelpers) File "/usr/lib/python2.7/site-packages/openlp/core/lib/pluginmanager.py", line 113, in find_plugins __import__(modulename, globals(), locals(), []) File "/usr/lib/python2.7/site-packages/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib/python2.7/site-packages/openlp/plugins/bibles/bibleplugin.py", line 38, in <module> from openlp.plugins.bibles.lib import BibleManager, BiblesTab, BibleMediaItem File "/usr/lib/python2.7/site-packages/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib/python2.7/site-packages/openlp/plugins/bibles/lib/__init__.py", line 456, in <module> from manager import BibleManager File "/usr/lib/python2.7/site-packages/uno.py", line 269, in _uno_import return _g_delegatee( name, *optargs, **kwargs ) File "/usr/lib/python2.7/site-packages/openlp/plugins/bibles/lib/manager.py", line 47, in <module> from openlp1 import OpenLP1Bible Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849136 https://bugzilla.novell.com/show_bug.cgi?id=849136#c1 --- Comment #1 from Joseph Mulloy <jdmulloy@gmail.com> 2013-11-06 06:51:57 UTC --- LibreOffice 4.1.3.2 has a fix for this which I will backport. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849136 https://bugzilla.novell.com/show_bug.cgi?id=849136#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-11-08 07:00:12 CET --- This is an autogenerated message for OBS integration: This bug (849136) was mentioned in https://build.opensuse.org/request/show/206245 13.1 / libreoffice -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849136 https://bugzilla.novell.com/show_bug.cgi?id=849136#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-11-11 14:00:14 CET --- This is an autogenerated message for OBS integration: This bug (849136) was mentioned in https://build.opensuse.org/request/show/206246 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=849136 https://bugzilla.novell.com/show_bug.cgi?id=849136#c4 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Tomáš Chvátal <tchvatal@suse.com> 2014-08-06 14:28:32 UTC --- As per everything mentioned here this should be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com