Re: GnomeVFS issue with FTP sites



В Сбт, 06/01/2007 в 17:22 -0800, Micah Carrick пишет:
> Nickolay V. Shmyrev wrote: 
> > В Сбт, 06/01/2007 в 15:00 -0800, Micah Carrick пишет:
> >   
> > > Not sure if this is a gnome or a gnome-vfs issue, however, I've noticed 
> > > that FTP sites show the "unknown" icon for folders when using GnomeVFS. 
> > > SSH still shows the appropriate folder icon though.
> > > 
> > > This is using gnome-vfs-2.16.2 on Gnome 2.16.0 (Fedora Core 6).
> > > 
> > >     
> > 
> > That looks strange, thanks for the bug report. Most probably it's the
> > issue with the gnome setup. Can you please send the following:
> > 
> > What mime type is reported by "gnomevfs-info ftp://someserver/somedir";?
> > 
> > What icon does it search for? You can find the name of the icon by
> > looking into strace log. You can attach to the nautilus process with the
> > command "strace -p <nautilus pid> 2> nautilus.log".
> > 
> >   
> I investigated it a bit more and sent the following email to
> gnome-vfs-list:
> 
> "Not sure if this is already known... but I'm experiencing some
> problems with GnomeVFS over FTP connections. Folders are coming back
> as application/octet-stream rather than x-folder/normal and thus the
> icons in Nautilus are all the "unknown" icon rather than folder icons.
> 
> I'm using gnome-vfs-2.16.2 on Gnome 2.16.0 (Fedora Core 6)."
> 
> And running the command you gave (I didn't know about that command and
> wrote a quick C program to get the info):

Well, if you can write small program, you can also step through
unix_ls_to_file_info function in ftp-method.c of gnome-vfs module and
find where does it really assign octet-stream. Probably it incorrectly
parses output from your server.


Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]