Notices


Reply
Thread Tools
Posts: 18 | Thanked: 7 times | Joined on Sep 2009 @ Brazil
#91
I'm sorry I couldn't reply before, but thanks for answering.

I've done more research and I found out that the contacts that are missing are all contacts that exist only in my Google Talk account: they don't have phone numbers, the only field they have is a GTalk login and their names are all under nickname, instead of first and last name. Running Hermes from the Terminal shows that it counts to a certain number, exactly the difference between the total contacts that I have and the number of contacts in this situation.

Originally Posted by Jaffa View Post
It's either or bug or you're doing something wrong :-)

Given the simplicity of the UI in Hermes, and the simplicity of Contacts, I assume it's a bug somewhere.

Can you share some more info, possibly running /opt/hermes/bin/hermes in X Terminal and posting the output?
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#92
Originally Posted by blfgomes View Post
I've done more research and I found out that the contacts that are missing are all contacts that exist only in my Google Talk account: they don't have phone numbers, the only field they have is a GTalk login and their names are all under nickname, instead of first and last name.
These are so-called "roster" contacts. If you're not connected to the server on which they are stored, they don't exist within the system - as such, they're not really available for Hermes to modify.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
Posts: 18 | Thanked: 7 times | Joined on Sep 2009 @ Brazil
#93
Originally Posted by Jaffa View Post
These are so-called "roster" contacts. If you're not connected to the server on which they are stored, they don't exist within the system - as such, they're not really available for Hermes to modify.
I see what you mean, but they do exist in my contacts even when I'm offline. I had a N97 synced (manually) with my Google contacts and I transferred all my existing contacts from the N97 to my N900. So, even though they are Google contacts only, I do believe they exist locally. Does that make sense?
 
Posts: 18 | Thanked: 7 times | Joined on Sep 2009 @ Brazil
#94
I just looked at the source code and found out where the problem is.
Code:
import evolution
addresses = evolution.ebook.open_addressbook('default')
contacts = addresses.get_all_contacts()
If I run the code above, I don't get all of my contacts back. So, for some reason these "special" contacts can't be seen by the evolution API. I did find a workaround, however: I just need to open and save the contact to make it local and seen by evolution and, consequently, Hermes.
But I still think that this deserves a closer look.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#95
Originally Posted by blfgomes View Post
So, for some reason these "special" contacts can't be seen by the evolution API.
Correct. Hopefully the following explains it a little more:

http://wiki.maemo.org/Documentation/...API#Components

I did find a workaround, however: I just need to open and save the contact to make it local and seen by evolution and, consequently, Hermes.
Indeed, if you edit the contact locally you create a bound copy in the local storage which isn't owned by the IM account.

But I still think that this deserves a closer look.
What would you suggest should happen?
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org

Last edited by Jaffa; 2010-01-03 at 20:12. Reason: Fix BBCode
 
Posts: 18 | Thanked: 7 times | Joined on Sep 2009 @ Brazil
#96
Originally Posted by Jaffa View Post
Correct. Hopefully the following explains it a little more:

http://wiki.maemo.org/Documentation/...API#Components



Indeed, if you edit the contact locally you create a bound copy in the local storage which isn't owned by the IM account.



What would you suggest should happen?
First of all, I think I hadn't understood the concept of a roster contact. So, just to make things clear: a roster contact does exist locally, only it isn't stored by the Evolution Data Center, correct? And Hermes won't see it because it only uses contacts stored in the EDS.

If that's the case, why did you choose to use the libebook library instead of libosso-abook? No Python bindings? As stated here:
http://wiki.maemo.org/Documentation/...k_API#libebook

"N.B. Developers are discouraged from using the EBook and EBookView classes of libebook because they do not provide libosso-abook's features of contact aggregation, presence abstraction, and so on."

There is no warning message in Hermes saying that some of the contacts won't be updated because they are roster contacts and for a simple user it wouldn't make sense anyway. After all, if it is listed in the Contacts application, it is a user, don't you agree?

If I'm missing something, please forgive my ignorance.
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#97
Originally Posted by blfgomes View Post
If that's the case, why did you choose to use the libebook library instead of libosso-abook? No Python bindings?
Correct, no Python bindings. The other thing, though, is that any roster contact edited by Hermes would end up becoming a "permanent" contact in EDS. I'm not sure that's a good thing; it's certainly not something I want - if I remove an IM account, I want the contact detritus which comes with it gone as well.

There is no warning message in Hermes saying that some of the contacts won't be updated because they are roster contacts [...]
Meh. The main point of Hermes is to make sure you get a nice photo when someone rings you: a) most people have avatars on IM networks already (IME); b) most people on IM networks don't ring you.

Patches welcome (or raise a bug, but I don't think it'll be a high priority one).
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following User Says Thank You to Jaffa For This Useful Post:
Posts: 18 | Thanked: 7 times | Joined on Sep 2009 @ Brazil
#98
Originally Posted by Jaffa View Post
Correct, no Python bindings. The other thing, though, is that any roster contact edited by Hermes would end up becoming a "permanent" contact in EDS. I'm not sure that's a good thing; it's certainly not something I want - if I remove an IM account, I want the contact detritus which comes with it gone as well.
Yes, that makes sense. I think this won't be a problem (at least for me) when/if they implement Google SyncML support.


Patches welcome (or raise a bug, but I don't think it'll be a high priority one).
I have filed a bug, requesting a simple change in the documentation. It won't hurt anybody, I think, and it is really easy to implement.
https://bugs.maemo.org/show_bug.cgi?id=7615

Thanks once again!
 

The Following User Says Thank You to blfgomes For This Useful Post:
Posts: 5 | Thanked: 2 times | Joined on Dec 2009 @ Monterrey, Mexico
#99
Hi All!!
I've been following this thread since page 1, and I think this app is great

It was working fine until yesterday, when I tried to updated the info, hermes showed a message: "Something went wrong: cannot identify image file"

any help Jaffa?
this issue is because of the new T&C FB?

I tried several times and I got this error over and over again.
 

The Following 2 Users Say Thank You to odaniel For This Useful Post:
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#100
Originally Posted by DaSilva View Post
I have added an enhancement request for meinVZ / studiVZ: https://bugs.maemo.org/show_bug.cgi?id=7550
Please vote if you are interested.

btw: Is it possible to auto-update the already linked contacts every day / week? Will Hermes save if I link a contact with a different name on the next run? Thanks
As I have no idea how to file a new bug I add my request here - Sorry for that.
I would really love to see support for Xing.com. Its another social network and like LinkedIn mainly business oriented.

* Generic or friends oriented? Friends (like Facebook)
* URL: http://www.xing.com/
* Developer API: Yes, see http://code.google.com/apis/opensocial/ and https://www.xing.com/opensocial
* Fields supported: Picture, Birthday, Contact and address data (private and business), company and position
* Identifier: Hm, not sure...https://www.xing.com/profile/Firstname_Lastname ???

BTW, Thanx a lot for the great work with Hermes - great tool!

Last edited by Reflektorfalke; 2010-01-09 at 19:57.
 
Reply

Tags
application, birthday, contact, contacts, facebook, fremantle, hermes, information, jaffa, maemo, maemo 5, photo, photos, sync, synchronization, twitter, url, website


 
Forum Jump


All times are GMT. The time now is 20:29.