alfred-workflow-gauth icon indicating copy to clipboard operation
alfred-workflow-gauth copied to clipboard

unable to get this to work with dropbox

Open charle5 opened this issue 10 years ago • 2 comments

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.

charle5 avatar Oct 18 '14 04:10 charle5

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

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

moul avatar Oct 20 '14 15:10 moul

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:

[[email protected]]
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:

[[email protected]]
secret = a1b1 c1c2 b1b2 d3d4 asdf ghij zxc1 qwe3

Possible related issue: #15

golimpio avatar Nov 05 '14 09:11 golimpio