https://bugs.documentfoundation.org/show_bug.cgi?id=72504

--- Comment #32 from Ηλίας Ηλιάδης <apiuano-lob...@yahoo.gr> ---
Still exists in 5.1.6.2 (UBUNTU 16.04).

Since most Linux systems do not automount smb shares but rather use the smb URL
protocol, it is not possible to fully access, from Linux, the LO Documents in
shares.

Adding this in case it has some useful info:
running a file in:   smb://MyFileServer/MyShare/

Παρουσιάστηκε ένα σφάλμα σκελετού σεναρίου κατά την εκτέλεση του σεναρίου
Python
vnd.sun.star.script:LibraryTA|mdlgeneral.py$initapp?language=Python&location=document.

Μήνυμα: <class 'uno.com.sun.star.uno.RuntimeException'>: Couldn't convert file
url  to a system path for reason (21)
  /usr/lib/python3/dist-packages/unohelper.py:184 in function
fileUrlToSystemPath() [return pyuno.fileUrlToSystemPath( url )]
  vnd.sun.star.tdoc:/48755696/Scripts/python/LibraryTA/mdlgeneral.py:34 in
function <module>() []
  /usr/lib/libreoffice/program/pythonscript.py:452 in function getModuleByUrl()
[exec(code, entry.module.__dict__)]
  /usr/lib/libreoffice/program/pythonscript.py:993 in function getScript() [mod
= self.provCtx.getModuleByUrl( fileUri )]

python script:
33: thisODB = XSCRIPTCONTEXT.getDocument()
34: tmpurl =
unohelper.fileUrlToSystemPath('{}/{}'.format(thisODB.URL,'Scripts/python/LibraryTA'))

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to