Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-10-2025, 04:17 AM   #46
remizik
Member
remizik began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2025
Device: kobo clara BW
Hi,

I can't go past the terminal step :

https://i.imgur.com/DK2ZD4q.png

did something change since this thread was posted ? or am I doing something wrong ?

looks like dropbox doesn't like the "-u" parameter

Thanks
remizik is offline   Reply With Quote
Old 01-10-2025, 04:35 AM   #47
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,741
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Try "curl.exe" instead of curl. Newer Windows/PowerShell has a fake one built in that is compatible with some of the most common cURL commands.
Frenzie is offline   Reply With Quote
Advert
Old 01-10-2025, 04:41 AM   #48
remizik
Member
remizik began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2025
Device: kobo clara BW
That did it ! Thanks
remizik is offline   Reply With Quote
Old 01-17-2025, 12:27 PM   #49
tatteredscroll
Connoisseur
tatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enoughtatteredscroll will become famous soon enough
 
tatteredscroll's Avatar
 
Posts: 56
Karma: 510
Join Date: Sep 2012
Device: Kindle Paperwhite Kids 2022 11th Gen (PW5)
I'm getting a "access_token" after the curl command, but not a "refresh_token". I've gone through all the steps twice (deleted app between, created new app) and KOReader is not able to access my dropbox.

+++

end of crash.log from KOReader

Code:
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
01/17/25-11:23:50 INFO  Looking for plugins in directory: plugins 
01/17/25-11:23:58 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:23:58 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:23:58 ERROR CloudStorage: nil 
01/17/25-11:24:25 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:24:25 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:24:25 ERROR CloudStorage: nil 
01/17/25-11:26:43 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:26:43 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:26:43 ERROR CloudStorage: nil 
01/17/25-11:27:04 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:27:04 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:27:04 ERROR CloudStorage: nil 
01/17/25-11:30:12 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:30:12 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:30:12 ERROR CloudStorage: nil 
01/17/25-11:30:18 INFO  Inhibiting user input 
01/17/25-11:39:27 INFO  Restoring user input handling 
01/17/25-11:39:34 INFO  UIManager: No dialogs left to show 
01/17/25-11:39:34 INFO  Tearing down UIManager with exit code: 0 
[ko-input] Closed input device with fd: 10 @ idx: 1 (matched by idx)
[ko-input] Closed input device with fd: 9 @ idx: 0 (matched by idx)
lipc-wait-event exited normally with status: 0

Last edited by tatteredscroll; 01-17-2025 at 12:41 PM.
tatteredscroll is offline   Reply With Quote
Old 02-04-2025, 02:11 AM   #50
correoparaappzz
Connoisseur
correoparaappzz began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis

hi, how do i set Dropbox folder?
correoparaappzz is offline   Reply With Quote
Advert
Old 03-03-2025, 05:21 PM   #51
b0dhimind
Member
b0dhimind began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2019
Device: PC, Kindle
I tried setting up a OneDrive WebDAV connection (which works perfectly fine with WinSCP) but fails with Kindle KOReader. I think it has something to do with the refresh token or something... too bad my GBs of books are all on OD. Anyone have any luck with OneDrive?

Following these instructions, I was able to setup DropBox and it does sync (download only).
Too bad two-way sync is not possible (download AND upload including changed modified PDF files and reading sync files).

Looks like I will have to SSH synchronize every now and then.

Last edited by b0dhimind; 03-03-2025 at 06:28 PM.
b0dhimind is offline   Reply With Quote
Old 03-08-2025, 07:07 PM   #52
lumpi
Junior Member
lumpi began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: Kindle Touch 2011
Cool Thanks

made an account to say that you're the goat 305869

Last edited by lumpi; 03-08-2025 at 07:09 PM.
lumpi is offline   Reply With Quote
Old 03-24-2025, 05:54 AM   #53
7hir7een
Reader of Books
7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.7hir7een can program the VCR without an owner's manual.
 
7hir7een's Avatar
 
Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
Quote:
Originally Posted by lumpi View Post
made an account to say that you're the goat 305869
I've gotta agree with this person right here. These instructions are so complicated -- I can only imagine how long it took to figure out. Thank you so much for sharing!
7hir7een is offline   Reply With Quote
Old 04-11-2025, 11:22 PM   #54
eikadu
Junior Member
eikadu began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2025
Device: Kindle Paperwhite 7th
im having the same problem and i cant fix

