GNOME Bugzilla – Bug 46895
Received "opendir failed because operation cancelled" message after successfully entering FTP subdirectory
Last modified: 2004-12-22 21:47:04 UTC
Steps to reproduce: 1 - Enter "ftp://download.sourceforge.net/pub/mirrors/" as the location in Nautilus 2 - Browse into any directory (for example, kernel.org) This is received on the console: ** WARNING **: opendir failed because "Operation cancelled" ------- Additional Comments From darin@bentspoon.com 2001-02-22 17:38:05 ---- Seems silly to send out a warning in this case. ------- Additional Comments From brett@eazel.com 2001-02-22 17:58:06 ---- Also, the error message doesn't seem to relate to what is happening. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:00 -------
This seems to be gnome-vfs-modules-WARNING **: opendir failed because ... in gnome-vfs 2.4. I'll check why nautilus is cancelling it, or if there is any bug in the gnome-vfs code.
After some hours of debugging I got to the conclusion that this is not a problem in gnome-vfs but in nautilus. So I will reassign the bug to nautilus. The reason this message appears is because nautilus is cancelling the mime_list operation once it has started, as you can see is this backtrace:
+ Trace 41703
This is causing that as it acquires connections, when there is need to acquire connections for directory listing new ones need to be created. So this produces more trafic and is *slow*. Nautilus should not even start doing the mime_list if it is going to cancel it after a while.
Confirming bug. Someone with nautilus experience can take a look at it so that the mime_list operation is not started?
When you first enter ftp://ftp.gnome.org the mime_start func is not called. Then, when you click in the pub folder the mime_start function is called an so is mime_stop (which produces the warning in do_open_directory in the ftp module). So there is only one connection in the pool that is consumed by the mime_list operation, then the directory listing needs to create another connection... and so on.
Should be fixed in HEAD.