Re: beagle problem

Debajyoti Bera <[email protected]>
Newsgroups gmane.comp.gnome.dashboard.devel
Organization CS, BU
Message-ID <[email protected]>
> > > However some other programs (nautilus and beaglefs) depend on
> > > libbeagle0 (i.e. the 0.2.18 version of the library) so I left this
> > > package installed and didn't install libbeagle1 (the name I gave to
> > > the package for the 0.3.0 version of the library).
> > > I have noticed some problems with the searches: beagle-search
> > > only finds files in my home directory, while nautilus finds files in
> > > my home directory *and* those listed in the static indexes.
> > > beagle-search seems to ignore the static indexes, although these are
> > > listed by beagle-index-info.
> >
> > Thats pretty weird! Are you sure about this ? What happens when you
> > query using beagle-query ? Do a $ tailf -f
> > ~/.beagle/Log/current-Beagle, then start a query in beagle-search -
> > what gets printed in current-Beagle ?
>
> This is the output of searching for "gfortran" that is in the static
> indexes (6 hits) and in my homedir (4 hits). I searched with both
> beagle and nautilus.
>
> 20071214 01:09:56.3106 05816 Beagle DEBUG: Parsed query 'gfortran' as
> text_query 20071214 01:09:56.3111 05816 Beagle DEBUG EX: Caught an
> exception sending Beagle.SearchTermResponse.  Shutting down socket.
> 20071214 01:09:56.3111 05816 Beagle DEBUG EX: System.IO.IOException:
> Write failure ---> System.Net.Sockets.SocketException: The socket has
> been shut down 20071214 01:09:56.3111 05816 Beagle DEBUG EX:   at
> System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32
> size, SocketFlags flags) [0x00000] 20071214 01:09:56.3111 05816 Beagle
> DEBUG EX:   at System.Net.Sockets.NetworkStream.Write (System.Byte[]
> buffer, Int32 offset, Int32 size) [0x00000] --- End of inner exception
> stack trace --- 20071214 01:09:56.3111 05816 Beagle DEBUG EX: 20071214
> 01:09:56.3111 05816 Beagle DEBUG EX:   at
> System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32
> offset, Int32 size) [0x00000] 20071214 01:09:56.3111 05816 Beagle DEBUG
> EX:   at Beagle.Util.UnclosableStream.Write (System.Byte[] buffer,
> Int32 offset, Int32 count) [0x00000] 20071214 01:09:56.3111 05816
> Beagle DEBUG EX:   at System.IO.BufferedStream.Flush () [0x00000]
> 20071214 01:09:56.3111 05816 Beagle DEBUG EX:   at
> System.IO.StreamWriter.Flush () [0x00000] 20071214 01:09:56.3111 05816
> Beagle DEBUG EX:   at System.Xml.XmlTextWriter.Flush () [0x00000]
> 20071214 01:09:56.3111 05816 Beagle DEBUG EX:   at
> System.Xml.Serialization.XmlSerializer.Serialize (System.Xml.XmlWriter
> writer, System.Object o,
> System.Xml.Serialization.XmlSerializerNamespaces namespaces) [0x00000]

> 20071214 01:09:56.3184 05816 Beagle DEBUG: Parsed query 'gfortran' as
> text_query 20071214 01:09:56.3996 05816 Beagle DEBUG EX: Caught an
> exception sending Beagle.HitsAddedResponse.  Shutting down socket.
> 20071214 01:09:56.3996 05816 Beagle DEBUG EX: System.IO.IOException:
> Write failure ---> System.Net.Sockets.SocketException: The socket has
> been shut down 20071214 01:09:56.3996 05816 Beagle DEBUG EX:   at
> System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32
> size, SocketFlags flags) [0x00000] 20071214 01:09:56.3996 05816 Beagle
> DEBUG EX:   at System.Net.Sockets.NetworkStream.Write (System.Byte[]
> buffer, Int32 offset, Int32 size) [0x00000] --- End of inner exception
> stack trace --- 20071214 01:09:56.3996 05816 Beagle DEBUG EX: 20071214
> 01:09:56.3996 05816 Beagle DEBUG EX:   at
> System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32
> offset, Int32 size) [0x00000] 20071214 01:09:56.3996 05816 Beagle DEBUG
> EX:   at Beagle.Util.UnclosableStream.Write (System.Byte[] buffer,
> Int32 offset, Int32 count) [0x00000] 20071214 01:09:56.3996 05816
> Beagle DEBUG EX:   at System.IO.BufferedStream.Flush () [0x00000]
> 20071214 01:09:56.3996 05816 Beagle DEBUG EX:   at
> System.IO.StreamWriter.Flush () [0x00000] 20071214 01:09:56.3996 05816
> Beagle DEBUG EX:   at System.Xml.XmlTextWriter.Flush () [0x00000]
> 20071214 01:09:56.3996 05816 Beagle DEBUG EX:   at
> System.Xml.Serialization.XmlSerializer.Serialize (System.Xml.XmlWriter
> writer, System.Object o,
> System.Xml.Serialization.XmlSerializerNamespaces namespaces) [0x00000]
> 20071214 01:10:14.2454 05816 Beagle DEBUG: Parsed query 'gfortran' as
> text_query

It still does not make sense :( I am surprised nautilus actually worked since 
it uses incompatible libbeagle0, but I am more surprised that nautilus worked 
and beagle-search did not! You built and installed everything correctly - 
right ? Do you get all the results when you do
$ beagle-query gfortran

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
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.