[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #10 from Thomas Baumgart --- Looking at the Qt code here is what happens: KMyMoney calls QLockFile::tryLock() on the .lck file which fails in QLockFilePrivate::tryLock_sys() with QLockFile::LockFailedError because the .lck file already exis

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #9 from Ralf Habacker --- (In reply to Ralf Habacker from comment #8) > Here is a related location which is called from kmymoney code at https://github.com/KDE/kmymoney/blob/284c619bf10638a98fdf8a0ab24be6aacebd5efc/kmymoney/plugins/xml/xml

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #8 from Ralf Habacker --- (In reply to Ralf Habacker from comment #7) > Since the same error message is displayed, the cause of the error is > probably somewhere else (indicated by the mentioned file '*.rmlock') Here is a related location

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #7 from Ralf Habacker --- (In reply to Ralf Habacker from comment #6) > I did run kmymoney with strace and got: This was the log for the second run. Here is the one from the first run: write(2, "Open file QUrl(\"file:///server/d"..., 8

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #6 from Ralf Habacker --- I did run kmymoney with strace and got: write(2, "Open file QUrl(\"file:///server/d"..., 83) = 83 access("/server/daten/kmymoney.xml", F_OK) = 0 statx(AT_FDCWD, "/server/daten/kmymoney.xml", AT_STATX_SYNC_AS_STAT|

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #5 from Thomas Baumgart --- Here's where this message comes from: https://github.com/qt/qtbase/blob/v5.15.12-lts-lgpl/src/corelib/io/qlockfile_unix.cpp#L142-L193 -- You are receiving this mail because: You are the assignee for the bug.

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #4 from Ralf Habacker --- (In reply to Ralf Habacker from comment #3) > In the console I saw kmymoney printing the following message > > Open file QUrl("file:///server/.../test.xml") > setNativeLocks failed: "Permission denied" The share o

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #3 from Ralf Habacker --- (In reply to Ralf Habacker from comment #2) > - on one computer I have the problem when the file in question is stored on > an nfs share. Files on the local file system are not affected In the console I saw kmymone

[kmymoney] [Bug 503551] kmymoney prints "File ... is already opened by another process"

2025-04-30 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=503551 --- Comment #2 from Ralf Habacker --- I did some additional testing and made the following observations: - on one computer I have the problem when the file in question is stored on an nfs share. Files on the local file system are not affected - on anot