why I can not get my user info by email using launchpadlib

Asked by Zhikun Liu

My email is "<email address hidden>".
I can not get my user info by email using launchpadlib. But I can get others' info.

$ python
Python 2.7.3 (default, Apr 10 2013, 05:13:16)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from launchpadlib import launchpad
>>> lp = launchpad.Launchpad.login_anonymously('testuser')
>>> lp_user = lp.people.getByEmail(<email address hidden>")
>>> print lp_user
None

But try others, it works.
>>> lp.people.getByEmail(<email address hidden>")
<person at https://api.staging.launchpad.net/1.0/~shakhat>
>>>

Does anybody know it?

Thank you!

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steve Kowalik (stevenk) said :
#1

You are querying our staging database, which is a bit out of date at the moment, and doesn't know about that e-mail address.

Revision history for this message
Zhikun Liu (zhikunliu) said :
#2

Steve, Thank you very much! I have another question. When you update the staging database?

Can you help with this problem?

Provide an answer of your own, or ask Zhikun Liu for more information if necessary.

To post a message you must log in.