[Libreoffice-bugs] [Bug 72504] EDITING: Unable to edit .odb file with non-local URL

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 29 11:37:56 UTC 2018


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

--- Comment #32 from Ηλίας Ηλιάδης <apiuano-lobugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180529/a00474ca/attachment.html>


More information about the Libreoffice-bugs mailing list