On my master build Version: 5.3.0.0.alpha0+ Build ID: 3e7a6544da370f641b21fd03a86a1c84d6ea6576 CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; Locale: fr-FR (fr.UTF-8); Calc: group when I try to run a python script from the Run Macros dialog, I see a list of available script entries in the left hand pane of the the dialog, however, none of the python scripts are displayed in the right hand pane, which means one can not select them to be executed.
Created attachment 126666 [details] Screenshot of Run Macro dialog
In lldb, I am seeing this when I try and descend the macro entry tree (left hadn window) : Python exception: <class 'TypeError'>: Expected bytes object or ByteSequence, got <class 'str'> instead., traceback follows File "/Applications/LibreOfficeDev.app/Contents/Resources/pythonscript.py", line 596, in getChildNodes self.funcnames = self.provCtx.getFuncsByUrl( self.uri ) File "/Applications/LibreOfficeDev.app/Contents/Resources/pythonscript.py", line 386, in getFuncsByUrl src = readTextFromStream( self.sfa.openFileRead( url ) ) File "/Applications/LibreOfficeDev.app/Contents/Resources/pythonscript.py", line 156, in readTextFromStream code = uno.ByteSequence( "" ) File "/Applications/LibreOfficeDev.app/Contents/Resources/uno.py", line 279, in __init__ raise TypeError("Expected bytes object or ByteSequence, got %s instead." % type(value))
This works in LO5152
A long time ago, in bug 34699, there was also this exchange : https://lists.freedesktop.org/archives/libreoffice/2011-February/008542.html has this re-surfaced again ?
I have exatly the same problem with my Linux build from master Version: 5.3.0.0.alpha0+ Build ID: 428a1da60b88415e7db21353a42bed85b8b76ed9 Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut; Locale : fr-FR (fr_FR.UTF-8); Calc: group LinuxMint 18 Sarah
Now fixed in Version: 5.3.0.0.alpha0+ Build ID: 3a668616968dbce778c54ec56847828efa7bdb6d CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; Locale: fr-FR (fr.UTF-8); Calc: group Fixed by following commit : https://cgit.freedesktop.org/libreoffice/core/commit/?id=adb9cbff1f6c380bfae85e7dd96ff6cff22ffbe9