Re: Beagle on Gentoo

2005-10-30 Thread David Stahl
On Wed, 2005-10-26 at 21:48 +0100, Daniel Drake wrote: 
 Just a quick note to point out that after a long and unexcusable delay, 
 Beagle 
 is now available in Gentoo's 'official' package tree, Portage.
 
 http://packages.gentoo.org/packages/?category=app-misc;name=beagle
 
 Installation instructions can be found here:
 http://www.beagle-project.org/Gentoo_Installation

I had been using the unofficial overlay method for using Beagle with
Portage. Once I saw this announcement I un-emerged it and switched to
use this one.

I'm getting the WARN: System.IO.IOException: Lock obtain timed out:
exception that was mentioned on the list here:

http://mail.gnome.org/archives/dashboard-hackers/2005-March/msg00128.html

and references the bug here:

http://bugzilla.gnome.org/show_bug.cgi?id=171516

At the end of this message is the output of 'beagled --debug --fg'

I already had installed the latest mono and *-sharp packages but I can
provide version numbers if requested. I had updated my system this
morning so everything should be clean. My mono version is 1.1.9.2

Should I re-open the bug? Anyone else with Gentoo having a problem?

Note that after the Lock exception, Best doesn't return searches,
inotify messages aren't logged etc... this all happens about 1 - 2
minutes after starting.

[EMAIL PROTECTED] ~ $ beagled --debug --fg
INFO: Starting Beagle Daemon (version 0.1.1)
DEBUG: Command Line: /usr/lib/beagle/BeagleDaemon.exe --debug --fg
DEBUG: Starting main loop
DEBUG: Starting messaging server
DEBUG: Starting QueryDriver
DEBUG: Found index helper at /usr/lib/beagle/beagled-index-helper
INFO: Guessing for location of KMail folders ... found
at /home/dave/Mail
DEBUG: Starting Inotify Backend
DEBUG: Found 11 types in BeagleDaemonLib, Version=1.4.3.3,
Culture=neutral
DEBUG: Found 0 user-configured static queryables
INFO: Starting Evolution mail backend
DEBUG: Starting mail crawl
DEBUG: Will index mbox /home/dave/.evolution/mail/local/Inbox
DEBUG: Will index mbox /home/dave/.evolution/mail/local/Outbox
DEBUG: Will index mbox /home/dave/.evolution/mail/local/Sent
DEBUG: Adding root: /home/dave
DEBUG: Will index
mbox /home/dave/.evolution/mail/local/Inbox.sbd/dashboard-hackers
DEBUG: Will index mbox /home/dave/.evolution/mail/local/Inbox.sbd/tomboy
DEBUG: Will index
mbox /home/dave/.evolution/mail/local/Inbox.sbd/f-spot-list
DEBUG: Will index
mbox /home/dave/.evolution/mail/local/Inbox.sbd/evolution-hackers
DEBUG: Will index INFO: Starting KMail backend
DEBUG: Starting mail crawl
DEBUG: mail_directories created for:/home/dave/Mail (0)
DEBUG: Searching for mbox and maildirs in /home/dave/Mail
DEBUG: Mail crawl finished
INFO: Evolution mail driver worker thread done in .10s
DEBUG: Mail crawl done
INFO: KMail driver worker thread done in .04s
DEBUG: Done starting FileSystemQueryable
INFO: Scanning Tomboy notes...
DEBUG: Starting Scheduler thread
DEBUG: Starting Inotify threads
INFO: Starting Gaim log backend
DEBUG: Opening mbox Inbox
DEBUG: Daemon initialization finished after 1.37s
DEBUG: Inbox: indexed 1 messages (3417/12982908 bytes .0%)
INFO: Scanned 16 notes in .44s
DEBUG: Opening mbox Outbox
DEBUG: Outbox: indexed 0 messages
DEBUG: Opening mbox Sent
INFO: Gaim log backend worker thread done in 7.16s
DEBUG: Caught ResponseMessageException: Connection refused
DEBUG: Launching helper process
DEBUG: Starting messaging server
WARN: Unable to set IO-priority for process to idle
DEBUG: Helper Size: VmRSS=9.7 MB, size=1.00, 0.0%
DEBUG: Helper Size: VmRSS=23.3 MB, size=2.42, 35.4%
WARN: Exception caught while executing
Beagle.Daemon.ConnectionHandler:Void HandleConnection()
WARN: System.IO.IOException: Lock obtain timed out:
Lock@/home/dave/.beagle/Indexes/MailIndex/Locks/lucene-6badb9e79205eb6b2374f4849698915d-commit.lock
in 0x001a4 Lucene.Net.Store.Lock:Obtain (Int64 lockWaitTimeout)
in 0x00025 Lucene.Net.Store.Lock+With:run ()
in 0x00073 Lucene.Net.Index.IndexReader:Open
(Lucene.Net.Store.Directory directory, Boolean closeDirectory)
in 0xc Lucene.Net.Index.IndexReader:Open
(Lucene.Net.Store.Directory directory)
in 0x001bf Beagle.Daemon.LuceneIndexingDriver:Flush_Unlocked
(Beagle.Daemon.IndexerRequest request)
in 0x0002f Beagle.Daemon.LuceneIndexingDriver:Flush
(Beagle.Daemon.IndexerRequest request)
in 0x001bb Beagle.IndexHelper.RemoteIndexerExecutor:Execute
(Beagle.RequestMessage raw_request)
in 0x005b2 Beagle.Daemon.ConnectionHandler:HandleConnection ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
in 0x0001f Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
DEBUG: Helper Size: VmRSS=23.3 MB, size=2.42, 35.4%
DEBUG: Helper Size: VmRSS=23.3 MB, size=2.42, 35.4%
DEBUG: Helper Size: VmRSS=23.3 MB, size=2.42, 35.4%
DEBUG: Helper Size: VmRSS=23.3 MB, size=2.42, 35.4%


