https://bugs.freedesktop.org/show_bug.cgi?id=69070
Priority: medium
Bug ID: 69070
Assignee: [email protected]
Summary: with_traceback is python 3.x only
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: All
Status: UNCONFIRMED
Version: 4.1.2.1 rc
Component: sdk
Product: LibreOffice
I have installed python-uno package for ubuntu 13.04. My python extension are
not working anymore. This is the traceback
ERROR: <type 'exceptions.AttributeError'>: 'exceptions.ImportError' object has
no attribute 'with_traceback', traceback follows
/usr/lib/python2.7/dist-packages/uno.py:334 in function _uno_import() ["%s
(or '%s.%s' is unknown)" % (py_import_exc, name, x)]
/usr/lib/python2.7/pickle.py:88 in function <module>() [from org.python.core
import PyStringMap]
/usr/lib/python2.7/dist-packages/uno.py:268 in function _uno_import() [return
_g_delegatee( name, *optargs, **kwargs )]
/usr/lib/python2.7/subprocess.py:432 in function <module>() [import pickle]
/usr/lib/python2.7/dist-packages/uno.py:268 in function _uno_import() [return
_g_delegatee( name, *optargs, **kwargs )]
The problem is line 334 of uno.py which use the with_traceback method which is
for python 3.x only. Removing it solves my problem.
Regards.
--
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