[Libreoffice-bugs] [Bug 151695] Errors when Running Scripts separately from the LibreOffice process

2023-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151695

Rafael Lima  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |rafael.palma.l...@gmail.com
   |desktop.org |
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

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

[Libreoffice-bugs] [Bug 151695] Errors when Running Scripts separately from the LibreOffice process

2023-07-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151695

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:24.2.0

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

[Libreoffice-bugs] [Bug 151695] Errors when Running Scripts separately from the LibreOffice process

2023-07-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151695

Rafael Lima  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
 CC||rafael.palma.l...@gmail.com

--- Comment #2 from Rafael Lima  ---
I just stumbled upon this issue... I guess the reason you're getting this error
is because you're using your OS python interpreter instead of using
LibreOffice's own python interpreter.

In this case, you need to set the proper PYTHONPATH

export PYTHONPATH=/usr/lib/libreoffice/program:/usr/lib/python3/dist-packages

Note:
/usr/lib/libreoffice/program   --> this is where scriptforge.py is located
/usr/lib/python3/dist-packages --> this is where uno.py is located

So you need to set this first before launching the interpreter.

I'll update the help page accordingly:
https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03/sf_intro.html

In summary, this is not a bug in ScriptForge nor LibreOffice... but an
improvement in documentation is required.

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

[Libreoffice-bugs] [Bug 151695] Errors when Running Scripts separately from the LibreOffice process

2023-02-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151695

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Status|UNCONFIRMED |NEEDINFO
 Whiteboard| QA:needsComment|
 Ever confirmed|0   |1

--- Comment #1 from Buovjaga  ---
(In reply to Paul Smith from comment #0)
> Description:
> I do the following:
> 
> libreoffice --calc --accept='socket,host=localhost,port=2021;urp;'
> cd /usr/lib64/libreoffice/program
> python

What exactly are you doing here? You just run python REPL and it gives you the
error? I don't understand.

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

[Libreoffice-bugs] [Bug 151695] Errors when Running Scripts separately from the LibreOffice process

2022-11-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151695

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

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