Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Beagle Support and Installation help

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
100 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next
Author
Message
pdouble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Aug 24, 2002 5:13 pm
Location: USA
Contact:
Contact pdouble
Website

  • Quote

Post by pdouble » Sat Apr 22, 2006 5:05 pm

Blaine wrote:There's never too many questions. :P

Ok, here it comes:

Code: Select all

moe ~ # cat /etc/beagle/crawl-portage
# Beagle Crawl Setup

source /etc/make.globals
source /etc/make.conf

CRAWL_ENABLED="yes"

CRAWL_INDEX_NAME="portage"

CRAWL_PATHS="${PORTDIR} ${PORTDIR_OVERLAY} /var/db/pkg"

CRAWL_ALLOW_PATTERNS="*.ebuild,ChangeLog,metadata.xml"

CRAWL_RECURSIVE="yes"

CRAWL_DISABLE_FILTERING="no"

CRAWL_CACHE_TEXT="no"
^ This is good.
Blaine wrote:

Code: Select all

moe ~ # grep beagleindex /etc/passwd
beagleindex:x:104:444:added by portage for beagle:/var/lib/cache/beagle:/usr/sbin/nologin
^ This is not good. beagleindex must have a shell. Beagle 0.2.5 almost addresses this issue, but not with the unstable version of 'su' that comes with portage. Arguments are in the wrong order. Make /etc/cron.daily/beagle-crawl-system this (you may have to remove /etc/cron.d/beagle*):

Code: Select all

[double@ee-pdouble pts/1] cat /etc/cron.daily/beagle-crawl-system 
#!/bin/sh

#
# beagle-crawl-system
#
# Copyright (C) 2005 Novell, Inc.
#

#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#

umask 022

CRAWL_USER=beagleindex

export TMPDIR=/tmp

# Mono requires a writable wapi directory
MONO_SHARED_DIR=`mktemp -d -p $TMPDIR .beagleindexwapi.XXXXXXXXXX`|| ( echo "Can't create wapi directory!" ; exit 1 )
chown $CRAWL_USER $MONO_SHARED_DIR

for crawl_file in /etc/beagle/crawl-*; do 
    unset CRAWL_ENABLED CRAWL_DISABLE_FILTERING CRAWL_RECURSIVE CRAWL_CACHE_TEXT CRAWL_ALLOW_PATTERNS CRAWL_DENY_PATTERNS CRAWL_PATHS CRAWL_INDEX_NAME

    if [ -f $crawl_file ] ; then
	. $crawl_file

	if [ -n "$CRAWL_ENABLED" -a "$CRAWL_ENABLED" = "yes" ] ; then

	    OPTIONS="`test -n "$CRAWL_DISABLE_FILTERING" -a "$CRAWL_DISABLE_FILTERING" = "yes" && \
                     echo --disable-filtering`"

	    OPTIONS="$OPTIONS `test -n "$CRAWL_RECURSIVE" -a "$CRAWL_RECURSIVE" = "yes" && \
                     echo --recursive`"

	    OPTIONS="$OPTIONS `test -n "$CRAWL_CACHE_TEXT" -a "$CRAWL_CACHE_TEXT" = "yes" && \
                     echo --enable-text-cache`"

	    OPTIONS="$OPTIONS `test -n "$CRAWL_ALLOW_PATTERNS" && \
                     echo --allow-pattern $CRAWL_ALLOW_PATTERNS`"

	    OPTIONS="$OPTIONS `test -n "$CRAWL_DENY_PATTERNS" && \
                     echo --deny-pattern $CRAWL_DENY_PATTERNS`"
	    
	    IONICE=`which ionice 2>/dev/null`
            if [ -n "$IONICE" ]; then
                IONICE="$IONICE -c 3"
            fi

            eval nice -n 19 $IONICE su -s /bin/bash $CRAWL_USER -c " MONO_SHARED_DIR=$MONO_SHARED_DIR /usr/sbin/beagle-build-index --target /var/lib/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS" >/dev/null 2>&1
	    #eval nice -n 19 $IONICE su -s /usr/sbin/beagle-build-index $CRAWL_USER "/usr/sbin/beagle-build-index --target /var/lib/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS" > /dev/null 2>&1
	fi
    fi
done

# delete wapi directory
rm -rf $MONO_SHARED_DIR

exit 0
Blain wrote:

Code: Select all