i'm having the exact same problem, with the crash file saying invalid_grant", "error_description": "refresh token is malformed"} . really hope someone can help with this :-)


Quote:
Originally Posted by tatteredscroll View Post
I'm getting a "access_token" after the curl command, but not a "refresh_token". I've gone through all the steps twice (deleted app between, created new app) and KOReader is not able to access my dropbox.

+++

end of crash.log from KOReader

Code:
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
01/17/25-11:23:50 INFO  Looking for plugins in directory: plugins 
01/17/25-11:23:58 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:23:58 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:23:58 ERROR CloudStorage: nil 
01/17/25-11:24:25 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:24:25 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:24:25 ERROR CloudStorage: nil 
01/17/25-11:26:43 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:26:43 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:26:43 ERROR CloudStorage: nil 
01/17/25-11:27:04 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:27:04 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:27:04 ERROR CloudStorage: nil 
01/17/25-11:30:12 WARN  DropBoxApi: cannot get access token: HTTP/1.1 400 Bad Request 
01/17/25-11:30:12 WARN  DropBoxApi: error: {"error": "invalid_grant", "error_description": "refresh token is malformed"} 
01/17/25-11:30:12 ERROR CloudStorage: nil 
01/17/25-11:30:18 INFO  Inhibiting user input 
01/17/25-11:39:27 INFO  Restoring user input handling 
01/17/25-11:39:34 INFO  UIManager: No dialogs left to show 
01/17/25-11:39:34 INFO  Tearing down UIManager with exit code: 0 
[ko-input] Closed input device with fd: 10 @ idx: 1 (matched by idx)
[ko-input] Closed input device with fd: 9 @ idx: 0 (matched by idx)
lipc-wait-event exited normally with status: 0
eikadu is offline   Reply With Quote
Old 04-15-2025, 10:34 PM   #55
phia
Junior Member
phia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Device: KT4
Can see files but download failing

I managed to get things (seemingly) set up after my second try, but I keep running into an error when I try to download files. I can see them in my dropbox from my Kindle, but when I try to download them I get an error reading "could not save file to: /mnt/us/documents/pdfs/example.pdf" , that being where I tried to save up. Looking in that folder, I can see a file with the name of the one I tried to download, but its very small. (113 B in this case) and won't open. I have tried this with a few different files, including a PDF, JPG, and plain text file. None have been bigger then 1 MB with the exception of the JPG. Any advice?
phia is offline   Reply With Quote
Old 04-15-2025, 10:56 PM   #56
phia
Junior Member
phia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Device: KT4
Solved! Can see files but download failing

For anyone else with this same issue. When I originally checked all the permissions, somehow "files.content.read" was unchecked. Though I did recheck it, I did it AFTER I generated the refresh token. After making a new refresh token following step five, with "files.content.read" checked, everything is working fine.
phia is offline   Reply With Quote
Old 04-16-2025, 06:30 AM   #57
Negsof
Junior Member
Negsof began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2025
Device: Kindle 2021 6"
I had same problem, just redo curl command on computer.
Log in into developer drop box, check all permissions. Connect kindle to computer. Koreader > Settings

Delete cloudstorage.lua.old

Then open cloudstorage.lua, edit as text file

As soon as you get refresh token, copy it to cloudstorage.lua, save, disconnect kindle, start-up KOReader and you will connect to cloud.



Quote:
Originally Posted by eikadu View Post
i'm having the exact same problem, with the crash file saying invalid_grant", "error_description": "refresh token is malformed"} . really hope someone can help with this :-)
Negsof is offline   Reply With Quote
Reply

Tags
dropbox


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install & set up Calibre Companion? Step-by-step instructions DanielLauJJ Calibre Companion 0 03-28-2019 12:09 PM
Excel VBA: Programming For Complete Beginners, Step-By-Step Illustrated Guide WilliamBSkates Self-Promotions by Authors and Publishers 1 10-20-2018 11:51 AM
Mac OSX: Idiot-Proof Font Scaling Fix [Step-by-step] Jelbee Kobo Reader 2 06-14-2010 12:16 PM
Step by step: How to borrow library books via Overdrive on the prs-600 ebooker Sony Reader 3 11-14-2009 10:25 AM


All times are GMT -4. The time now is 07:21 PM.


MobileRead.com is a privately owned, operated and funded community.