___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: Beagle on Gentoo

2005-10-30 Thread David Stahl
I checked /usr/portage/distfiles and found that my beagle download was
from October 10th. I was guessing that it hadn't re-downloaded the
sources from the time I was using the overlay until I switched to use
the official portage version.

I deleted the beagle in distfiles, re-emerged it, and so far it appears
to be working correctly.

Thanks for following up, but it looks like the beagle in portage is
working correctly now :)

-D

On Sun, 2005-10-30 at 20:08 +, Daniel Drake wrote:
 David Stahl wrote:
  WARN: Exception caught while executing
  Beagle.Daemon.ConnectionHandler:Void HandleConnection()
  WARN: System.IO.IOException: Lock obtain timed out:
  Lock@/home/dave/.beagle/Indexes/MailIndex/Locks/lucene-6badb9e79205eb6b2374f4849698915d-commit.lock
 
 What are the contents of this file?
 It should be a process id. Is that process still running?
 
 Daniel

___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: Beagle on Gentoo

2005-10-28 Thread federico

Joe Shaw ha scritto:


Hi,

On Thu, 2005-10-27 at 00:36 +0200, federico wrote:
 


i get this error while launching best:

** (/usr/lib/beagle/Best.exe:13223): WARNING **: The following assembly 
referenced from 
/usr/lib/mono/gac/gnome-sharp/2.0.0.0__35e10195dab3c99f/gnome-sharp.dll 
could not be loaded:

Assembly:   glib-sharp(assemblyref_index=1)
Version:2.0.0.0
Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed 
in the MONO_PATH environment variable, or in the location of the 
executing assembly 
(/usr/lib/mono/gac/gnome-sharp/2.0.0.0__35e10195dab3c99f).
   



It looks like your gnome-sharp and glib-sharp are out of sync.  I'm not
sure how the Gentoo packaging works, but make sure your glib-sharp and
gnome-sharp DLLs are the same version.

Specifically, your gnome-sharp is probably 1.9.5 and looking for
glib-sharp 1.9.5 (but it is probably either 2.3.x or 2.5.x)

 


ok this problem is now fixed in the portage tree.
now all the *-sharp ebuilds are in the testing branch of portage tree...
however i have a problem downgrading gtk-sharp from 2.5.92 to 2.3.91:

/usr/bin/mono ../generator/gapi_codegen.exe --generate atk-api.xml \
   \
--outdir=generated --customdir=. --assembly-name=atk-sharp  \
--gluelib-name=atksharpglue-2 --glue-filename=glue/generated.c  \
--glue-includes=\
 touch generated-stamp
Property has unknown Type value_array in type Atk.Relation
Name: listener Type: GSignalEmissionHook in 
atk_add_global_event_listener  in me

thod AddGlobalEventListener in type Atk.Global
Defaulting FocusHandler param to 'call' scope in method 
NoOpObject.AddFocusHandl

er
Defaulting PropertyChangeHandler param to 'call' scope in method 
Object.ConnectP

ropertyChangeHandler
Defaulting KeySnoopFunc param to 'call' scope in method 
Global.AddKeyEventListen

er
Defaulting EventListener param to 'call' scope in method 
Global.AddFocusTracker
Defaulting EventListenerInit param to 'call' scope in method 
Focus.TrackerInit


Generation Summary:
 Enums: 10  Structs: 5  Boxed: 0  Opaques: 0  Interfaces: 12  Objects: 
11  Call

