[Expired for libreoffice (Ubuntu) because there has been no activity for
60 days.]
** Changed in: libreoffice (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1222823
Title:
Libreoffice 'exceptions.ImportError object has no attribute
'with_traceback'"
Status in LibreOffice:
Invalid
Status in libreoffice package in Ubuntu:
Expired
Bug description:
This happens here in an Ubuntu 12.04 32 bit. It may happen to other
versions but I haven't tried yet.
When using Libreoffice 1:4.1.1-0ubuntu1~precise1 (Help - About LibreOffice
shows Version: 4.1.1.2, Build ID: 410m0(Build:2) installed using the PPA
libreoffice-4.1: when adding the attached extension it shows an error message
such as:
-------------
<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/copy.py:60 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/decimal.py:139 in function <module>() [import copy as
_copy]
/usr/lib/python2.7/dist-packages/uno.py:268 in function _uno_import()
[return _g_delegatee( name, *optargs, **kwargs )]
/usr/lib/python2.7/dist-packages/simplejson/__init__.py:109 in function
<module>() [from decimal import Decimal]
/usr/lib/python2.7/dist-packages/uno.py:268 in function _uno_import()
[return _g_delegatee( name, *optargs, **kwargs )]
/home/carles/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lumd3lp.tmp_/Mendeley-1.10-dev3.oxt/Scripts/MendeleyDesktopAPI.py:17
in function <module>() [try: import simplejson as json]
/usr/lib/libreoffice/program/pythonloader.py:103 in function
getModuleFromUrl() [exec(codeobject, mod.__dict__)]
/usr/lib/libreoffice/program/pythonloader.py:149 in function
writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]
-------------
Using Libreoffice 4.1 from libreoffice.org: works correctly.
Editing the extension with this change:
-except ImportError: import json
+except: import json
(it appears twice)
Then it works correctly - not sure why.
Let me know if you need some more information.
Thank you,
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1222823/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp