It looks like upstream has rewritten a bunch of that code. Near as I
can tell their rewrite addresses the issue.
--
[Dapper] Gedit fails to save to remote location if creating new file while
using sftp
https://launchpad.net/bugs/39024
--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
Thank you for the patch Ryan. Did you forward that upstream?
This upload fixes the issue:
gnome-vfs2 (2.14.1-0ubuntu8) dapper; urgency=low
.
[ Ryan Lortie ]
* debian/patches/10_sftp_status_fix.patch
- fix Protocol Error due to incorrect error checking (Ubuntu: #39024)
** Changed
** Attachment added: new version
http://librarian.launchpad.net/2758978/gnome-vfs-0ubuntu8.debdiff
--
[Dapper] Gedit fails to save to remote location if creating new file while
using sftp
https://launchpad.net/bugs/39024
--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
The protocol error happens, not on first save, but rather, if the file
does not yet exist on the remote host.
You can get it to happen by opening a file in gedit, erasing the file on
the remote host (logged in, using 'rm') then clicking 'save'.
When I do this, however, I don't get an empty file
I still have the problem. When I experience this problem, I'm creating
a new document in gedit, then saving to the sftp server. I guess I'm
using the standard ssh server, though I don't really know how to check.
I edit existing remote files by opening them from nautilus.
gnomevfs-copy seems to
The problem is caused by iobuf_read_file_info() in the gnome-vfs sftp
method.
if (id != expected_id || type != SSH2_FXP_ATTRS) {
buffer_free (msg);
return GNOME_VFS_ERROR_PROTOCOL_ERROR;
}
else if (type == SSH2_FXP_STATUS) {
Do you still have that issue? How do you edit your text? Do you open an
existing one from nautilus? or do you create one and save it? what ssh
server do you use? does gnomevfs-copy txt sftp: works fine from the
command line?
--
[Dapper] Gedit fails to save to remote location if creating new
Thanks for your bug. Do you still have the issue? That works fine for me doing
that:
- opening gedit
- typing some text
- clicking on save
- browse a sftp share from the places list to a directory with writting
permissions for the user
** Changed in: gedit (Ubuntu)
Assignee: (unassigned)
I'm still experiencing this problem.
I've got full permissions on the folders I'm trying to write to.
--
[Dapper] Gedit fails to save to remote location if creating new file while
using sftp
https://launchpad.net/bugs/39024
--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com