[Github-comments] [geany/geany] Geany refuses to save a file (under yet undetermined conditions) (#1500)

elextr notifications at xxxxx
Mon May 22 14:18:54 UTC 2017


Just for some rainy day reading see my PHD thesis on saving files in Geany on the [wiki](https://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving).

> If someone could provide me a special, instrumented version, which logs what is going on during saving, I could run it until the problem occurs again, and then send the logs.

As the wiki article says, two of the three saving methods are from libraries that we don't control, so there is not much that can be done to see what is going on there.  The third saving method is so simple that there is nothing to log, it exits on the first error and gives you a failure dialog.

The error message in German in your OP does not seem to be one of ours, suggesting that you were running one of the library saving methods when that occurred.  Our message says "Failed to open file '%s' for writing: fopen() failed: %s", and the German translation also contains the "fopen()" part which is missing in the dialog you posted.  Please make very sure that you have all three of the options `use_atomic_file_saving` and `use_gio_unsafe_file_saving` and `gio_unsafe_save_backup` turned off.

Finally thank you for continuing to help track the problem down, as you understand, until we can replicate it we can't do anything to fix it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1500#issuecomment-303113517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170522/80bf2818/attachment.html>


More information about the Github-comments mailing list