Re: [Bug 323065] Thunderbird Backend



beagle (bugzilla.gnome.org) wrote:
> Do not reply to this via email (we are currently unable to handle email
> responses and they get discarded).  You can add comments to this bug at
> http://bugzilla.gnome.org/show_bug.cgi?id=323065
>  beagle | General | Ver: unspecified
> 
> 
> Pierre Östlund changed:

> Most of these issues are just unimplemented features. More information about
> this is available on the mailinglist. 

OK, I have subscribed here, and will respond here.

> I've spent some time today fixing some of the unimplemented stuff. IMAP url
> scheme is now correct . I also added support for subfolders in conjunction with
> fixing the IMAP scheme. Opening attachments now works in the same way as the
> evolution backend, by opening the parent email. 
> 
> When I wrote the search-ui patch I used "thunderbird" as command when starting
> thunderbird, this is probably the reason why you can't open any mails. I've
> changed this command to "thunderbird-bin" instead, which is more correct
> ("thunderbird" is a gentoo specific script I just found out).

I think it is "any distribution" specific. Here it is in Archlinux:
$ which thunderbird
/opt/mozilla/bin/thunderbird
$ locate thunderbird-bin
/opt/mozilla/lib/thunderbird-1.5/thunderbird-bin

"thunderbird-bin" is not in the $PATH, and is not supposed to be called
directly from command-line - only by "thunderbird" script, which sets
all necessary environment variables. I suppose "thunderbird" would be
the correct name.
Here is the result:

$ PATH="$PATH:/opt/mozilla/lib/thunderbird-1.5" beagle-search
/opt/mozilla/lib/thunderbird-1.5/thunderbird-bin: error while loading
shared libraries: libmozjs.so: cannot open shared object file: No such
file or directory

I had to reverse this change - "thunderbird" works for me.

When I write "works", I mean it opens correct email when clicked on
attachment or email, but only when there was no running thunderbird
process before. When it is running (and I have it always running), it
does not open the requested email.
I thing 'thunderbird -remote "openUrl(...)"' should work in this case,
but for some reason it does not work for me, even from command-line, so
it is a problem with local installation of thunderbird in my case.

And this is the reason why I originally wrote that it I couldn't open
any mails/attachments.

> I would also appreciate if you could upload a log file when you're running with
> the thunderbird backend, just to help me figure out why your IMAP mails aren't
> indexed. 

There is nothing about thunderbird's imap in my logs:
$ grep -i imap ~/.beagle/Log/*
/home/miko/.beagle/Log/2006-04-13-00-15-12-Beagle:060413 0016135899
25377 Beagle DEBUG: mail_directories created
for:/home/miko/.kde/share/apps/kmail/dimap (0)
/home/miko/.beagle/Log/2006-04-13-00-15-12-Beagle:060413 0016135900
25377 Beagle DEBUG: Searching for mbox and maildirs in
/home/miko/.kde/share/apps/kmail/dimap
/home/miko/.beagle/Log/current-Beagle:060413 0016135899 25377 Beagle
DEBUG: mail_directories created
for:/home/miko/.kde/share/apps/kmail/dimap (0)
/home/miko/.beagle/Log/current-Beagle:060413 0016135900 25377 Beagle
DEBUG: Searching for mbox and maildirs in
/home/miko/.kde/share/apps/kmail/dimap

(I am not using kmail).
I think this would be relevant:
[current-Beagle]

060413 0016135909 25377 Beagle DEBUG: Starting Thunderbird backend
060413 0016135921 25377 Beagle DEBUG: Scanning for files in the
IndexingService directory...
060413 0016135922 25377 Beagle DEBUG: Indexed 0 Indexing Service items
in ,00s
060413 0016136434 25377 Beagle DEBUG: Starting Thunderbird mail crawling
(8 accounts)
060413 0016136918 25377 Beagle DEBUG: Switched mailbox to Inbox (miko wp pl)
060413 0016136936 25377 Beagle  WARN: Exception caught while executing
Beagle.Daemon.ThunderbirdQueryable.ThunderbirdQueryable:Void StartWorker()
060413 0016136994 25377 Beagle  WARN EX: System.ArgumentNullException:
null key
060413 0016136994 25377 Beagle  WARN EX: Parameter name: key
060413 0016136994 25377 Beagle  WARN EX: in [0x000cd]
System.Collections.Hashtable:get_Item (System.Object key)
060413 0016136994 25377 Beagle  WARN EX: in [0x00014] (at
/var/abs/extra/gnome/beagle/src/beagle-0.2.4/Util/Scheduler.cs:606)
Beagle.Util.Scheduler:GetByTag (System.String tag)
060413 0016136994 25377 Beagle  WARN EX: in [0x00002] (at
/var/abs/extra/gnome/beagle/src/beagle-0.2.4/Util/Scheduler.cs:611)
Beagle.Util.Scheduler:ContainsByTag (System.String tag)
060413 0016136994 25377 Beagle  WARN EX: in [0x00013] (at
/var/abs/extra/gnome/beagle/src/beagle-0.2.4/beagled/ThunderbirdQueryable/ThunderbirdIndexer.cs:70)
Beagle.Daemon.ThunderbirdQueryable.ThunderbirdIndexer:IndexAccount
(Beagle.Daemon.ThunderbirdQueryable.ThunderbirdAccount account)
060413 0016136994 25377 Beagle  WARN EX: in [0x0003b] (at
/var/abs/extra/gnome/beagle/src/beagle-0.2.4/beagled/ThunderbirdQueryable/ThunderbirdIndexer.cs:60)
Beagle.Daemon.ThunderbirdQueryable.ThunderbirdIndexer:Crawl ()
060413 0016136994 25377 Beagle  WARN EX: in [0x000ba] (at
/var/abs/extra/gnome/beagle/src/beagle-0.2.4/beagled/ThunderbirdQueryable/ThunderbirdQueryable.cs:91)
Beagle.Daemon.ThunderbirdQueryable.ThunderbirdQueryable:StartWorker ()
060413 0016136994 25377 Beagle  WARN EX: in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void ()
060413 0016136994 25377 Beagle  WARN EX: in [0x0005a] (at
/var/abs/extra/gnome/beagle/src/beagle-0.2.4/Util/ExceptionHandlingThread.cs:54)
Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
060413 0016137107 25377 Beagle DEBUG: Starting Konq history backend ...

> I will also attach a new patch with today's work.

I am using it now (except for change of "thunderbird-bin" back to
"thunderbird")

Regards,
	Michal





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]