Giter Club home page Giter Club logo

gphotos-sync's People

Contributors

benmccann avatar yannrouillard avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gphotos-sync's Issues

error: no commands supplied

python setup.py

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

This seemed to help
sudo python setup.py install

Add clarification to README on use case relative to Google Drive

This looks like a very useful utility, but possibly duplicates some of the capabilities that are built into Google Photos and Google Drive, whereby you can expose your photos in a "Google Photos" folder in Google Drive, and then sync the latter to your local hard drive with Google Backup & Sync.

Would it be possible to add a few lines of explanatory text to the README that either confirms this (i.e. gphotos-sync is another way of accomplishing the same thing), or explaining some of the unique capabilities for this tool (e.g. works around limitations of the Google Backup & Sync features).

Thanks!

Missing property `redirect_uris`

Your project looks VERY interesting. However I wasn't able to have it download all the photos. Heres the output of gphotos-sync download ~/whatever/:

Traceback (most recent call last):
  File "/usr/local/bin/gphotos-sync", line 395, in <module>
    credentials_file=credentials_file)
  File "/usr/local/bin/gphotos-sync", line 194, in __init__
    self.gauth.CommandLineAuth()
  File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 67, in _decorated
    self.GetFlow()
  File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 345, in GetFlow
    self.LoadClientConfig()
  File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 294, in LoadClientConfig
    self.LoadClientConfigFile()
  File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 314, in LoadClientConfigFile
    raise InvalidConfigError('Invalid client secrets file %s' % error)
pydrive.settings.InvalidConfigError: Invalid client secrets file Missing property "redirect_uris" in a client type of "web".

Here's the contents of my ~/.config/gphotos-sync/client_secret.json:

{"web":{"client_id":"xxx-yyy.apps.googleusercontent.com","project_id":"photossync-nnnn","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"zzzzzzz"}}

Did I do something wrong?

forked repo hidden from searches

Hi Yan,

I'd like, with your permission to divorce my fork of gphotos-sync from your original. This is because it is very difficult to find my project fork by searching github. Now that you have deprecated and no longer have keywords relating to google photos it is almost impossible to find my project.

I believe that this is possible through github support but would like to make sure you are OK with it.

Thanks

Unable to install

After downloading the project as a .zip and unzipping, I get the following error:

Installed /home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg
ERROR:root:Error parsing
Traceback (most recent call last):
File "/home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg/pbr/core.py", line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg/pbr/util.py", line 249, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg/pbr/hooks/init.py", line 25, in setup_hook
metadata_config.run()
File "/home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg/pbr/hooks/base.py", line 27, in run
self.hook()
File "/home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/home/jonathan/gphotos-sync-master/pbr-3.0.0-py2.7.egg/pbr/packaging.py", line 748, in get_version
name=package_name))
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name gphotos-sync was given, but was not able to be found.
error in setup command: Error parsing /home/jonathan/gphotos-sync-master/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name gphotos-sync was given, but was not able to be found.

NoGooglePhotosFolderError

Hi Yann

Thanks for a cool project! - I followed the instructions; installed and created a project and client id on the google developer console. I moved the saved json to ~/.config/gphotos-sync/client_id.json and called the app. Below's the output. Can you point me to what I'm doing wrong?
http://pastebin.com/AJ6s6xzB

All the best,
A

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.