List Info

Thread: GnomeVFS issue with FTP sites




GnomeVFS issue with FTP sites
user name
2007-01-06 23:00:59
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).

-- 
- Micah Carrick
  Freelance Developer
  http://www.micahcarrick.c
om | http://www.gtkforums.com

_______________________________________________
gnome-devel-list mailing list
gnome-devel-listgnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
GnomeVFS issue with FTP sites
user name
2007-01-07 01:08:10
В Сбт, 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".

_______________________________________________
gnome-devel-list mailing list
gnome-devel-listgnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
GnomeVFS issue with FTP sites
user name
2007-01-07 01:22:07
Nickolay V. Shmyrev wrote:
gnome.local" type="cite">
В Сбт, 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):
Name              : public_html
Type              : Directory
MIME type         : application/octet-stream
Size              : 4096
Blocks            : 8
I/O block size    : 32768
Local             : NO
SUID              : NO
SGID              : NO
Sticky            : NO
Link count        : 12
UID               : 35513
GID               : 99
Access time       : Mon Jan  1 20:23:00 2007
Modification time : Mon Jan  1 20:23:00 2007
Change time       : Mon Jan  1 20:23:00 2007

So it seems to be the application/octet-stream that's the problem.

This does not occur over SSH, that comes back as x-folder/normal.


-- 
- Micah Carrick
  Freelance Developer
  http://www.micahcarrick.com | http://www.gtkforums.com
GnomeVFS issue with FTP sites
user name
2007-01-07 02:24:30
В Сбт, 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.


_______________________________________________
gnome-devel-list mailing list
gnome-devel-listgnome.org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
GnomeVFS issue with FTP sites
user name
2007-01-07 02:44:19
Nickolay V. Shmyrev wrote:
gnome.local" type="cite">
В Сбт, 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.


  
Possibly. I'd certainly want to learn. I know how to use gdb... i guess I would just need to build gnome-vfs from source using the -g option?

-- 
- Micah Carrick
  Freelance Developer
  http://www.micahcarrick.com | http://www.gtkforums.com
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )