https://bugs.documentfoundation.org/show_bug.cgi?id=127009

--- Comment #11 from Buovjaga <[email protected]> ---
(In reply to Konstantin Kharlamov from comment #10)
> So, I am trying to repro this again, and I'm getting the following error:
> 
>     Traceback (most recent call last):
>       File "/tmp/test.py", line 1, in <module>
>         import uno
>       File "/usr/lib/python3.12/site-packages/uno.py", line 19, in <module>
>         import pyuno
>     ModuleNotFoundError: No module named 'pyuno'
> 
> Note: I am importing `uno`, however the error goes from the LibreOffice
> internals about "pyuno" instead.
> 
> I made a file search for a file named "pyuno"¹ in the sources and LO repo
> has none. I presume this is a new bug on the LO side…?
> 
> 1:
> https://github.com/
> search?q=repo%3ALibreOffice%2Fcore+path%3A**%2Fpyuno*&type=code

Not a bug on LibreOffice's side. You seem to have installed uno.py via pip.
Better to use what is shipped with LibreOffice.

This might help to check:
export PYTHONPATH=/usr/lib/libreoffice/program/:$PYTHONPATH

For me, nothing is printed with test.py with the original steps (uno is
imported fine).

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfffcbc39b2c6794eaeddae5134fb59848a76d41
CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to