Beagle Craw not working correctly on beagle 0.3.3

"Charles-Henri d'Adhémar" <[email protected]>
Newsgroups gmane.comp.gnome.dashboard.devel
Message-ID <[email protected]>
Hello (again),

I already annoyed you with beagle's crawl system not working on Mandriva 2008.1
Thanks to Beagle and Mandriva great community it was fixed very
quickly through bug https://qa.mandriva.com/show_bug.cgi?id=41649.

It seems the problem is not 100% fixed for me : Beagle founds the
directories which are in my crawl but do not found any mp3 files or
jpeg files.
I have some exceptions from beagle in the logs (sorry for the spam) :

[chicha@grogro ~]$ beagled --fg --debug
Always: Starting Beagle Daemon (version 0.3.3)
Always: Running on Mono 1.2.6
Always: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg --debug
Debug: Established a connection to the X server
Debug: Reniced process to 7
Debug: Done reading conf from /home/chicha/.beagle/config/Daemon.xml
Debug: Done reading conf from /etc/beagle/config-files/Daemon.xml
Debug: Starting messaging server
Debug: Done reading conf from /etc/beagle/config-files/Networking.xml
Warn: Inotify watches may be too low (8192) for some users!  Increase
it to at least 65535 by setting fs.inotify.max_user_watches in
/etc/sysctl.conf
Debug: Starting QueryDriver
Debug: Found 0 backends in /usr/lib/beagle/Backends/ThunderbirdBackends.dll
Debug: Found index helper at /usr/lib/beagle/beagled-index-helper
Debug: Starting Inotify FSQ file event backend
Debug: Loaded 3 records from
/home/chicha/.beagle/Indexes/FileSystemIndex/FileAttributesStore.db in
0,002s
Debug: Done reading conf from /home/chicha/.beagle/config/FilesQueryable.xml
Debug: Done reading conf from /etc/beagle/config-files/FilesQueryable.xml
Debug: Found 5 backends in /usr/lib/beagle/BeagleDaemonLib.dll
Debug: Reading mapping from filters
Debug: Loading system static indexes.
Debug: Initializing static queryable: /var/cache/beagle/indexes/applications
Debug: Done reading conf from
/var/cache/beagle/indexes/applications/StaticIndex.xml
Debug: Initializing static queryable: /var/cache/beagle/indexes/documentation
Debug: Done reading conf from
/var/cache/beagle/indexes/documentation/StaticIndex.xml
Debug: Initializing static queryable: /var/cache/beagle/indexes/manpages
Debug: Done reading conf from /var/cache/beagle/indexes/manpages/StaticIndex.xml
Debug: Initializing static queryable: /var/cache/beagle/indexes/movies
Debug: Done reading conf from /var/cache/beagle/indexes/movies/StaticIndex.xml
Debug: Initializing static queryable: /var/cache/beagle/indexes/music
Debug: Done reading conf from /var/cache/beagle/indexes/music/StaticIndex.xml
Debug: Initializing static queryable: /var/cache/beagle/indexes/photos
Debug: Done reading conf from /var/cache/beagle/indexes/photos/StaticIndex.xml
Debug: Found 6 system-wide indexes.
Debug: Loading user-configured static indexes.
Debug: Found 0 user-configured static indexes..
Debug: Waiting 60 seconds before starting queryables
Debug: Starting Scheduler thread
Debug: Starting Inotify threads
Debug: Daemon initialization finished after ,42s
Debug: Memory usage: VmSize=42,8 MB, VmRSS=17,9 MB,
GC.GetTotalMemory=1327104 (16 colls)
Debug: Parsed query 'U' as text_query
Debug: Parsed query 'U2' as text_query
Debug: Parsed query 'U2' as text_query
Debug: Caught an exception sending Beagle.HitsAddedResponse.  Shutting
down socket.
System.IO.IOException: Write failure --->
System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset,
Int32 size, SocketFlags flags) [0x00000]
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer,
Int32 offset, Int32 size) [0x00000] --- End of inner exception stack
trace ---

  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer,
Int32 offset, Int32 size) [0x00000]
  at Beagle.Util.UnclosableStream.Write (System.Byte[] buffer, Int32
offset, Int32 count) [0x00000]
  at System.IO.BufferedStream.Flush () [0x00000]
  at System.IO.BufferedStream.Write (System.Byte[] array, Int32
offset, Int32 count) [0x00000]
  at System.IO.StreamWriter.FlushBytes () [0x00000]
  at System.IO.StreamWriter.Decode () [0x00000]
  at System.IO.StreamWriter.Write (Char value) [0x00000]
  at System.Xml.XmlTextWriter.WriteStartAttribute (System.String
prefix, System.String localName, System.String namespaceUri) [0x00000]
  at System.Xml.XmlWriter.WriteAttributeString (System.String prefix,
System.String localName, System.String ns, System.String value)
[0x00000]
  at System.Xml.Serialization.XmlSerializationWriter.WriteAttribute
(System.String prefix, System.String localName, System.String ns,
System.String value) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriter.WriteAttribute
(System.String localName, System.String ns, System.String value)
[0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteAttributeMembers
(System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
isValueList) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementAttributes
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
[0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp, Boolean isNullable,
Boolean needType, Boolean writeWrappingElem) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object
memberValue) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteListContent
(System.Object container, System.Xml.Serialization.TypeData listType,
System.Xml.Serialization.ListMap map, System.Object ob,
System.Text.StringBuilder targetString) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object
memberValue) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers
(System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
isValueList) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementElements
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
[0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp, Boolean isNullable,
Boolean needType, Boolean writeWrappingElem) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object
memberValue) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteListContent
(System.Object container, System.Xml.Serialization.TypeData listType,
System.Xml.Serialization.ListMap map, System.Object ob,
System.Text.StringBuilder targetString) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object
memberValue) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers
(System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
isValueList) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementElements
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
[0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp, Boolean isNullable,
Boolean needType, Boolean writeWrappingElem) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteMemberElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem, System.Object
memberValue) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteElementMembers
(System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
isValueList) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElementElements
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
[0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObjectElement
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteObject
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob,
System.String element, System.String namesp, Boolean isNullable,
Boolean needType, Boolean writeWrappingElem) [0x00000]
  at System.Xml.Serialization.XmlSerializationWriterInterpreter.WriteRoot
(System.Object ob) [0x00000]
  at System.Xml.Serialization.XmlSerializer.Serialize (System.Object
o, System.Xml.Serialization.XmlSerializationWriter writer) [0x00000]
  at System.Xml.Serialization.XmlSerializer.Serialize
(System.Xml.XmlWriter writer, System.Object o,
System.Xml.Serialization.XmlSerializerNamespaces namespaces) [0x00000]


Here is one of my crawl configuration file :

[root@grogro beagle]# cat /etc/beagle/crawl-music
CRAWL_ENABLED="yes"

CRAWL_INDEX_NAME="music"

CRAWL_PATHS="/data/music"

CRAWL_RECURSIVE="yes"

CRAWL_DISABLE_FILTERING="yes"

CRAWL_DISABLE_DIRECTORIES="no"

CRAWL_DISABLE_ON_BATTERY="yes"

CRAWL_CACHE_TEXT="yes"

CRAWL_REMOVE_DELETED_FILES="yes"


I really wonder whether this is something from me, Mandriva or Beagle
(already fixed in the last versions ?).
Thank you very much again, and sorry for inconveniance !
Cheers,
Chicha.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.