GNOME Bugzilla – Bug 302889
Beagle fails when a directory ends with whitespace(s)
Last modified: 2005-05-03 18:56:48 UTC
Please describe the problem: Beagle fails when a directory end with whitespace(s): [ceruno@taganga]$ mkdir "Beagle_Fails " After running with BEAGLED_EXERCISE_THE_DOG enviroment variable set to 1 it raises this exception. WARN: Exception caught while executing Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:Void StartWorker() WARN: System.IO.DirectoryNotFoundException: Directory '/home/ceruno/Beagle_Fails' not found. in [0x001e3] (at /home/mm/svn/project/debian/trunk/beagle/mcs-1.1.4/class/corlib/System.IO/Directory.cs:451) System.IO.Directory:GetFileSystemEntries (string,string,System.IO.FileAttributes,System.IO.FileAttributes) in [0x00006] (at /home/mm/svn/project/debian/trunk/beagle/mcs-1.1.4/class/corlib/System.IO/Directory.cs:232) System.IO.Directory:GetDirectories (string,string) in [0x00007] (at /home/mm/svn/project/debian/trunk/beagle/mcs-1.1.4/class/corlib/System.IO/DirectoryInfo.cs:134) System.IO.DirectoryInfo:GetDirectories (string) in <0x00045> (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetDirectories (string) in [0x00006] (at /home/mm/svn/project/debian/trunk/beagle/mcs-1.1.4/class/corlib/System.IO/DirectoryInfo.cs:129) System.IO.DirectoryInfo:GetDirectories () in <0x00038> (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:GetDirectories () in <0x002db> Beagle.Daemon.FileSystemQueryable.FileSystemModel:ScanOne_Unlocked (Beagle.Daemon.FileSystemQueryable.FileSystemModel/Directory) in <0x000df> Beagle.Daemon.FileSystemQueryable.FileSystemModel:ScanAll () in <0x0000d> Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:OnModelNeedsScan (Beagle.Daemon.FileSystemQueryable.FileSystemModel) in <0x0003f> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_FileSystemModel (Beagle.Daemon.FileSystemQueryable.FileSystemModel) in <0x003ef> Beagle.Daemon.FileSystemQueryable.FileSystemModel:AddRoot (string) in <0x00035> Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:StartWorker () in <0x00037> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () in <0x00018> Beagle.Util.ExceptionHandlingThread:ThreadStarted () Steps to reproduce: 1. create a direcorty with a leading whitespace like mkdir "Beagle_Fails " 2. run beagle 3. wait ;) Actual results: Expected results: Does this happen every time? yes Other information: Distro: Ubuntu Hoary Mono version 1.1.4, debs from mono.name Beagle version CVS 2005-04-09. 0.0.9
*** This bug has been marked as a duplicate of 168975 ***