fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
958 stars 94 forks source link

Unable to sync Box or Dropbox #135

Closed grewgirl closed 2 years ago

grewgirl commented 2 years ago

I have a Libra 2 with firmware 4.31.19086

After adding the shared links to the kobocloudrc, I get Permission Denied for both cloud services. I did choose to share with anyone who has the link .

Also, the link for the Dropbox private folder (https://www.dropbox.com/oauth2/authorize?client_id=5oyw72cfwcp352f&response_type=token&redirect_uri=https://louisabraham.github.io/KoboCloud) results in Error 400 bad request.

louisabraham commented 2 years ago

can you try again?

grewgirl commented 2 years ago

Thanks - I have the Apps folder on my Dropbox account now. This is how the information presents on my screen - how much of it do I need?

[image: image.png]

raise your words, not your voice. it is rain that grows flowers, not thunder. -rumi

On Mon, Jun 6, 2022 at 4:35 PM Louis Abraham @.***> wrote:

can you try again?

— Reply to this email directly, view it on GitHub https://github.com/fsantini/KoboCloud/issues/135#issuecomment-1148002003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQUBZ5SXMNXQQKWACZUZB3VNZ4MJANCNFSM5TXRX7LQ . You are receiving this because you authored the thread.Message ID: @.***>

louisabraham commented 2 years ago

I cannot see your picture. I don't think you can attach images in an email reply!

grewgirl commented 2 years ago

Ah, OK.

I was asking about the instructions - I have added everything after 'DropboxApp:' but my Libra2 isn't synchronizing with the dropbox folder that was created. I've copied it the way that it rendered on my screen, wrapped text and all.

curl -s https://api.dropbox.com/oauth2/token -d grant_type=authorization_code -d client_id=5oyw72cfwcp352f -d redirect_uri= https://louisabraham.github.io/KoboCloud/ -d code_verifier=0000000000000000000000000000000000000000000 -d code=null | sed 's/."refresh_token": "([^"])", ".*/\nAdd this line to your kobocloudrc file:\n\nDropboxApp:5oyw72cfwcp352f:\1\n\n/'

Thanks. I figure since the other Dropbox and Box links aren't working, that I may just have to load my Calibre library manually.

On Tue, Jun 7, 2022 at 1:11 AM Louis Abraham @.***> wrote:

I cannot see your picture. I don't think you can attach images in an email reply!

— Reply to this email directly, view it on GitHub https://github.com/fsantini/KoboCloud/issues/135#issuecomment-1148281516, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQUBZ4SFKXN42FANEMRUHLVN3YZLANCNFSM5TXRX7LQ . You are receiving this because you authored the thread.Message ID: @.***>

louisabraham commented 2 years ago

You may want to follow those instructions instead, they are the most recent ones and are waiting for the PR to be accepted: https://github.com/louisabraham/KoboCloud#dropbox-private-folder

I see a weird thing: code=null. Did you hide that information (which you should because it's a sensitive token)?

louisabraham commented 2 years ago

Whay do you see when you click on this link?

grewgirl commented 2 years ago

I was able to retrieve the command and run it in Git Bash, but nothing happens when I add the generated informattion to kobocloudrc, eject/reset and sync.

At present neither Dropbox option nor ther Box option work on my Libra2 (firmware 4.33.19608).

louisabraham commented 2 years ago

That's because you need to build the latest version from my fork.

grewgirl commented 2 years ago

I've been following the instructions and links provided in this repo.

grewgirl commented 2 years ago

I was able to uninstall/reinstall kobocloud and now the connections are working.