Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Beagle Support and Installation help
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Sat Mar 04, 2006 8:20 am    Post subject: Reply with quote

using update-desktop-database from desktop-file-utils, i was able to convince beagle to use the actions set in /usr/share/applications.
whee! anyone want to give me their xpdf.desktop or poppler.desktop if they've got one? ;)
Back to top
View user's profile Send private message
tardo
n00b
n00b


Joined: 16 Mar 2006
Posts: 16

PostPosted: Wed Apr 05, 2006 10:36 pm    Post subject: Reply with quote

Code:
checking for "evolution-shell-2.4"... checking for "evolution-shell-2.2"... Package evolution-shell-2.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `evolution-shell-2.2.pc' to the PKG_CONFIG_PATH environment variable No package 'evolution-shell-2.2' found
configure: error: Library requirements ("evolution-shell-2.2") not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

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


trying to emerge evolution-sharp-0.10.2-r1 (beagle dependancy). using gentoo-sources 2.6.16-r1, ~amd64. there is a evolution-shell-2.6 (for gnome 2.14) in my /usr/lib. I read somewhere that configure.in could be changed to fix that... but I have no clue how =[

edit: workaround by using -evo in use flags. but this means no evolution support.
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Thu Apr 06, 2006 8:04 am    Post subject: Reply with quote

shall we open a bug ?

I still have this problem, and also for me the workaraound is to not have the evolution support in beagle.

I've emerge evolution-data-server with
Code:
ldap
but I don't have the
Code:
evolution-shell
command anywhere.

Can you share your use for
Code:
evolution
evolution-data-server
beagle


thanks.
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
Jhedron
n00b
n00b


Joined: 07 Jun 2005
Posts: 38
Location: Michigan, USA

PostPosted: Thu Apr 06, 2006 11:56 pm    Post subject: Reply with quote

sog wrote:
anybody else having a problem wherein beagle runs in debug mode by default?

Yes, I'm having this problem with beagle-0.2.3-r1. I was wondering if you had solved the problem. In my case, I've found that the --debug flag is added by the /usr/bin/beagled script (lines 105 - 110):
Code:
if [ $monogrind -eq 1 ]; then
    export GC_DONT_GC=1
    CMDLINE="monogrind $TARGET_EXE $MONO_EXTRA_ARGS $BEAGLED_ARGS $FGBG_ARG"
else
    CMDLINE="$BEAGLE_MONO_RUNTIME --debug $MONO_EXTRA_ARGS $TARGET_EXE $BEAGLED_ARGS $FGBG_ARG"
fi

If you'll notice, in the else clause, the command line is given a "--debug" flag. As far as I can tell, this is always added unless the "--monogrind" flag is passed to the script. In the Beagle CVS tree, the "--debug" is still there and I've found no bug reports on it. I've solved the problem by removing the "--debug".

My question: Should this be reported as a bug or am I misunderstanding what is going on in the script?
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Fri Apr 07, 2006 12:04 am    Post subject: Reply with quote

i actually posted this problem to the dashboard hackers listserv, and i got the following response from Joe Shaw:

Quote:
Right now you have to patch the source. In beagled/BeagleDaemon.cs
there's a chunk of code:

Log.Initialize (PathFinder.LogDir,
"Beagle",
// FIXME: We always turn on full debugging output! We are still
// debugging this code, after all...
//arg_debug ? LogLevel.Debug : LogLevel.Warn,
LogLevel.Debug,
arg_fg);

If you uncomment the "arg_debug ? LogLevel.Debug : LogLevel.Warn" line
and remove the "LogLevel.Debug" line, it'll default to a lower warning
level when you don't run with --debug.

(There may be some confusion about --debug. There is the --debug
argument that is passed to mono. This has a small impact on performance
speed- and memory-wise, but gives us very useful debugging output when
something actually crashes, and it's still probably a good idea to have
on generally. There is also the --debug option to Beagle, which would
set the debug log level. It's that option that causes the logs to get
huge.)

There is some logic in the Beagle daemon to clean up old logs when the
size gets big, but this only happens at startup, and if you have a
daemon running for, say, weeks at a time, it wouldn't really help you.

It's probably a good idea for distributions to ship with a patch to turn
down the debugging level. I'm a little reluctant to do it upstream
because there are still bugs in the code that are extremely tough to
reproduce, and without good debugging output it's tough to track those
down.


i did alter the code, but Portage kicked it out b/c the MD5's didn't match. i didn't bother to try and figure a way to force an emerge with altered code, but it may well be possible.
_________________
------------------------------------------------
(blog) http://www.redmonk.com/sogrady/
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Fri Apr 07, 2006 3:39 am    Post subject: Reply with quote

sog: ebuild foo digest

may i suggest putting it in a local overlay to prevent emerge --sync from clobbering it
perhaps a patch is in order.
Back to top
View user's profile Send private message
sog
Guru
Guru


Joined: 04 Apr 2004
Posts: 356

PostPosted: Fri Apr 07, 2006 7:36 am    Post subject: Reply with quote

ah, thx MADcow, can't believe i didn't think of that.

but i'm with you on the patch; would be nice to be able to turn off debug via a USE flag.
_________________
------------------------------------------------
(blog) http://www.redmonk.com/sogrady/
Back to top
View user's profile Send private message
tardo
n00b
n00b


Joined: 16 Mar 2006
Posts: 16

PostPosted: Sat Apr 08, 2006 2:57 am    Post subject: Reply with quote

matttions wrote:
shall we open a bug ?

I still have this problem, and also for me the workaraound is to not have the evolution support in beagle.

I've emerge evolution-data-server with
Code:
ldap
but I don't have the
Code:
evolution-shell
command anywhere.

Can you share your use for
Code:
evolution
evolution-data-server
beagle


thanks.


Code:
app-misc/beagle pdf ole

no use set for evolution or evolution-data-server, so I assume defaults

this is my make.conf use line
Code:
USE="gtk alsa dvdr cdr userlocales hal glitz cairo symlink nptl nptlonly \
     unicode bitmap-fonts truetype-fonts type1-fonts dri mono"


please do open a bug report >_<
Back to top
View user's profile Send private message
Jhedron
n00b
n00b


Joined: 07 Jun 2005
Posts: 38
Location: Michigan, USA

PostPosted: Sat Apr 08, 2006 1:39 pm    Post subject: Reply with quote

sog wrote:
i actually posted this problem to the dashboard hackers listserv...

Thanks for the information. After taking a second look, it appears I was too hasty in making my comment that removing --debug from the script helps. Oh well.
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Sun Apr 09, 2006 4:59 pm    Post subject: Reply with quote

Beagle 0.2.4 has Ebuild filter. What I have to do to let beagle indexes my portage? As frontend I am using Kerry. Thanks
Back to top
View user's profile Send private message
sepp
Guru
Guru


Joined: 11 Jul 2002
Posts: 330

PostPosted: Mon Apr 10, 2006 2:04 pm    Post subject: Reply with quote

radfoj wrote:
Beagle 0.2.4 has Ebuild filter. What I have to do to let beagle indexes my portage? As frontend I am using Kerry. Thanks


good question!

I alread enabled crawling in
Code:
/etc/beagle/crawl-portage
but it seems like my beagled doesn't pick up this setting. I also tried after removing the .beagle directory.
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Mon Apr 10, 2006 2:26 pm    Post subject: Reply with quote

Hi sepp,
did you tried restarting beagled?
Code:
$ beagle-shutdown
$ beagled --fg --debug

I restart it after proces beagled-index-helper was done (few hours till it indexes my portage tree on my box - it was very hungry, harddisk was noisy all that time) and saw in output:
Code:
Debug: Initializing static queryable: /var/lib/cache/beagle/indexes/portage

Now I can see ebuilds in my search-result. I reset crawling to no again, as I am afraid of big load again (yes, I sync portage every day). It seems I will stay with eix for now.
Back to top
View user's profile Send private message
sepp
Guru
Guru


Joined: 11 Jul 2002
Posts: 330

PostPosted: Mon Apr 10, 2006 3:07 pm    Post subject: Reply with quote

radfoj wrote:
Hi sepp,
did you tried restarting beagled?
Code:
$ beagle-shutdown
$ beagled --fg --debug


sure I did. but this didn't help.
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Tue Apr 11, 2006 12:01 am    Post subject: Reply with quote

I just want to verify with other users that extended attributes should be enabled for the /home partition too. The documentation over at beagle-project.org says to only enable it for the root partition but that doesn't make any sense to me since / usually isn't indexed. I enabled xattr for both / and /home and I can see beagle has added attributes to all the files in my home directory (see them with /bin/getfattr).

sepp: I think you need to be patient. Wait 24-48 hours for your new beagle install to re-index everything. I upgraded and restarted beagle 8 hours ago and portage still doesn't show up in the index yet (I enabled it in /etc/beagle/crawl-portage before restarting). If you want to force beagle to reindex at full speed do this:

Code:

$ beagle-shutdown
$ export BEAGLE_EXERCISE_THE_DOG=1
$ beagled


...but be warned that your system will grind to a halt while it's working.
Back to top
View user's profile Send private message
Jhedron
n00b
n00b


Joined: 07 Jun 2005
Posts: 38
Location: Michigan, USA

PostPosted: Tue Apr 11, 2006 3:48 pm    Post subject: Reply with quote

bk0 wrote:
I just want to verify with other users that extended attributes should be enabled for the /home partition too. The documentation over at beagle-project.org says to only enable it for the root partition but that doesn't make any sense to me since / usually isn't indexed. I enabled xattr for both / and /home and I can see beagle has added attributes to all the files in my home directory (see them with /bin/getfattr).

I've enabled extended attributes for my /home partition. I believe that extended attributes should be enabled for any partition containing data you would like to have indexed. Perhaps the author of the documentation at beagle-project.org has /home setup as a regular directory on the root partition rather than giving /home its own partition. I think some people prefer to do it that way.

Oh, has anyone been having trouble getting Beagle to index FLAC files? Whenever Beagle runs across one of my music files encoded with FLAC, I get a message like the following in the IndexHelper log:
Code:
IndexH  WARN: Unable to filter /path/to/music/musicfile.flac: Input string was not in the correct format

I can't seem to locate any other log messages that would provide more detailed information.
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Fri Apr 14, 2006 12:43 pm    Post subject: Reply with quote

Thanks for the confirmation re: xattrs. I've fixed the docs at beagle-project.org.

Jhedron wrote:

Oh, has anyone been having trouble getting Beagle to index FLAC files? Whenever Beagle runs across one of my music files encoded with FLAC, I get a message like the following in the IndexHelper log:
Code:
IndexH  WARN: Unable to filter /path/to/music/musicfile.flac: Input string was not in the correct format

I can't seem to locate any other log messages that would provide more detailed information.


I have some FLAC music but I haven't noticed that error (I haven't looked at the logs closely though either). This is just a guess but it looks like it could be a unicode problem (or something similar). If beagle/mono expects UTF-8 (which is what flac and vorbis tags are supposed to be encoded in) but your files have some other encoding then it could throw an error.

edit: if your flac files have ID3 tags (some encoders like grip can do that) it might also be screwing things up.
Back to top
View user's profile Send private message
Jhedron
n00b
n00b


Joined: 07 Jun 2005
Posts: 38
Location: Michigan, USA

PostPosted: Tue Apr 18, 2006 2:29 pm    Post subject: Reply with quote

bk0 wrote:
I have some FLAC music but I haven't noticed that error (I haven't looked at the logs closely though either). This is just a guess but it looks like it could be a unicode problem (or something similar). If beagle/mono expects UTF-8 (which is what flac and vorbis tags are supposed to be encoded in) but your files have some other encoding then it could throw an error.

edit: if your flac files have ID3 tags (some encoders like grip can do that) it might also be screwing things up.


I will have to double check, but I believe all of the tags use UTF-8 and none of them are ID3 tags. I used Ex Falso to tag just about all of them. Beagle is the only software to date that's had any problems reading the tags, but that might only indicate my other software doesn't really care one way or another about properly formatted and encoded FLAC/Vorbis tags.
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Thu Apr 20, 2006 3:21 am    Post subject: Reply with quote

radfoj wrote:

Now I can see ebuilds in my search-result. I reset crawling to no again, as I am afraid of big load again (yes, I sync portage every day). It seems I will stay with eix for now.


This has been fixed in beagle 0.2.4 for incremental updates. It takes around 9 minutes on my box now.

BTW, kerry 0.1-r2 has search support for ebuilds.
Back to top
View user's profile Send private message
Blaine
n00b
n00b


Joined: 03 Jun 2005
Posts: 26

PostPosted: Thu Apr 20, 2006 7:14 pm    Post subject: Reply with quote

Two issues about beagle:

1. It does not index my ebuilds.

I enabled it in
    /etc/beagle/crawl-portage
and waited several days now, but I still get no search results for ebuilds, although it stopped indexing. Do I have to add "/usr/portage" to the search path?

2. Beagled spams my ~/.xsession-errors

Got
    #tail -f ~/.xsession-errors
running in a console and I can see everything it's doing. It's like having "#beagled --fg --debug" running. The file grows about 50MB per hour!
I am not aware of any verbosity setting for beagle. Would be nice to have some, though!


Apart from that it's a very nice tool. Could not live without it anymore, it's too convenient to search my library of scientific pdfs.
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Thu Apr 20, 2006 7:43 pm    Post subject: Reply with quote

Blaine wrote:
Two issues about beagle:

1. It does not index my ebuilds.

I enabled it in
    /etc/beagle/crawl-portage
and waited several days now, but I still get no search results for ebuilds, although it stopped indexing. Do I have to add "/usr/portage" to the search path?


The ebuild currently there uses ${PORTDIR} for the path, but it doesn't exist because /etc/make.conf has not been sourced. Look at http://bugs.gentoo.org/show_bug.cgi?id=130233 for a patch to /etc/beagle/crawl-portage.
Back to top
View user's profile Send private message
Blaine
n00b
n00b


Joined: 03 Jun 2005
Posts: 26

PostPosted: Fri Apr 21, 2006 2:14 pm    Post subject: Reply with quote

pdouble wrote:
The ebuild currently there uses ${PORTDIR} for the path, but it doesn't exist because /etc/make.conf has not been sourced. Look at http://bugs.gentoo.org/show_bug.cgi?id=130233 for a patch to /etc/beagle/crawl-portage.

Indexing Portage still doesn't work. At least the .xsession-error - problem JustVanishedTM.

Thanks for the suggestion. I did not think of bugzilla myself.
Will report back any findings.

Greets
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Fri Apr 21, 2006 2:25 pm    Post subject: Reply with quote

Try

Code:

beagle-extract-content /usr/portage/sys-devel/gcc/gcc-3.4.6-r1.ebuild


You should get

Code:

Filename: file:///usr/portage/sys-devel/gcc/gcc-3.4.6-r1.ebuild
Debug: Loaded 41 filters from /usr/lib/beagle/Filters/Filters.dll
Filter: Beagle.Filters.FilterEbuild
MimeType:

Properties:
  dc:description = The GNU Compiler Collection.  Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking
  dc:title = gcc
  fixme:download_size = 29174182
  fixme:version = 3.4.6-r1

(no content)
(no hot content)


That will tell you if the ebuild filter is working.
Back to top
View user's profile Send private message
Blaine
n00b
n00b


Joined: 03 Jun 2005
Posts: 26

PostPosted: Sat Apr 22, 2006 3:48 pm    Post subject: Reply with quote

Code:
luc@moe ~ $ beagle-extract-content /usr/portage/sys-devel/gcc/gcc-3.4.6-r1.ebuild
Filename: file:///usr/portage/sys-devel/gcc/gcc-3.4.6-r1.ebuild
Debug: Loaded 41 filters from /usr/lib/beagle/Filters/Filters.dll
Filter: Beagle.Filters.FilterEbuild
MimeType:

Properties:
  dc:description = The GNU Compiler Collection.  Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking
  dc:title = gcc
  fixme:download_size = 29174182
  fixme:version = 3.4.6-r1

(no content)
(no hot content)


Seems to be the case. There is some quirk somewhere. Maybe beagle-2.5 will fix it...

Thanks a lot anyway
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Sat Apr 22, 2006 4:14 pm    Post subject: Reply with quote

Blaine wrote:
[code]
Seems to be the case. There is some quirk somewhere. Maybe beagle-2.5 will fix it...

Thanks a lot anyway


I have some more questions... :)

What does your /etc/beagle/beagle-crawl-portage look like?

How about:
[code]
grep beagleindex /etc/passwd (should not present a security problem since beagleindex should not have a password) ?
ls -lah /var/lib/cache/beagle/
du -sh /var/lib/cache/beagle/indexes/*
[/code]

I _think_ there may be a permissions problem with all but possibly the latest beagle ebuild. /var/lib/cache/beagle/ should be owned by beagleindex but may be owned by root. You can chmod that if it isn't correct.
Back to top
View user's profile Send private message
Blaine
n00b
n00b


Joined: 03 Jun 2005
Posts: 26

PostPosted: Sat Apr 22, 2006 4:56 pm    Post subject: Reply with quote

There's never too many questions. :P

Ok, here it comes:
Code:
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"

Code:
moe ~ # grep beagleindex /etc/passwd
beagleindex:x:104:444:added by portage for beagle:/var/lib/cache/beagle:/usr/sbin/nologin

Code:
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:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum