<p>There is something broken with sshfs and Geany 1.30.1 on GNOME 3.22.3 (using it on Fedora 25).<br>
When mounting a folder in Nautilus via the usual sftp://yourname@yourIP/home/somename, doubleclicking in any pyhon file or script opens Geany on the selected file as usual but the file content is empty.</p>
<p>Moreover, if saving by mistake , all the file contents get LOST!, the original file is overwritten by Geany with a zero-length file.</p>
<p>If launching geany and then using File > Open to navigate to the sftp folder and select a file (e.g. a pythong script), the Geany errors out and does NOT load the file, the error displayed is:</p>
<blockquote>
<p>"/run/user/1000/gvfs/sftp:host=x.x.x.x,user=yourname/home/kodi/scriptname.py" was not found</p>
</blockquote>
<p>Looks like there is a problem in the "user" attribute of the URI.</p>
<p>I have uses sftp mounts with Geany for many years without a problem.</p>
<p>If this is a Geany bug I would qualify it as Major or Critical since people can easily loose code if not aware</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/1437#issuecomment-309288785">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ4-SIirIZhUKz3Mdt632taNrS194ks5sFVQggaJpZM4MjFSo">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJysCslE7jRquBkHHLfO9pMmT4FfVks5sFVQggaJpZM4MjFSo.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/1437#issuecomment-309288785"></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":"@arigit in #1437: There is something broken with sshfs and Geany 1.30.1 on GNOME 3.22.3 (using it on Fedora 25). \r\nWhen mounting a folder in Nautilus via the usual sftp://yourname@yourIP/home/somename, doubleclicking in any pyhon file or script opens Geany on the selected file as usual but the file content is empty.\r\n\r\nMoreover, if saving by mistake , all the file contents get LOST!, the original file is overwritten by Geany with a zero-length file. \r\n\r\nIf launching geany and then using File \u003e Open to navigate to the sftp folder and select a file (e.g. a pythong script), the Geany errors out and does NOT load the file, the error displayed is:\r\n\r\n\u003e \"/run/user/1000/gvfs/sftp:host=x.x.x.x,user=yourname/home/kodi/scriptname.py\" was not found\r\n\r\nLooks like there is a problem in the \"user\" attribute of the URI.\r\n\r\nI have uses sftp mounts with Geany for many years without a problem.\r\n\r\nIf this is a Geany bug I would qualify it as Major or Critical since people can easily loose code if not aware\r\n\r\n\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1437#issuecomment-309288785"}}}</script>