Re: [Tracker] Does Tracker really needs a keyfile?



Le Wed, 29 Sep 2010 16:53:04 +0800,
Wukon_Hsieh acer com tw a écrit :

Dear Philip :

I have another question.
If I want to write an application about mining data from flickr or 
facebook on Meego or Harmattan, I will need to use
tracker-miner-flickr. Will tracker-miner-flickr work when there is no
such keyfile? By the way, I have read the following pages:

    http://www.mail-archive.com/tracker-list gnome org/msg06426.html
    http://live.gnome.org/Tracker/Documentation/WebMiners/Association

but, I still can't understand how to use flickr miner ^^"
Is there a GUI client for tracker-miner-flickr now?
Hello Wukon,

as mentionned on
http://live.gnome.org/Tracker/Documentation/WebMiners/Association,
there is a graphical interface, the source code is at
git://git.mymadcat.com/tracker-miner-manager . It is however a pretty
young project, but it should work anyway.
Once configured, the miner will fetch the photos from Flickr, and
they'll be in the Tracker DB (you can identify them looking at their
nie:DataSource property). The Flickr miner does need a configuration
file to store its configuration settings. It will store the passwords
either in gnome-keyring or in a keyfile (unencrypted).
Don't hesitate to ask me if you have more questions, I'm abustany on
IRC.

Cheers

Adrien


Thanks.

On Wed, 2010-09-01 at 09:31 +0800, Wukon_Hsieh acer com tw wrote:

Hi,
I built and run the test cases in Tracker using Meego handset
image -
"meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0729.tar.bz2",
and, I got an error message as following :


This is just a test for the flickr miner, as far as I know. On a
proper MeeGo or Harmattan release should this miner be disabled.

You indeed don't need the passwords.cfg file for normal operation.

...
Tracker-CRITICAL **: Could not load GKeyFile password file, No
such file or directory
aborting...
FAIL: tracker-password-provider-test
...

After I traced the code, I understood that I need to add a
keyfile at
- "~/.config/tracker/passwords.cfg", and the content is like that:
  [General]
  description= 
  username=
  password=

After I add this keyfile, all test cases passed!!
So, I think the test cases might needs a keyfile.
But, it will not be provided as default installation, strangely,
it still works!?
Does Tracker really needs a keyfile?
What things might happen if we don't have it?

Thinks.

Wukon Hsieh

-----------------------------------------------------
This email contains information that is for sole use of the
intended recipient and may be confidential or privileged.
If you are not the intended recipient, any further review,
disclosure, copying, distribution, or use of this email, or the
contents of this email is prohibited.
Please notify the sender by reply this email and destroy the
original email if your receipt of this email is in error.
-----------------------------------------------------


_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list

-- 


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be


-----------------------------------------------------
This email contains information that is for sole use of the intended 
recipient and may be confidential or privileged.
If you are not the intended recipient, any further review,
disclosure, copying, distribution, or use of this email, or the
contents of this email is prohibited.
Please notify the sender by reply this email and destroy the original 
email if your receipt of this email is in error.
-----------------------------------------------------





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