<p>Just for some rainy day reading see my PHD thesis on saving files in Geany on the <a href="https://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving">wiki</a>.</p>
<blockquote>
<p>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.</p>
</blockquote>
<p>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.</p>
<p>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 <code>use_atomic_file_saving</code> and <code>use_gio_unsafe_file_saving</code> and <code>gio_unsafe_save_backup</code> turned off.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1500#issuecomment-303113517">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0QW48uSii21cfYrX4B4VdSilnbCks5r8ZlOgaJpZM4NiQ4e">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ6cXr-zzdGRSf9ejw_80cD2ntasZks5r8ZlOgaJpZM4NiQ4e.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1500#issuecomment-303113517"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #1500: 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).\r\n\r\n\u003e 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.\r\n\r\nAs 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.\r\n\r\nThe 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.\r\n\r\nFinally 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."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1500#issuecomment-303113517"}}}</script>