Summary: | Can't save kmy file (windows 10 ) | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Logistix <rrpkey> |
Component: | file | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ralf.habacker |
Priority: | NOR | ||
Version First Reported In: | 5.1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Error window |
Description
Logistix
2024-04-23 09:34:34 UTC
(In reply to Logistix from comment #0) > Created attachment 168828 [details] > Error window > > OBSERVED RESULT > Error screen with message: > "Unable to open file 'C:/Users/Ussser/Documents/001.kmy' for writing. Please open a comand shell in the subdirectory 'bin' of the installed product and run kmymoney from this shell. It will print more intrtnal information. Further information related to access rights and other possible issues can be find out by using procmon from sysinternals. Updated status 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! Within kmymoney there is a possible improvement for such situations - In case of errors, the QFile::setError() method is called (https://github.com/qt/qtbase/blob/3f34ee3196930d0bda167fe783ea7b2b62a1fe4d/src/corelib/io/qfsfileengine_win.cpp#L102), which contains the underlying Windows error message with qt_error_string() and which is available with the call of QFile::errorString() and can be printed too. Git commit 1c6fef51e9b5a1f511b320dfd7a58ccc7f0cc598 by Ralf Habacker. Committed on 18/11/2024 at 09:00. Pushed by habacker into branch 'master'. Output more details for errors relating to opening files for writing To avoid changing translations, the untranslated details are appended programmatically. M +1 -1 kmymoney/plugins/csv/export/csvwriter.cpp M +1 -1 kmymoney/plugins/qif/export/mymoneyqifwriter.cpp M +1 -1 kmymoney/plugins/xml/xmlstorage.cpp https://invent.kde.org/office/kmymoney/-/commit/1c6fef51e9b5a1f511b320dfd7a58ccc7f0cc598 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! 🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |