Created attachment 178536 [details] Error window ScriptForge macros will not run To reproduce: 1) Download https://github.com/rafaelhlima/LibOCon_2021_SFCalc Demo 2) Open Sample_File.ods and run a macro from the first few sheets 3) Always returns getModuleByUrl Error Does not occur in LO v7.4.0.0.alpha0+ Version: 7.3.1.1 (x64) / LibreOffice Community Build ID: 349cd3ad57dce98d6b54b76f8e9f456ac7d7edb7 CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: en-AU (en_AU); UI: en-GB Calc: threaded
Please retry after having put the LibOCon_2021.py file in the Scripts\python directory of your user profile. JP
ScriptForge demo is working as expected. A clean install of LibreOffice including user config had removed the Python scripts. Can a more meaningful error message for python script pathname not found be shown?
The message is issued by the LO ScriptProvider service. It is very clear: A Scripting Framework error occurred while running the Python script vnd.sun.star.script:LibOCon_2021.py$clear_region_a1? language=Python&location=user i.e. LO could not find either the script (LibOCon_2021.py) or the def (clear_region_a1). Notice that the issue happens BEFORE ScriptForge is involved. I close the bug report.
(In reply to Jean-Pierre Ledure from comment #3) > LO could not find either the script (LibOCon_2021.py) or the def > (clear_region_a1) Now that WOULD be clear.