From the first pop-up, it seems like somehow tcl is probably running:
libreoffice /mnt/Data/Dropbox/Data/APPS/Ledger/'macro:///Stardard.Module1.ToPDFWithFont(/mnt/Data/Dropbox/Data...
and treating the comma separated 'macro://string, 10'
as an array it needs to append to the base path…
Maybe try making sure your Tcl is quoting the path with "
? Otherwise, I think this has become more of a Tcl debugging question and you should start a new thread.
P.S.
Please copy text whenever possible instead of posting screenshots on the forum. Rules here: