File category disappears

View: New views
10 Messages — Rating Filter:   Alert me  

File category disappears

by waterloo2005 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yestoday I found "File category" in "Index  Information" of beagle disappeared .
So I now can not search files in an ext3 partition.

Then I delete all .beagle directory and run beagle again . I find it have File category , but it need to rehash all my files .

but in the middle of the caching of my files , File category disappeared again .

I use beagle0.3.9 in gentoo a linux distribution.

what is the problem ? Thanks

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

Re: File category disappears

by D Bera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am not sure I understand the problem correctly.

> Yestoday I found "File category" in "Index  Information" of beagle
> disappeared .
> So I now can not search files in an ext3 partition.

You mean the drop-down box in the search UI beagle-search ? Or the
"Index information" menu item in beagle-search. Or are you talking
about something not related to beagle-search at all ? If possible, a
picture with and without the "file category" will help.

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Re: File category disappears

by waterloo2005 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I mean "Service Options -> Index Information" in beagle UI.
http://bildr.no/view/388951

I have choose File in preference , but I can not find it in Index Information or search file .
http://bildr.no/view/388952
Thanks

2009/4/14 D Bera <dbera.web@...>
Hi,

I am not sure I understand the problem correctly.

> Yestoday I found "File category" in "Index  Information" of beagle
> disappeared .
> So I now can not search files in an ext3 partition.

You mean the drop-down box in the search UI beagle-search ? Or the
"Index information" menu item in beagle-search. Or are you talking
about something not related to beagle-search at all ? If possible, a
picture with and without the "file category" will help.

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user


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

Re: File category disappears

by D Bera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I mean "Service Options -> Index Information" in beagle UI.
> http://bildr.no/view/388951
>
> I have choose File in preference , but I can not find it in Index
> Information or search file .
> http://bildr.no/view/388952

Can you send me the output of "beagle-info --status" after File has
disappeared - probably it crashed or something. The output might have
some information.
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Re: File category disappears

by waterloo2005 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Below is my output of "beagle-info --status":

Debug: Sending request:
<?xml version="1.0" encoding="utf-8"?>
<RequestWrapper xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Message xsi:type="DaemonInformationRequest">
    <GetVersion>true</GetVersion>
    <GetSchedInfo>true</GetSchedInfo>
    <GetIndexStatus>true</GetIndexStatus>
    <GetIsIndexing>true</GetIsIndexing>
  </Message>
</RequestWrapper>

Debug: Received response:
<?xml version="1.0" encoding="utf-8"?>
<ResponseWrapper xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Message xsi:type="DaemonInformationResponse">
    <Version>0.3.9</Version>
    <SchedulerInformation TotalTaskCount="2" StatusString="Waiting for the next trigger time">
      <PendingTasks />
      <FutureTasks>
        <FutureTask>Maintenance 0 (4/15/2009 9:58:04 AM)
Optimize IndexingServiceIndex
Hold until 4/15/2009 10:08:04 AM
</FutureTask>
        <FutureTask>Maintenance 0 (4/15/2009 9:58:04 AM)
Optimize TomboyIndex
Hold until 4/15/2009 10:08:04 AM
</FutureTask>
        <FutureTask>Maintenance 0 (4/15/2009 9:58:04 AM)
Optimize EmpathyIndex
Hold until 4/15/2009 10:08:04 AM
</FutureTask>
      </FutureTasks>
      <BlockedTasks />
    </SchedulerInformation>
    <IndexStatus>
      <QueryableStatus Name="Empathy" ItemCount="0" ProgressPercent="-1" IsIndexing="false" />
      <QueryableStatus Name="portage" ItemCount="77068" ProgressPercent="-1" IsIndexing="false" />
      <QueryableStatus Name="GMailSearch" ItemCount="-1" ProgressPercent="-1" IsIndexing="false" />
      <QueryableStatus Name="IndexingService" ItemCount="0" ProgressPercent="-1" IsIndexing="false" />
      <QueryableStatus Name="Tomboy" ItemCount="44" ProgressPercent="-1" IsIndexing="false" />
    </IndexStatus>
    <IsIndexing>false</IsIndexing>
  </Message>
</ResponseWrapper>

Scheduler:
Count: 2
Status: Waiting for the next trigger time

Pending Tasks:
Scheduler queue is empty.

Future Tasks:
Maintenance 0 (4/15/2009 9:58:04 AM)
Optimize IndexingServiceIndex
Hold until 4/15/2009 10:08:04 AM

Maintenance 0 (4/15/2009 9:58:04 AM)
Optimize TomboyIndex
Hold until 4/15/2009 10:08:04 AM

Maintenance 0 (4/15/2009 9:58:04 AM)
Optimize EmpathyIndex
Hold until 4/15/2009 10:08:04 AM

