Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to get this to work with dropbox #14

Open
charle5 opened this issue Oct 18, 2014 · 2 comments
Open

unable to get this to work with dropbox #14

charle5 opened this issue Oct 18, 2014 · 2 comments
Labels

Comments

@charle5
Copy link

charle5 commented Oct 18, 2014

could you share the syntax you're using?

i followed the dropbox link, and copied/pasted the secret into the auth file, but i'm unable to generate a code that works.

@moul
Copy link
Owner

moul commented Oct 20, 2014

Hi, in my .gauth file, I have something like this:

[Dropbox]
secret = xxxx xxxx xxxx xxxx xxxx xxxx xx

@golimpio
Copy link
Collaborator

golimpio commented Nov 5, 2014

I don't know if it's related to this, but if you add an account for the first time using Alfred (instead of creating the file manually), the plugin is adding some comments to the end of the configuration file, in this case, the plugin will fail to parse the configuration and the ~/.gauth file will have to be fixed manually.

e.g., when I added my gmail account for the first time (via Alfred), the configuration file was created with the following data:

[fulano@gmail.com]
secret = a1b1 c1c2 b1b2 d3d4 asdf ghij zxc1 qwe3

xxxxxxxxxxxxxxxx
#
#[evernote - robert]
#secret=yyyyyyyyyyyyyyyyyy

Basically, to make it work, I had to remove all the lines following 'xxxxxxxxxxxxx' (this line included).

The fixed ~/.gauth file is now looking like the following:

[fulano@gmail.com]
secret = a1b1 c1c2 b1b2 d3d4 asdf ghij zxc1 qwe3

Possible related issue: #15

@moul moul added the freeze label Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants