https://bugs.documentfoundation.org/show_bug.cgi?id=94094
--- Comment #3 from Jakobus Schürz <[email protected]> --- Hi there! I recognized a similar Problem. I have a Base-Database, and i create a writer-document with a macro and a query. The database is locally stored on my PC, the writer-doc should be stored on a fileserver, mapped on a network-drive in win7pro. In my script is a test, wheter the store-location exists, after creating a uno-service for my paths (to store it alternatively on my local machine, if the network is down). [code] Path = createunoservice("com.sun.star.util.PathSettings") sDrive="Y:/" 'sDrive=ConvertFromUrl(Path.Work & getPathSeparator()) wait(200) 'msgbox "TEST vor" If ismissing(sPath) then sPath = sDrive & "MMB\allgemeine Korrespondenz" End If 'msgbox "TEST mitte" wait(200) If not FileExists(sPath) Then On Error Resume Next Mkdir(sPath) If not FileExists(sPath) Then sPath = Path.work End If End If wait(200) [/code] Every second time, the whole LO freezes. So i put into the 3 "wait"-commands. I've tested, i need all three... On LO4.5 100ms are sufficient, on LO5.0.2.2 i need 200ms to wait for. The same is at the end of the macro, when i save the file. Freezing without wait, no freeze, including the wait. I don't know, why i need the first wait-command. In my path-variables is no network-drive included. Maybe LO asks all drives on creating the path-variable with the uno-service, and there is the same unclear result-state as on the "FileExists"-function Think, this could be the same problem, as described in the bug. greez jakob -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
