Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 22 by
marc.sp...@gmail.com: cannot access private photos, even
when authorized
http://code.google.com/p/flickrpy/issues/detail?id=22
What steps will reproduce the problem?
1. get authorized to read a user's private photos.
2. for i in flickr.photos_search(user_id='foobar', auth=True):
print i.getURL(size='Large')
# note that auth=True lists the private photos, too
What is the expected output? What do you see instead?
I expect to see the URL, but I get a stack trace:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "flickr.py", line 225, in getSizes
"""
File "flickr.py", line 1066, in _doget
_get_auth_url_suffix(method, auth, params))
File "flickr.py", line 1100, in _get_data
def _get_data(xml):
flickr.FlickrError: ERROR [1]: Photo not found
(Line numbers may be off, because I've added a few comments to the top of
the file.)
What version of the product are you using? On what operating system?
Download from 2012-05-02, running on Windows.
Please provide any additional information below.
A quick and dirty hack is to default the auth argument of _doget to True.
That may or may not cause heaps of problems elsewhere, though.