backs: 6
 Properties: 20  Signals: 20  Methods: 271  Constructors: 5  Throttled: 2
Total Nodes: 362

cp ../gtk-sharp.snk .
cp ../AssemblyInfo.cs .
/usr/bin/mcs  -nowarn:0169,0612,0618 -unsafe -out:atk-sharp.dll 
-target:library

/r:../glib/glib-sharp.dll generated/*.cs  AssemblyInfo.cs
make[2]: Leaving directory 
`/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.3

.91/atk'
Making all in gdk
make[2]: Entering directory 
`/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.

3.91/gdk'
Making all in .
make[3]: Entering directory 
`/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.

3.91/gdk'
cp ./gdk-api.raw gdk-api.xml
chmod u+w gdk-api.xml
/usr/bin/mono ../parser/gapi-fixup.exe --api=gdk-api.xml 
--metadata=./Gdk.metada

ta --symbols=./gdk-symbols.xml
rm -f generated/* \
/usr/bin/mono ../generator/gapi_codegen.exe --generate gdk-api.xml \
-I:../pango/pango-api.xml   \
--outdir=generated --customdir=. --assembly-name=gdk-sharp  \
--gluelib-name=gdksharpglue-2 --glue-filename=glue/generated.c  \
--glue-includes=gdk/gdk.h   \
 touch generated-stamp
Name: flags Type: GSpawnFlags in gdk_spawn_on_screen  in method OnScreen 
in type

Gdk.Spawn
Name: flags Type: GSpawnFlags in gdk_spawn_on_screen_with_pipes  in 
method OnScr

eenWithPipes in type Gdk.Spawn
Name: enter_fn Type: GCallback in gdk_threads_set_lock_functions  in 
method SetL

ockFunctions in type Gdk.Threads
Defaulting InvalidateMaybeRecurseChildFunc param to 'call' scope in 
method Windo

w.InvalidateMaybeRecurse

Generation Summary:
 Enums: 52  Structs: 17  Boxed: 3  Opaques: 11  Interfaces: 0  Objects: 
21  Cal

lbacks: 8
 Properties: 8  Signals: 9  Methods: 438  Constructors: 25  Throttled: 3
Total Nodes: 595

cp ../gtk-sharp.snk .
cp ../AssemblyInfo.cs .
/usr/bin/mcs  -nowarn:0169,0612,0618 -unsafe -out:gdk-sharp.dll 
-target:library
/r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll generated/*.cs 
./EventButt
on.cs ./EventClient.cs ./EventConfigure.cs ./EventCrossing.cs ./Event.cs 
./Event
DND.cs ./EventExpose.cs ./EventFocus.cs ./EventKey.cs ./EventMotion.cs 
./EventPr
operty.cs ./EventProximity.cs ./EventScroll.cs ./EventSelection.cs 
./EventSettin
g.cs ./EventVisibility.cs ./EventWindowState.cs ./Key.cs ./Size.cs 
./TextPropert

y.cs AssemblyInfo.cs
generated/PangoHelper.cs(17,55): error CS0039: Cannot convert type 
`GLib.Object'

to `Pango.Context' via a built-in conversion
generated/PangoHelper.cs(51,55): error CS0039: Cannot convert type 
`GLib.Object'

to `Pango.Context' via a built-in conversion
Compilation failed: 2 error(s), 0 warnings
make[3]: *** [gdk-sharp.dll] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/gtk-sharp-2.3.91/work/gtk-sharp-2.3

.91/gdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving 

Re: Beagle on Gentoo

2005-10-27 Thread Joe Shaw
Hi,

On Thu, 2005-10-27 at 00:36 +0200, federico wrote:
 i get this error while launching best:
 
 ** (/usr/lib/beagle/Best.exe:13223): WARNING **: The following assembly 
 referenced from 
 /usr/lib/mono/gac/gnome-sharp/2.0.0.0__35e10195dab3c99f/gnome-sharp.dll 
 could not be loaded:
  Assembly:   glib-sharp(assemblyref_index=1)
  Version:2.0.0.0
  Public Key: 35e10195dab3c99f
 The assembly was not found in the Global Assembly Cache, a path listed 
 in the MONO_PATH environment variable, or in the location of the 
 executing assembly 
 (/usr/lib/mono/gac/gnome-sharp/2.0.0.0__35e10195dab3c99f).

It looks like your gnome-sharp and glib-sharp are out of sync.  I'm not
sure how the Gentoo packaging works, but make sure your glib-sharp and
gnome-sharp DLLs are the same version.

Specifically, your gnome-sharp is probably 1.9.5 and looking for
glib-sharp 1.9.5 (but it is probably either 2.3.x or 2.5.x)

Joe

___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers