You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
I'm seeing the following issue when I try to upload, it will do several images before it craps out. Am I just handling the oauth authentication wrong? Or do I just need to add code to re-attempt the upload?
File: DSC_0267.png
No handlers could be found for logger "flickrapi.auth.OAuthFlickrInterface"
Traceback (most recent call last):
File "/Users/rodmur/bin/flickrup2.py", line 45, in
flickr.upload(filename=fname,title=tit,tags=mytags,is_public=0,callback=func)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 494, in upload
return self._upload_to_form(self.UPLOAD_URL, filename, fileobj, timeout=timeout, **kwargs)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 544, in _upload_to_form
filename, form_url, kwargs, fileobj, timeout=timeout)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 399, in _wrap_in_parser
data = wrapped_method(*args, **kwargs)
File "/Library/Python/2.7/site-packages/flickrapi/auth.py", line 307, in do_upload
raise exceptions.FlickrError('do_upload: Status code %s received' % req.status_code)
flickrapi.exceptions.FlickrError: do_upload: Status code 500 received
Here's the code, I won't claim it's good, but it has worked in the past:
I'm seeing the following issue when I try to upload, it will do several images before it craps out. Am I just handling the oauth authentication wrong? Or do I just need to add code to re-attempt the upload?
File: DSC_0267.png
No handlers could be found for logger "flickrapi.auth.OAuthFlickrInterface"
Traceback (most recent call last):
File "/Users/rodmur/bin/flickrup2.py", line 45, in
flickr.upload(filename=fname,title=tit,tags=mytags,is_public=0,callback=func)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 494, in upload
return self._upload_to_form(self.UPLOAD_URL, filename, fileobj, timeout=timeout, **kwargs)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 544, in _upload_to_form
filename, form_url, kwargs, fileobj, timeout=timeout)
File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 399, in _wrap_in_parser
data = wrapped_method(*args, **kwargs)
File "/Library/Python/2.7/site-packages/flickrapi/auth.py", line 307, in do_upload
raise exceptions.FlickrError('do_upload: Status code %s received' % req.status_code)
flickrapi.exceptions.FlickrError: do_upload: Status code 500 received
Here's the code, I won't claim it's good, but it has worked in the past:
The text was updated successfully, but these errors were encountered: