Bug 147195 - ScriptForge "L10N" service stopped working in LO 7.3
Summary: ScriptForge "L10N" service stopped working in LO 7.3
Status: RESOLVED DUPLICATE of bug 146836
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ScriptForge
  Show dependency treegraph
 
Reported: 2022-02-04 14:11 UTC by Rafael Lima
Modified: 2024-02-08 12:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODS file with the macro (10.06 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-04 14:11 UTC, Rafael Lima
Details
pt-BR.po (3.64 KB, text/x-gettext-translation)
2022-02-04 14:12 UTC, Rafael Lima
Details
en-US.po (2.71 KB, text/x-gettext-translation)
2022-02-04 14:12 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-02-04 14:11:45 UTC
Created attachment 178063 [details]
Sample ODS file with the macro

Up until 7.2.5 the service "L10N" from scriptforge was working fine. Since I updated to 7.3 whenever I create the service, the script is interrupted without issuing any error messages.

To reproduce:
1) Download the sample po files and place them inside the same folder
2) Open the attached sample ODS file
3) Edit line 6 of the macro in the Standard.Module1 module to inform the path to where the po files are located.
2) Place a breakpoint at line 17 in the Standard.Module1 module.
3) Run the macro
3) Notice that when it reaches line 17 with the instruction below, pressing "Step over" or Shift+F8 will make the debug pointer disappear and the macro will stop without any error messages.

svc = CreateScriptService("L10N", poFolder)

4) Notice that the MsgBox in line 23 is never reached.

This fails in LO 7.3 but runs as expected in LO 7.2.5. Next is my system info:

Version: 7.3.0.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.0~rc3-0ubuntu0.21.10.1~lo1
Calc: threaded
Comment 1 Rafael Lima 2022-02-04 14:12:24 UTC
Created attachment 178064 [details]
pt-BR.po
Comment 2 Rafael Lima 2022-02-04 14:12:46 UTC
Created attachment 178065 [details]
en-US.po
Comment 3 Rafael Lima 2022-02-04 18:15:06 UTC
This bug is only present in LO 7.3.

In 7.4 alpha all works fine. My guess is that some patch implemented for 7.4 should have been cherry-picked for 7.3 as well.

Tested in:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 9d50307b2e1fd26d415539d3ed8624c7a449e45b
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 4 Xisco Faulí 2022-02-10 08:45:49 UTC
Hello Rafael,
Probably this is the same issue as tdf#146836.
https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-7-3&id=1a343e3168c6ac8acf3279307275727e588ddcb7 just landed in libreoffice-7-3 and it should fix it.
Could you please wait a couple a days and test again with a daily build from https://dev-builds.libreoffice.org/daily/libreoffice-7-3/current.html containing the patch ?
Comment 5 Rafael Lima 2022-02-11 11:41:06 UTC
(In reply to Xisco Faulí from comment #4)
> Could you please wait a couple a days and test again with a daily build from
> https://dev-builds.libreoffice.org/daily/libreoffice-7-3/current.html
> containing the patch ?

Hi Xisco, I tested today with the latest build of 7.3.1 and all seems to be working. At least the cases that made me open this bug report are now fixed.

Should we set this report as FIXED ? Or as WORKSFORME ? Because there wasn't a patch specific for this issue.

Here's the build info:

Version: 7.3.1.0.0+ / LibreOffice Community
Build ID: c1fd702dacec60cbd87531e9f11caf3d0cfbb155
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 6 Xisco Faulí 2022-02-11 14:03:00 UTC
(In reply to Rafael Lima from comment #5)
> (In reply to Xisco Faulí from comment #4)
> > Could you please wait a couple a days and test again with a daily build from
> > https://dev-builds.libreoffice.org/daily/libreoffice-7-3/current.html
> > containing the patch ?
> 
> Hi Xisco, I tested today with the latest build of 7.3.1 and all seems to be
> working. At least the cases that made me open this bug report are now fixed.
> 
> Should we set this report as FIXED ? Or as WORKSFORME ? Because there wasn't
> a patch specific for this issue.
> 
> Here's the build info:
> 
> Version: 7.3.1.0.0+ / LibreOffice Community
> Build ID: c1fd702dacec60cbd87531e9f11caf3d0cfbb155
> CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: pt-BR (pt_BR.UTF-8); UI: en-US
> Calc: threaded

Thanks for testing.
Let's close it as duplicated then

*** This bug has been marked as a duplicate of bug 146836 ***