Coder Social home page Coder Social logo

flickrbackup's People

Contributors

mycon avatar optilude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jimr mycon lbmoore

flickrbackup's Issues

Getting an error on execute:

~# flickrbackup.py -f 1978-01-01 -o /share/Photos/
Running backup of images updated since 1978-01-01
Traceback (most recent call last):
File "/usr/bin/flickrbackup.py", line 480, in
main()
File "/usr/bin/flickrbackup.py", line 466, in main
verbose=arguments.verbose
File "/usr/bin/flickrbackup.py", line 116, in init
self.flickr_api, self.flickr_usernsid = self.retrieve_flickr_token()
File "/usr/bin/flickrbackup.py", line 301, in retrieve_flickr_token
(token, frob) = flickr_api.get_token_part_one(perms='write')
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 749, in get_token_part_one
rsp = self.auth_getFrob(auth_token=None, format='xmlnode')
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 349, in handler
parse_format=args['format'], *_args)
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 427, in __wrap_in_parser
data = wrapped_method(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/flickrapi/init.py", line 402, in __flickr_call
flicksocket = urllib2.urlopen(url, post_data)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden

Method "flickr.get.token.part.one" not found

I used to love this handy tool and had hoped to use it again, but on current macOS with a recent version of flickrapi I am getting the following exception when I run it:

  File "/usr/local/bin/flickrbackup.py", line 301, in retrieve_flickr_token
    (token, frob) = flickr_api.get_token_part_one(perms='write')
  File "/Library/Python/2.7/site-packages/flickrapi/call_builder.py", line 37, in __call__
    return self.flickrapi_object.do_flickr_call(self.method_name, **kwargs)
  File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 331, in do_flickr_call
    **params)
  File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 401, in _wrap_in_parser
    return parser(self, data)
  File "/Library/Python/2.7/site-packages/flickrapi/core.py", line 292, in parse_etree
    raise FlickrError(six.u('Error: %(code)s: %(msg)s') % err.attrib, code=code)
flickrapi.exceptions.FlickrError: Error: 112: Method "flickr.get.token.part.one" not found

This seem to be a known issue: sybrenstuvel/flickrapi#69

Could flickrbackup be updated to use the suggested workaround mentioned in the issue? Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.