Thanks

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

Re: File category disappears

by D Bera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Below is my output of "beagle-info --status":
>     <IndexStatus>
>       <QueryableStatus Name="Empathy" ItemCount="0" ProgressPercent="-1"
> IsIndexing="false" />
>       <QueryableStatus Name="portage" ItemCount="77068" ProgressPercent="-1"
> IsIndexing="false" />
>       <QueryableStatus Name="GMailSearch" ItemCount="-1"
> ProgressPercent="-1" IsIndexing="false" />
>       <QueryableStatus Name="IndexingService" ItemCount="0"
> ProgressPercent="-1" IsIndexing="false" />
>       <QueryableStatus Name="Tomboy" ItemCount="44" ProgressPercent="-1"
> IsIndexing="false" />
>     </IndexStatus>

This is quite strange! It appears as though the Files backend is not
running. And there is no notification message for it either!

I don't know if gentoo disables debug building by default; if not,
then my best bet is to run "beagled --debug" and observe the log at
~/.beagle/Log/current-Beagle

But this is really strange. Could you also verify
~/.beagle/conf/Backends.xml and ~/.beagle/conf/FilesBackend.xml (I am
writing the names from memory) has the filesbackend really really
enabled ?

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Re: File category disappears

by waterloo2005 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't have ~/.beagle/conf , only have ~/.beagle/config/ directory .
But in ~/.beagle/config/ , I don't have Backends.xml and FilesBackend.xml.

Everytime I delete ~/.beagle completely and run beagle freshly , I can see "File" in "index information" . But in the middle of the searching data , it disppeared.

2009/4/16 D Bera <dbera.web@...>
This is quite strange! It appears as though the Files backend is not
running. And there is no notification message for it either!

I don't know if gentoo disables debug building by default; if not,
then my best bet is to run "beagled --debug" and observe the log at
~/.beagle/Log/current-Beagle

But this is really strange. Could you also verify
~/.beagle/conf/Backends.xml and ~/.beagle/conf/FilesBackend.xml (I am
writing the names from memory) has the filesbackend really really
enabled ?

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user


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

Re: File category disappears

by Joe Shaw-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Thu, Apr 16, 2009 at 8:14 AM, D Bera <dbera.web@...> wrote:
> This is quite strange! It appears as though the Files backend is not
> running. And there is no notification message for it either!
>
> I don't know if gentoo disables debug building by default; if not,
> then my best bet is to run "beagled --debug" and observe the log at
> ~/.beagle/Log/current-Beagle

Wasn't there code added fairly recently to completely disable backends
if they encounter many errors?  This might explain this, and hopefully
would suggest clues in the log files.

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

Re: File category disappears

by D Bera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> This is quite strange! It appears as though the Files backend is not
>> running. And there is no notification message for it either!
>>
>> I don't know if gentoo disables debug building by default; if not,
>> then my best bet is to run "beagled --debug" and observe the log at
>> ~/.beagle/Log/current-Beagle
>
> Wasn't there code added fairly recently to completely disable backends
> if they encounter many errors?  This might explain this, and hopefully
> would suggest clues in the log files.

I thought so. This is a necessary safeguard. And I thought I added it.
But (lowering head in shame) my memory failed me nor could I find any
commit message or email to the list ... quick glance at the code didnt
reveal anything either. I only found this - too many exceptions now
disable the particular "task" (e.g. file crawling will be disabled if
there are too many errors) but the backend would still be available
for querying!

For now, running with debug enabled and checking the current-Beagle
till the "File" backend disappears seems to be the only recourse.
Anyhow, I don't like this way of backends silently disappearing!

- dBera

--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Parent Message unknown Re: File category disappears

by D Bera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Guess what - this is due to same problem as reported in
http://bugzilla.gnome.org/show_bug.cgi?id=576456

Unfortunately there is no workaround right now =(

But something else is worrying me. The sudden increase in bugs due to
this problem indicates that beagle is not being shutdown cleanly! Is
there some change in logout routine in Gnome these days so that
processes are forcefully killed using kill-9 or something?

- dBera

On Tue, May 5, 2009 at 7:07 AM, waterloo <waterloo2005@...> wrote:

> My File category disppeared.
> Addon is my beagle log file of now.
>
> Thanks
>
> 2009/4/17 D Bera <dbera.web@...>
>>
>> > yesterday, I deleted all ~/.beagle directory and run beagle freshly
>> > again.
>> > Now I complete the searching and I can see the "File" category.
>> >
>> > when I run beagled --fg --debug , I saw many errors about TIFF files.
>>
>>
>> Wait till the file category disappears ... and send me the log files
>> once it does.
>> Thanks,
>> - dBera
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@...
http://mail.gnome.org/mailman/listinfo/dashboard-hackers