-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21/09/11 15:22, Martyn Russell wrote:
> On 20/09/11 10:40, Rainer M Krug wrote:
>> Following this, I also tried
>> 
>> tracker-control --miner Files --pause-for-process='Need CPU'
>> 
>> from xterm but it does not seem to pause the miner (still using
>> CPU time, although when using --pause, it does not), although it
>> increases the Cookie number - is this a bug?
> 
> Yes. :) I checked and tracker-control finalizes the manager object
> right after calling the pause function. This means the dbus proxy
> essentially disappears and the other end assumes we just terminated
> as an application. I have updated the docs and tracker-control and
> it works now.

Great - thanks.

> 
> See commits:
> 
> commit fd508d73edf76fd9e603c76ab618658d4d81979e Author: Martyn
> Russell <[email protected]> Date:   Wed Sep 21 14:18:22 2011 +0100
> 
> tracker-control: Don't finalize TrackerMinerManager with 
> --pause-for-process
> 
> This command line option was useless, the finalize meant we
> resumed immediately afterwards instead of waiting for the Ctrl+C
> for the main loop we use.
> 
> This was noticed by Rainer M. Krug.
> 
> commit 3b5c8d7ba512b4be731725095291cae4c2c32f5e Author: Martyn
> Russell <[email protected]> Date:   Wed Sep 21 14:16:39 2011 +0100
> 
> libtracker-miner: Improve docs for 
> tracker_miner_manager_pause_for_process()
> 
> When finalizing the manager, it will resume the pause. The 
> tracker-control utility was demonstrating this. Let people calling
> it know.
> 
>> One additional question: I would like to be able to have a
>> script, which pauses tracker-miner-fs, and another one which
>> resumes it. The pausing is easy, but how can I save the cookie
>> number into a file, to make sure that I resume the right Cookie?
>> 
>> If --pause-for-process would be working, that would be the
>> easiest to use for this.
> 
> I would use that instead with 0.12.2 when it's released tomorrow.

Looking forward to the release,

> 
> Thanks for noticing ;)

pleasure - it makes my life easier now.

Cheers,

Rainer

> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      [email protected]

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk555mwACgkQoYgNqgF2ego5nQCfcUxbfgeIPKu1KegVtfAbigJT
ohUAni7Z1YmBuRUsFn1iKzGcgqTCo6Sj
=lt/1
-----END PGP SIGNATURE-----
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to