moe ~ # ls -lah /var/lib/cache/beagle/
insgesamt 0
drwxr-xr-x 3 beagleindex root         72 14. Apr 14:18 .
drwxr-xr-x 4 root        root        104 14. Apr 14:16 ..
drwxr-xr-x 2 beagleindex beagleindex  72 22. Apr 18:36 indexes

Code: Select all

moe ~ # du -sh /var/lib/cache/beagle/indexes/*
du: Zugriff auf ,,/var/lib/cache/beagle/indexes/*" nicht möglich: Datei oder Verzeichnis nicht gefunden
"/var/lib/cache/beagle/indexes/" is empty. I suppose there should be something in there, otherwise you wouldn't ask? All the indexes are in "~/.beagle/Indexes/" of my user.

Hope this helps.
^ This is bad too. Static indexes go into /var/lib/cache/beagle, not your home dir. So:

Code: Select all

# mkdir -p /var/lib/cache/beagle/indexes
# chown beagleindex /var/lib/cache/beagle/indexes
# /etc/cron.daily/beagle-crawl-system
It'll take an hour or two for the index to build, but only around 10 minutes for incremental updates.

I suppose when beagle 0.2.5 is available you won't need to make these changes. Your decision to wait or not :)
Top
Blaine
n00b
n00b
User avatar
Posts: 34
Joined: Fri Jun 03, 2005 12:57 pm

  • Quote

Post by Blaine » Sat Apr 22, 2006 6:10 pm

So we know now what is happening!

Obviously cron is needed, but I don't have it installed on my desktop. I have never needed it so far.

If I understand this right, portage indexing is done via cron. So cron should be added as a dependency ("portage" useflag?). I assume this won't change with 2.5, so I have to decide whether to live without ebuilds in beagle or to install cron.
.... Hmmm, well. Cron doesn't hurt, so: "# emerge cron" now.

Please correct me if I understood this wrong.

And thanks for your kind help.
Top
pdouble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Aug 24, 2002 5:13 pm
Location: USA
Contact:
Contact pdouble
Website

  • Quote

Post by pdouble » Sun Apr 23, 2006 12:52 am

Blaine wrote:So we know now what is happening!

Obviously cron is needed, but I don't have it installed on my desktop. I have never needed it so far.

If I understand this right, portage indexing is done via cron. So cron should be added as a dependency ("portage" useflag?). I assume this won't change with 2.5, so I have to decide whether to live without ebuilds in beagle or to install cron.
.... Hmmm, well. Cron doesn't hurt, so: "# emerge cron" now.

Please correct me if I understood this wrong.

And thanks for your kind help.
Static indexes are like this, they are shared by multiple users so cron is the way to go. You don't need cron if you don't want it though. You can also call /etc/cron.daily/beagle-crawl-system yourself whenever you'd like to update the index. Cron runs the script, but does not provide any functionality that the script itself requires.
Top
Blaine
n00b
n00b
User avatar
Posts: 34
Joined: Fri Jun 03, 2005 12:57 pm

  • Quote

Post by Blaine » Sun Apr 23, 2006 3:45 pm

Ok. Indexing is running now. Niceness=-5 :twisted:

I also RTFM'd a little deeper into static indexes (should have done that earlier). Will try it with a samba share as next.

Thank you for making the doggy run.
Top
Jasper-j
n00b
n00b
User avatar
Posts: 15
Joined: Sat Sep 27, 2003 5:51 pm
Contact:
Contact Jasper-j
Website

What did i do wrong?

  • Quote

Post by Jasper-j » Mon Apr 24, 2006 1:08 pm

After emerging beagle 0.2.5 on my amd64 machine, I got this output while running beageld --fg --debug

Code: Select all

Debug: Starting Beagle Daemon (version 0.2.5)
Debug: Running on Mono 1.1.13.4
Debug: Command Line: /usr/lib64/beagle/BeagleDaemon.exe --fg --debug
Debug: Established a connection to the X server
Debug: Starting main loop
Debug: Starting messaging server
Debug: Starting QueryDriver

Unhandled Exception: System.DllNotFoundException: libbeagleglue
in (wrapper managed-to-native) Beagle.Util.ExceptionHandlingThread:wrap_gettid ()
in [0x0000b] (at /var/tmp/portage/beagle-0.2.5/work/beagle-0.2.5/Util/ExceptionHandlingThread.cs:53) Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
Debug: Found index helper at /usr/lib64/beagle/beagled-index-helper
Debug: Found 2 backends in /usr/lib64/beagle/Backends/EvolutionBackends.dll
Debug: KMail folders not found. Will keep trying
Error: Caught exception while instantiating Files backend
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for Beagle.Util.Inotify ---> System.DllNotFoundException: libbeagleglue
in (wrapper managed-to-native) Beagle.Util.Inotify:inotify_glue_init ()
in [0x00081] (at /var/tmp/portage/beagle-0.2.5/work/beagle-0.2.5/Util/Inotify.cs:133) Beagle.Util.Inotify:.cctor ()--- End of inner exception stack trace ---

in <0x00000> <unknown method>
in [0x00059] (at /var/tmp/portage/beagle-0.2.5/work/beagle-0.2.5/beagled/FileSystemQueryable/FileSystemQueryable.cs:91) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:.ctor ()
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
in [0x00044] (at /var/tmp/portage/mono-1.1.13.4/work/mono-1.1.13.4/mcs/class/corlib/System.Reflection/MonoMethod.cs:343) System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)--- End of inner exception stack trace ---

in [0x0006b] (at /var/tmp/portage/mono-1.1.13.4/work/mono-1.1.13.4/mcs/class/corlib/System.Reflection/MonoMethod.cs:349) System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
in [0x00007] (at /var/tmp/portage/mono-1.1.13.4/work/mono-1.1.13.4/mcs/class/corlib/System.Reflection/MonoMethod.cs:354) System.Reflection.MonoCMethod:Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
in [0x00018] (at /var/tmp/portage/mono-1.1.13.4/work/mono-1.1.13.4/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:78) System.Reflection.ConstructorInfo:Invoke (System.Object[] parameters)
in [0x00065] (at /var/tmp/portage/mono-1.1.13.4/work/mono-1.1.13.4/mcs/class/corlib/System/Activator.cs:249) System.Activator:CreateInstance (System.Type type, Boolean nonPublic)
in [0x00002] (at /var/tmp/portage/mono-1.1.13.4/work/mono-1.1.13.4/mcs/class/corlib/System/Activator.cs:162) System.Activator:CreateInstance (System.Type type)
in [0x000db] (at /var/tmp/portage/beagle-0.2.5/work/beagle-0.2.5/beagled/QueryDriver.cs:175) Beagle.Daemon.QueryDriver:ScanAssembly (System.Reflection.Assembly assembly)
Debug: Found 9 backends in /usr/lib64/beagle/BeagleDaemonLib.dll
Debug: Loading system static indexes.
Debug: Found 0 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: Daemon initialization finished after 2,72s

Unhandled Exception: System.DllNotFoundException: libbeagleglue
in (wrapper managed-to-native) Beagle.Util.ExceptionHandlingThread:wrap_gettid ()
in [0x0000b] (at /var/tmp/portage/beagle-0.2.5/work/beagle-0.2.5/Util/ExceptionHandlingThread.cs:53) Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
.........
.........
Can anybody help me out?
Top
durandal
n00b
n00b
User avatar
Posts: 7
Joined: Thu Dec 05, 2002 8:28 am
Location: Amsterdam, the Netherlands

Warning about evolution-sharp-0.11 and beagle

  • Quote

Post by durandal » Sun Apr 30, 2006 1:32 am

Had a problem installing the latest beagle (0.2.6), which I eventually traced back to a problem with evolution-sharp-0.11. If your beagle build fails, complaining about how it can't find its evolution configuration, add the line "exec_prefix=${prefix}" to the file /usr/lib/pkgconfig/evolution-sharp.pc. Beagle should then be able to suss out the relevant paths :-)

I'll submit a bug report, but I thought a note here might save some folks a bit of aggravation.

M.

Edited to add:

Someone beat me to the bug report, which you can find here.
Top
kastorff
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Wed May 19, 2004 4:32 pm
Location: Atlanta, GA USA

  • Quote

Post by kastorff » Sun Apr 30, 2006 3:13 am

thanks durandal, that fixed the issue for me. For those who may be, like me, new to editing pkgconfig files, add durandal's line after the first line of the file, which in my case was "prefix=/usr".

The sequence is significant. :)
Keith Kastorff
Top
startail
n00b
n00b
User avatar
Posts: 71
Joined: Sun Sep 25, 2005 10:11 am

  • Quote

Post by startail » Sat May 06, 2006 9:05 am

Hi,

I'm trying to make my beagle do queries in the portage index.
It has indexed the directory, and I can query it with this command

Code: Select all

beagle-extract-content /usr/portage/sys-devel/gcc/gcc-3.4.6-r1.ebuild
But when I do a search it doesn't display that result for GCC.

beagle-index-info gives

Code: Select all

Name: portage
Count: 46649
Indexing: False
How do I turn that on?

Thanks
Top
startail
n00b
n00b
User avatar
Posts: 71
Joined: Sun Sep 25, 2005 10:11 am

  • Quote

Post by startail » Sat May 06, 2006 9:19 am

Found a problem here,

When I do a query in the search program for beagle, and search for gcc, it labels it as a Document ... that can't be right
Top
mahir
l33t
l33t
User avatar
Posts: 725
Joined: Fri Dec 05, 2003 1:49 pm
Location: London
Contact:
Contact mahir
Website

beagle compile erroc, something about evolution prereqs,

  • Quote

Post by mahir » Sat May 06, 2006 3:58 pm

Code: Select all

checking for EVO... configure: error: Could not find Evolution dependencies

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/beagle-0.2.6/work/beagle-0.2.6/config.log

!!! ERROR: app-misc/beagle-0.2.6 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  beagle-0.2.6.ebuild, line 99:   Called econf '--enable-evolution' '--enable-gui' '--enable-python' '--enable-libbeagle'
  ebuild.sh, line 530:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

what gives???
"wa ma tawfiqi illah billah"
Mahir Sayar
Top
mahir
l33t
l33t
User avatar
Posts: 725
Joined: Fri Dec 05, 2003 1:49 pm
Location: London
Contact:
Contact mahir
Website

evo not installed? but it is

  • Quote

Post by mahir » Sat May 06, 2006 8:40 pm

Code: Select all

checking for GNOME_VFS... yes
checking for BEAGLE_UI... yes
checking for UIGLUE... yes
checking for LIBTRAYICON... yes
checking for EVO... configure: error: Could not find Evolution dependencies

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/beagle-0.2.6/work/beagle-0.2.6/config.log

!!! ERROR: app-misc/beagle-0.2.6 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  beagle-0.2.6.ebuild, line 99:   Called econf '--enable-evolution' '--enable-gui' '--enable-python' '--enable-libbeagle'
  ebuild.sh, line 530:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

whats this all aboutttttttttttttttt
"wa ma tawfiqi illah billah"
Mahir Sayar
Top
pem
Guru
Guru
User avatar
Posts: 390
Joined: Sun Aug 29, 2004 12:24 pm
Location: France
Contact:
Contact pem
Website

Re: evo not installed? but it is

  • Quote

Post by pem » Sun May 07, 2006 10:43 am

mahir wrote:

Code: Select all

checking for GNOME_VFS... yes
checking for BEAGLE_UI... yes
checking for UIGLUE... yes
checking for LIBTRAYICON... yes
checking for EVO... configure: error: Could not find Evolution dependencies

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/beagle-0.2.6/work/beagle-0.2.6/config.log

!!! ERROR: app-misc/beagle-0.2.6 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  beagle-0.2.6.ebuild, line 99:   Called econf '--enable-evolution' '--enable-gui' '--enable-python' '--enable-libbeagle'
  ebuild.sh, line 530:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

whats this all aboutttttttttttttttt
Have a look at kastorff and durandal posts just above. It just worked out for me.
Registered user #30505
Top
MetalGod
Bodhisattva
Bodhisattva
User avatar
Posts: 816
Joined: Mon Mar 10, 2003 8:30 pm
Location: Portugal
Contact:
Contact MetalGod
Website

  • Quote

Post by MetalGod » Sun May 07, 2006 7:36 pm

there's an open bug for that it's evolution-sharp fault not beagle.
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Top
bk0
Apprentice
Apprentice
Posts: 266
Joined: Sun Jan 04, 2004 6:59 am

  • Quote

Post by bk0 » Sun May 07, 2006 11:14 pm

See bug #131695. As a quick and dirty fix you need to add "exec_prefix=/usr" to /usr/lib/pkgconfig/evolution-sharp.pc
Top
pdouble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Aug 24, 2002 5:13 pm
Location: USA
Contact:
Contact pdouble
Website

  • Quote

Post by pdouble » Wed May 10, 2006 8:46 pm

startail wrote:Found a problem here,

When I do a query in the search program for beagle, and search for gcc, it labels it as a Document ... that can't be right
It is "correct", for now at least. Beagle see ebuilds as plain text files. There is some support for packages being discussed on the mailing list, including a separate "tile" called "Package" or "Packages". Some code has been refactored to make common properties for ebuild, rpm and deb packages. I don't know if that's made it into 0.2.6 or still waiting.

Not sure why "gcc" isn't found. Found gcc 4.2.0_alpha??? here, but not others. Perhaps "gcc" is too short for the Lucene engine or something? Just taking a guess. Searching for "kde-base" or "splashutils" seems to work nicely.
Top
thomasvk
Guru
Guru
Posts: 597
Joined: Sat Mar 19, 2005 6:53 pm

  • Quote

Post by thomasvk » Tue May 16, 2006 2:12 pm

I was wondering if there's some kind of library-only beagle release to install so I won't need all the Gnome stuff when installing Kerry. :roll: :oops:

Edit:
I see -gtk already get rids of a lot of deps, now it's acceptable. :-)
Top
Cottonee
n00b
n00b
User avatar
Posts: 73
Joined: Tue Sep 23, 2003 12:58 pm
Location: Palmerston North, New Zealand

  • Quote

Post by Cottonee » Thu May 25, 2006 12:46 am

t0maz wrote:I was wondering if there's some kind of library-only beagle release to install so I won't need all the Gnome stuff when installing Kerry. :roll: :oops:

Edit:
I see -gtk already get rids of a lot of deps, now it's acceptable. :-)
I think you need that gtk flag (if you use emerge) to enable gui when beagle get compile. However, you can try get source code and compile it yourself. It should automatically detect all libraries it needed. If you want beagle to index your pdf and word document file you have to install xpdf and wv ( >= v1.20)

Good luck
Top
Horatio
Apprentice
Apprentice
User avatar
Posts: 246
Joined: Wed Feb 25, 2004 6:54 am
Location: Houston, TX

/var/lib/cache/beagle/indexs empty

  • Quote

Post by Horatio » Fri May 26, 2006 9:14 pm

/var/lib/cache/beagle/indexs empty
http://forums.gentoo.org/viewtopic-t-46 ... e9ac313cf5
Top
fuoco
Guru
Guru
Posts: 386
Joined: Sun May 23, 2004 3:19 pm
Location: Israel

  • Quote

Post by fuoco » Tue May 30, 2006 5:14 pm

I've been using beagle for many months now, and it's been great. In the last 3 days I started having a strange problem causing a kernel oops in reiserfs (xattr related) - which is manifested by beagle. I understand it's not a beagle bug but a kernel one. Anyone else has some issue like that or knows what could be causing it ?

Code: Select all

May 28 10:26:51 ibook Unable to handle kernel paging request for data at address 0x6372525a
May 28 10:26:51 ibook Faulting instruction address: 0xc00c35d4
May 28 10:26:51 ibook Oops: Kernel access of bad area, sig: 11 [#1]
May 28 10:26:51 ibook
May 28 10:26:51 ibook Modules linked in: radeon drm rfcomm l2cap hci_usb snd_seq snd_seq_device snd_powermac snd_pcm snd_timer snd soundcore snd_page_alloc bluetooth cpufreq_userspace therm_adt746x i2c_powermac evdev eth1394 appletouch usbhid bcm43xx firmware_class ieee80211softmac ieee80211 ieee80211_crypt ide_cd ehci_hcd ohci_hcd usbcore cdrom uninorth_agp agpgart ohci1394 sungem ieee1394 sungem_phy unix
May 28 10:26:51 ibook NIP: C00C35D4 LR: C00C3EB8 CTR: C00C3E7C
May 28 10:26:51 ibook REGS: d2a51b90 TRAP: 0300   Not tainted  (2.6.17-rc4)
May 28 10:26:51 ibook MSR: 00009032 <EE,ME,IR,DR>  CR: 44042448  XER: 00000000
May 28 10:26:51 ibook DAR: 6372525A, DSISR: 40000000
May 28 10:26:51 ibook TASK = d3f7d330[8065] 'beagled' THREAD: d2a50000
May 28 10:26:51 ibook GPR00: C00C3EB8 D2A51C40 D3F7D330 C028A529 6372525A C028A8E8 D2A51CB8 6372525A
May 28 10:26:51 ibook GPR08: 00000017 D2A51CC0 C028A914 00000004 24042444 1019C188 00000001 00000000
May 28 10:26:51 ibook GPR16: 00000001 C9BCDDA0 00000011 15212B37 41584652 C165EE5C C1656354 D2A51DA8
May 28 10:26:51 ibook GPR24: 00000000 C16563A4 C028A4E8 C028A529 D2A51CB8 C028A529 00000001 6372525A
May 28 10:26:51 ibook NIP [C00C35D4] sprintf_le_key+0x1c/0x834
May 28 10:26:51 ibook LR [C00C3EB8] prepare_error_buf+0xcc/0x6f4
May 28 10:26:51 ibook Call Trace:
May 28 10:26:51 ibook [D2A51C40] [C16563A4] 0xc16563a4 (unreliable)
May 28 10:26:51 ibook [D2A51C60] [C00C3EB8] prepare_error_buf+0xcc/0x6f4
May 28 10:26:51 ibook [D2A51CB0] [C00C356C] reiserfs_warning+0x58/0xa4
May 28 10:26:51 ibook [D2A51CF0] [C00DD2B0] reiserfs_xattr_get+0x1f4/0x218
May 28 10:26:51 ibook [D2A51D40] [C00DD694] user_get+0x60/0x7c
May 28 10:26:51 ibook [D2A51D60] [C00DC848] reiserfs_getxattr+0xc0/0x160
May 28 10:26:51 ibook [D2A51D80] [C008E95C] vfs_getxattr+0x7c/0x84
May 28 10:26:51 ibook [D2A51DA0] [C008E9E0] getxattr+0x7c/0x178
May 28 10:26:51 ibook [D2A51ED0] [C008EB90] sys_lgetxattr+0x50/0x74
May 28 10:26:51 ibook [D2A51F40] [C000F524] ret_from_syscall+0x0/0x38
May 28 10:26:51 ibook --- Exception: c01 at 0xfd6fa54
May 28 10:26:51 ibook LR = 0xfa2ce90
May 28 10:26:51 ibook Instruction dump:
May 28 10:26:51 ibook 80010044 7c0803a6 83e1003c 38210040 4e800020 9421ffe0 7c0802a6 bf61000c
May 28 10:26:51 ibook 90010024 7c7d1b78 7c9f2379 41820744 <801f0000> 5409463e 7d3b4b78 501bc42e
Top
pdouble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Aug 24, 2002 5:13 pm
Location: USA
Contact:
Contact pdouble
Website

  • Quote

Post by pdouble » Wed May 31, 2006 12:48 pm

fuoco wrote:I've been using beagle for many months now, and it's been great. In the last 3 days I started having a strange problem causing a kernel oops in reiserfs (xattr related) - which is manifested by beagle. I understand it's not a beagle bug but a kernel one. Anyone else has some issue like that or knows what could be causing it ?
Have you tried an fsck? I had strange locks up a few months back and decided to fsck, and behold reiserfs was corrupted. After --rebuild-tree I haven't had that problem.
Top
fuoco
Guru
Guru
Posts: 386
Joined: Sun May 23, 2004 3:19 pm
Location: Israel

  • Quote

Post by fuoco » Wed May 31, 2006 5:45 pm

pdouble wrote:
fuoco wrote:I've been using beagle for many months now, and it's been great. In the last 3 days I started having a strange problem causing a kernel oops in reiserfs (xattr related) - which is manifested by beagle. I understand it's not a beagle bug but a kernel one. Anyone else has some issue like that or knows what could be causing it ?
Have you tried an fsck? I had strange locks up a few months back and decided to fsck, and behold reiserfs was corrupted. After --rebuild-tree I haven't had that problem.
I have run fsck with --fix-fixable, I got no instruction to run --rebuild-tree, so I didn't try it. --fix-fixable didn't help me though. Any reason I should do --rebuild-tree after all ? Is it not dangerous in some way ?
Top
pdouble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sat Aug 24, 2002 5:13 pm
Location: USA
Contact:
Contact pdouble
Website

  • Quote

Post by pdouble » Wed May 31, 2006 5:56 pm

fuoco wrote:
pdouble wrote:
fuoco wrote:I've been using beagle for many months now, and it's been great. In the last 3 days I started having a strange problem causing a kernel oops in reiserfs (xattr related) - which is manifested by beagle. I understand it's not a beagle bug but a kernel one. Anyone else has some issue like that or knows what could be causing it ?
Have you tried an fsck? I had strange locks up a few months back and decided to fsck, and behold reiserfs was corrupted. After --rebuild-tree I haven't had that problem.
I have run fsck with --fix-fixable, I got no instruction to run --rebuild-tree, so I didn't try it. --fix-fixable didn't help me though. Any reason I should do --rebuild-tree after all ? Is it not dangerous in some way ?
If fsck didn't tell you to run --rebuild-tree, I wouldn't. When I did fsck it instructed me to do so. Just a thought since it helped my situation. I don't know enough about reiserfs to comment further.
Top
indianiec
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 97
Joined: Tue Feb 01, 2005 7:08 pm
Location: Krakow

  • Quote

Post by indianiec » Fri Jun 09, 2006 11:49 pm

Here you can get ebuild with thunderbird support.
Top
Lowspirit
Apprentice
Apprentice
User avatar
Posts: 258
Joined: Wed Jul 31, 2002 10:50 pm
Location: Northern Sweden

  • Quote

Post by Lowspirit » Sun Jun 25, 2006 5:09 pm

How do I make it index the length of movies? I just get "Unknown duration" no matter what media file or if I start over clean with a new beagle config, and since a version or two back it's supposed to do this properly through mplayer somehow.

I ofcourse have mplayer installed and working, and Beagle site says it's a runtime thing so it's not a compile option, any help would be appreciated.

Running 0.2.7.
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Top
bits'n'booze
n00b
n00b
Posts: 25
Joined: Wed May 19, 2004 5:40 pm
Location: Germany

Files-backend problem: Mono.Data.SqliteClient.SqliteSynt...

  • Quote

Post by bits'n'booze » Tue Jul 04, 2006 6:20 pm

EDIT:
I was able to solve the problem myself.

Solution:
rm -v $HOME/.beagle/Indexes/FileSystemIndex/PrimaryIndex/*
rm -v $HOME/.beagle/Indexes/FileSystemIndex/SecondaryIndex/*



Hi,

If I ennable the files-backend, beagle crashes (allways). With files-backend disabled, the other backends work find, i.e. evolution-mail. Any clues what's the problem?

Ah, before I forget: I followed the howto from here and here. I also recompiled and checked with different sqlite versions (2.x / 3.x), as the error below seems to be related to sqlite. A forum-search as well as google yielded0 results for this particular problem.

Any hints appreciated!

Here's the debug

Code: Select all

~ $ beagled --debug --fg
Debug: Starting Beagle Daemon (version 0.2.7)
Debug: Running on Mono 1.1.13.8
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --debug --fg
Debug: Established a connection to the X server
Debug: Starting main loop
Debug: Starting messaging server
Debug: Starting QueryDriver
Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
Debug: Found index helper at /usr/lib/beagle/beagled-index-helper
Debug: Found 2 backends in /usr/lib/beagle/Backends/EvolutionBackends.dll
Debug: KMail folders not found. Will keep trying
Debug: Starting Inotify Backend
Debug: KonqCacheDir: /var/tmp/kdecache-sheil/http
Error: Caught exception while trying to parse Kopete contact list: Document element did not appear. file:///home/sheil/.kde/share/apps/kopete/contactlist.xml Line 1, position 1.
Debug: Found 10 backends in /usr/lib/beagle/BeagleDaemonLib.dll
Debug: Reading mapping from filters
Debug: Loading system static indexes.
Debug: Found 0 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 1.08s
Debug: Caught ResponseMessageException: Connection refused
Debug: InnerException is SocketException -- we probably need to launch a helper
Debug: Launching helper process
Debug: IndexHelper PID is 30810
Debug: Starting messaging server
Warn: Unable to set IO priority for process to idle
Debug: IO priority for process set to best effort 7
Debug: Helper Size: VmRSS=10.4 MB, size=1.01, 0.2%
Debug: Found IndexHelper (30810) in 1.00s
Debug: Helper Size: VmRSS=22.0 MB, size=2.14, 28.5%
Debug: Helper Size: VmRSS=22.3 MB, size=2.17, 29.2%
Debug: Starting queryables
Debug: Starting backend: 'EvolutionDataServer'
Debug: Scanning addressbooks and calendars
Debug: Getting addressbook changes for file:///home/sheil/.evolution/addressbook/local/system
Debug: Addressbook file:///home/sheil/.evolution/addressbook/local/system: 0 added, 0 changed, 0 removed
Debug: Skipping remote addressbook ldap://directory.verisign.com:389/??one
Debug: Skipping remote addressbook ldap://netob.ath.cx:389/dc=netob,dc=ath,dc=cx??one
Debug: Skipping remote addressbook ldap://directory.verisign.com:389/??one
Debug: Skipping remote addressbook ldap://directory.verisign.com:389/??one
Debug: Skipping remote addressbook ldap://directory.verisign.com:389/??one
Debug: Getting calendar changes for file:///home/sheil/.evolution/calendar/local/system
Debug: Calendar file:///home/sheil/.evolution/calendar/local/system: 0 added, 0 changed, 0 removed
4 has recurrences
3 has recurrences
2 has recurrences
Debug: Getting calendar changes for contacts:///
Debug: Calendar contacts:///: 0 added, 0 changed, 0 removed
Debug: Scanned addressbooks and calendars in .49s
Debug: Starting backend: 'EvolutionMail'
Debug: Starting backend: 'KMail'
Debug: Starting Evolution mail backend
Debug: Starting mail crawl

### SEE BELOW!
Debug: Starting backend: 'Files'
Debug: Adding root: /data/serien/english
Error: Unhandled exception thrown.  Exiting immediately.
Error: Mono.Data.SqliteClient.SqliteSyntaxException: no such table: file_attributes
in [0x0007d] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/Mono.Data.SqliteClient/SqliteCommand.cs:294) Mono.Data.SqliteClient.SqliteCommand:GetNextStatement (intptr,intptr&,intptr&)
in [0x0005f] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/Mono.Data.SqliteClient/SqliteCommand.cs:481) Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (System.Data.CommandBehavior,bool,int&)
in [0x00005] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/Mono.Data.SqliteClient/SqliteCommand.cs:435) Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (System.Data.CommandBehavior)
in [0x00002] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/Mono.Data.SqliteClient/SqliteCommand.cs:429) Mono.Data.SqliteClient.SqliteCommand:ExecuteReader ()
in [0x00008] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileAttributesStore_Sqlite.cs:229) Beagle.Daemon.FileAttributesStore_Sqlite:ExecuteReaderOrWait (Mono.Data.SqliteClient.SqliteCommand)
in [0x001d0] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileAttributesStore_Sqlite.cs:156) Beagle.Daemon.FileAttributesStore_Sqlite:.ctor (string,string)
in [0x00015] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileAttributesStore_Mixed.cs:40) Beagle.Daemon.FileAttributesStore_Mixed:.ctor (string,string)
in [0x0000c] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileSystemQueryable/FileSystemQueryable.cs:122) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:BuildFileAttributesStore ()
in [0x0000e] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/LuceneQueryable.cs:999) Beagle.Daemon.LuceneQueryable:get_FileAttributesStore ()
in [0x0008f] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileSystemQueryable/FileSystemQueryable.cs:459) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:AddDirectory (Beagle.Daemon.FileSystemQueryable.DirectoryModel,string)
in [0x0005c] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileSystemQueryable/FileSystemQueryable.cs:508) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:AddRoot (string)
in [0x0003d] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileSystemQueryable/FileSystemQueryable.cs:1186) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:LoadConfiguration ()
in [0x00013] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/FileSystemQueryable/FileSystemQueryable.cs:1407) Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:Start ()
in [0x00006] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/Queryable.cs:51) Beagle.Daemon.Queryable:Start ()
in [0x00050] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/QueryDriver.cs:370) Beagle.Daemon.QueryDriver:StartQueryables ()
in <0x00047> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool ()
in <0x0002a> TimeoutProxy:Handler ()
in <0x00036> (wrapper native-to-managed) TimeoutProxy:Handler ()
in (unmanaged) 0xb7f14033
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x00534] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/BeagleDaemon.cs:463) Beagle.Daemon.BeagleDaemon:DoMain (string[])
in [0x00001] (at /var/tmp/portage/beagle-0.2.7/work/beagle-0.2.7/beagled/BeagleDaemon.cs:220) Beagle.Daemon.BeagleDaemon:Main (string[])

Debug: The daemon appears to have gone away.
Debug: Shutting down helper.
Debug: (1) Waiting for 1 worker...
Debug: waiting for server '/home/sheil/.beagle/socket-helper'
Debug: Exiting
Debug: Server '/home/sheil/.beagle/socket-helper' shut down
---
[post=742894]Adopt an unanswered post today![/post]
Top
Post Reply

100 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy