Bug#725491: python-uno: ImportError().with_traceback doesn't exists in Python2
found 725491 1:4.1.1~rc1-1
thanks
Hi,
On Sun, Oct 06, 2013 at 04:27:05PM +0200, Tecnosegugio wrote:
> Package: python-uno
> Version: 1:4.1.2-1
No...
There's no uno.py change between 4.1.1 and 4.1.2.
(Diffing in git says says it was introduced in between 4.1.0 and 4.1.1)
> Severity: grave
> Tags: patch
> Justification: renders package unusable
Seriously? Why? Yes, it fails when there's a ImportError to throw, but it
should work otherwise?
I mean, it's there since months now and you only report this now, so it can't
be that critical, no? Should be fixed nevertheless, yes. (And be it by phasing
out python2 support)
> 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.
Will forward upstream.
Regards,
Rene
Reply to: