Package: python-uno
Version: 1:4.1.2-1
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

In line 335 of uno.py, exception ImportError() use the method .with_traceback()
which is not available in Python2.x but only in Python3.x.
This lead to an AttributeError() exception and line 338 will never be reached
to raise the correct exception ImportError().

Removing the ".with_traceback..." part solve the problem.

This is the code as it look now:

/usr/share/pyshared/uno.py
333:              uno_import_exc = ImportError(
334:                  "%s (or '%s.%s' is unknown)" % (py_import_exc, name, x)
335:                  )

Thank you.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-uno depends on:
ii  libc6             2.17-93
ii  libgcc1           1:4.8.1-10
ii  libpython2.7      2.7.5-8
ii  libreoffice-core  1:4.1.2-1
ii  libstdc++6        4.8.1-10
ii  python            2.7.5-5
ii  uno-libs3         4.1.2-1
ii  ure               4.1.2-1

python-uno recommends no packages.

python-uno suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-openoffice-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131006142705.2280.83803.report...@satellite.casa

Reply via email to