Giter Club home page Giter Club logo

dropboxannex's People

Contributors

tobiastheviking avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

dropboxannex's Issues

error adding remote in bash for windows 10 (ubuntu)

I am trying to get dropboxannex to work on the Windows 10 bash integration. when I try to add the remote I get the following error:

initremote dropbox (encryption setup) (shared cipher) git-annex: external special remote protocol error, unexpectedly received "Dropbox" (unable to parse command)

and traceback:

Traceback (most recent call last): File "/usr/local/bin/git-annex-remote-dropbox", line 404, in <module> common.startRemote() File "/home/switch87/dropboxannex/lib/CommonFunctions.py", line 551, in startRemote sys.modules["__main__"].initremote(line) File "/usr/local/bin/git-annex-remote-dropbox", line 323, in initremote if len(myfolder) and stored_creds["key"] and stored_creds["secret"]: TypeError: 'bool' object has no attribute '__getitem__'

OSX git-annex.app specific instructions

I am just doing some yellow-pad testing on OSX with the pre-packaged upstream assistant app, and the installation process was as follows (from a completely naively installed annex assistant setup, but with git installed through homebrew):

$ python2 dropboxannex.py
Please visit this website and press the 'Allow' button, then hit 'Enter' here.

Please run the following commands in your annex directory:

git config annex.dropbox-hook '/usr/bin/python2 /Users/alsuren/src/dropboxannex/dropboxannex.py'
git annex initremote dropbox type=hook hooktype=dropbox encryption=shared
git annex describe dropbox "the dropbox library"

$ PATH=/Applications/git-annex.app/Contents//MacOS/bundle/:$PATH git annex initremote dropbox type=hook hooktype=dropbox encryption=shared
initremote dropbox (encryption setup) gpg: can't open `/usr/local/share/gnupg/options.skel': No such file or directory
(shared cipher) ok
(Recording state in git...)

$ PATH=/Applications/git-annex.app/Contents//MacOS/bundle/:$PATH git annex describe dropbox "the dropbox library"
describe dropbox ok
(Recording state in git...)

It would be nice if the initial run of dropboxannex.py could check for the presence of a compatible git annex in $PATH and adjust the instructions accordingly

It would be even nicer if it suggested git config --global annex.dropbox-hook/usr/bin/python2 /Users/alsuren/src/dropboxannex/dropboxannex.py' rather than requiring the user to find their annex folder

It would be even better if git annex assistant automatically queried any configured hooks and made them configurable from the GUI.

Feel free to ignore this issue. I always try to do yellow-pad testing and give feedback whenever I install new software and it's not idiot-proof.

D.

git annex enableremote dropbox takes forever

I don't know if this is an issue with dropboxannex, git annex or my setup, but after creating the "dropbox" remote in one machine and syncing, I'm trying to enable it in the other machine, and it's been two hours and the command is still stuck there:

fiatjaf@spooner ~/annex> git annex enableremote dropbox
enableremote dropbox 

Error when adding Dropbox remote

I'm trying to add an dropbox remote with

git annex initremote dropbox type=external externaltype=dropbox encryption=hybrid keyid=**** folder=Annex/stuff

which takes some time and then crashes with the following output:

initremote dropbox (encryption setup) (hybrid cipher with gpg key ****) git-annex: external special remote protocol error, unexpectedly received "START /usr/lib/firefox/firefox "https://www.dropbox.com/1/oauth/authorize?oauth_token=****&oauth_callback=http%3A%2F%2F127.0.0.1%2Fauth_reply%2F"" (unable to parse command)

At that point my firefoy opened the dropbox oauth page and when I click no "allow" I get redirected to http://127.0.0.1/auth_reply/?oauth_token=****&uid=**** which cannot be loaded.

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.