Indexing errors with beagle 0.1.0 / question concerning io-priority

2005-09-16 Thread Jan Taegert
Hello,

on indexing my data, beagle from time to time brings the following
reproducible error messages:

1.) When some file (here:
/home/mochila/media/abspiellisten/Unbetitelt.m3u) is trashed:
 05-09-16 13.11.14.06 31524 Beagle DEBUG: Synthesizing event on unpaired 
 MoveFrom
 05-09-16 13.11.14.06 31524 Beagle DEBUG: *** Remove 
 '/home/mochila/media/abspiellisten' 'Unbetitelt.m3u' (file)
 05-09-16 13.11.15.48 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.11.15.49 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.11.15.49 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.11.15.50 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.11.15.50 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.11.15.50 31524 Beagle ERROR: Exception limit exceeded trying to 
 activate a helper.  Giving up on indexing!
 05-09-16 13.11.15.50 31524 Beagle ERROR: Something terrible happened --- 
 Flush failed

- Slightly different, when the same file is deleted:
 05-09-16 13.12.04.16 31524 Beagle DEBUG: *** Remove 
 '/home/mochila/media/abspiellisten' 'Unbetitelt.m3u' (file)
 05-09-16 13.12.04.26 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.12.04.27 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.12.04.28 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.12.04.28 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.12.04.28 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Argument is out of range.
 05-09-16 13.12.04.28 31524 Beagle ERROR: Exception limit exceeded trying to 
 activate a helper.  Giving up on indexing!
 05-09-16 13.12.04.28 31524 Beagle ERROR: Something terrible happened --- 
 Flush failed


2.) Everytime (!), when filesystem crawling is done:
 05-09-16 12.41.23.46 29220 Beagle DEBUG: Done crawling
 05-09-16 12.41.23.49 29220 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 12.41.23.50 29220 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 12.41.23.50 29220 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 12.41.23.51 29220 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 12.41.23.52 29220 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 12.41.23.52 29220 Beagle ERROR: Exception limit exceeded trying to 
 activate a helper.  Giving up on indexing!
 05-09-16 12.41.23.52 29220 Beagle ERROR: Something terrible happened --- 
 Flush failed

3.) Certain files (The other titels of this album are indexed without
errors):
 05-09-16 13.27.19.62 31524 Beagle DEBUG: *** Add '/home/.medien/mugge/Sigur 
 Rós/Ágætis byrjun' 'Sigur Rós - Ágætis byrjun - 06 - Hjartað hamast (bamm 
 bamm bamm).ogg' (file)
 05-09-16 13.27.19.63 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 13.27.19.66 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 13.27.19.66 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 13.27.19.68 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 13.27.19.69 31524 Beagle DEBUG: Caught ResponseMessageException: 
 Exception has been thrown by the target of an invocation.
 05-09-16 13.27.19.69 31524 Beagle ERROR: Exception limit exceeded trying to 
 activate a helper.  Giving up on indexing!
 05-09-16 13.27.19.69 31524 Beagle ERROR: Something terrible happened --- 
 Flush failed

Beagle doesn't index the rest of the content of the directory
'/home/.medien/mugge/Sigur Rós/Ágætis byrjun' anymore. And that is bad. ;(



Maybe one more bug:

best, beagle-query or beagled itself seem to have problems with multiple
tagged mp3. - If there is only a idv1 OR a idv2 tag, the content of this
tag is displayed correctly in best, but if a file has both, best shows
only the filename and - as description: Title 2 of Unknown Album


I hope, this helps a little.



Finally, I have a question:

as Tomasz Torcz wrote:
  Beagle already ionice itself (grep for ioprio).
 Unfortunately vanilla kernel doesn't allow  non-root processess to set self
 priority to idle, due some priority-inheritance problems.

That explains what I get from IndexHelper (I am using cfq-scheduler):
 05-09-16 12.59.49.37 31565 IndexH WARN: 

Re: Indexing errors with beagle 0.1.0 / question concerning io-priority

2005-09-16 Thread Joe Shaw
Hi,

On Fri, 2005-09-16 at 14:16 +0200, Jan Taegert wrote:
 on indexing my data, beagle from time to time brings the following
 reproducible error messages:
 
 1.) When some file (here:
 /home/mochila/media/abspiellisten/Unbetitelt.m3u) is trashed:
 - Slightly different, when the same file is deleted:

Can you file a bug for this, and attach the file?

 2.) Everytime (!), when filesystem crawling is done:

I suspect this is related to #1.

 3.) Certain files (The other titels of this album are indexed without
 errors):
  05-09-16 13.27.19.62 31524 Beagle DEBUG: *** Add '/home/.medien/mugge/Sigur 
  Rós/Ágætis byrjun' 'Sigur Rós - Ágætis byrjun - 06 - Hjartað hamast (bamm 
  bamm bamm).ogg' (file)

I assume the file name is in UTF-8?  If not, things just won't work.

 Maybe one more bug:
 
 best, beagle-query or beagled itself seem to have problems with multiple
 tagged mp3. - If there is only a idv1 OR a idv2 tag, the content of this
 tag is displayed correctly in best, but if a file has both, best shows
 only the filename and - as description: Title 2 of Unknown Album

Please file this as well.  Bonus points if you can attach a file which
has both kinds of tags (but I understand if for legal reasons you
can't.)

 Finally, I have a question:
 
 as Tomasz Torcz wrote:
   Beagle already ionice itself (grep for ioprio).
  Unfortunately vanilla kernel doesn't allow  non-root processess to set self
  priority to idle, due some priority-inheritance problems.
 
 That explains what I get from IndexHelper (I am using cfq-scheduler):
  05-09-16 12.59.49.37 31565 IndexH WARN: Unable to set IO-priority for 
  process to idle

 Is there a workaround for this problem?

You'd have to run something like ionice -c 3 su user -c beagled as
root, unfortunately.

Joe

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