Re: gnome-vfs "Operation interrupted" exception in transfer



On Mon, 2007-02-19 at 23:12 +0000, John Spray wrote:
> Hi,
> 
> I'm always getting "Operation interrupted" exceptions thrown from calls
> to Gnome::Vfs::Transfer::transfer (C++ binding to gnome_vfs_xfer_uri).
> The URI's I'm using point to real files/directories, and everything's
> writable, so I have no idea where I'm going wrong.
> 
> My invocation is:
> 	Gnome::Vfs::Transfer::transfer (
> 		target,
> 		dest,
> 		Gnome::Vfs::XFER_REMOVESOURCE,
> 		Gnome::Vfs::XFER_ERROR_MODE_ABORT,
> 		Gnome::Vfs::XFER_OVERWRITE_MODE_SKIP);
> 
> Where target->to_string() equals file:///home/jcspray/myfile
>   and dest->to_string() equals file:///home/jcspray/.Trash/myfile
> 
> This call is pretty much verbatim out of rhythmbox (albeit translated
> into gnome-vfsmm), and it seems to work for them.
> 
> Any ideas?  What does operation interrupted usually signify?

It generally means that gnome-vfs did a callback to the user (for
instance to show an error or a file conflict or a progress dialog) and
the user selected "cancel", "stop" or something in that dialog. 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a fast talking amnesiac dog-catcher fleeing from a secret government 
programme. She's a cold-hearted paranoid college professor from the wrong side 
of the tracks. They fight crime! 




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