After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 302889 - Beagle fails when a directory ends with whitespace(s)
Beagle fails when a directory ends with whitespace(s)
Status: RESOLVED DUPLICATE of bug 168975
Product: beagle
Classification: Other
Component: General
0.0.x
Other All
: Normal normal
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2005-05-03 18:29 UTC by Miguel Fernando Cabrera
Modified: 2005-05-03 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Miguel Fernando Cabrera 2005-05-03 18:29:25 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
Comment 1 Lukas Lipka 2005-05-03 18:56:48 UTC

*** This bug has been marked as a duplicate of 168975 ***