Bug#717930: ImportError: No module named pyuno
severity 717930 grave
tag 717930 + pending
thanks
Hi,
On Fri, Jul 26, 2013 at 07:02:47PM +0200, Tecnosegugio wrote:
> Don't if this is a Debian bug or a LibreOffice bug: haven't found any bug like
> this on LibreOffice BTS.
Debian bug.
[...]
> Comparing the /usr/share/pyshared/uno.py with previous version I've noticed the
> path on line 2 was missing the leading '/'
>
> sys.path.append('usr/lib/libreoffice/program')
>
> I've added the leading '/' and now everythings works!
> Line 2 now looks like:
>
> sys.path.append('/usr/lib/libreoffice/program')
>
> (notice the leading '/' in the path)
Yes, already seen and already fixed in git:
http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=commitdiff;h=d2dbab37c2b933abf510d9bd4f879d75b628004b;hp=cb0e52eafaa2c610e916e2a164bbf69a4b420a13
Regards,
Rene
P.S.: If possible, you should migrate to python3-uno. That's what is
supposed upstream, python-uno is just shipped in Debian for compatibility
with software which wasn't able to adapt (yet).
python3-uno has the same bug, though right now.
Reply to: