andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.57k stars 1.08k forks source link

"Please check the log" -- where is the log? #517

Open tjluoma opened 4 years ago

tjluoma commented 4 years ago

I just updated to the current version and created a new Dropbox 'app' and ~/.dropbox_uploader but nothing works except 'space' and 'info'.

For example:

 dropbox_uploader.sh list '/Shared'
 > Listing "/Shared"... FAILED
Some error occured. Please check the log.

and also

 dropbox_uploader.sh upload 'Lessons and Carols (Readings).pdf' /Shared/
 > Uploading "Lessons and Carols (Readings).pdf" to "/Shared/Lessons and Carols (Readings).pdf"... FAILED
An error occurred requesting /upload
Some error occured. Please check the log.

I would be happy to check the log… but I don't know where to find the log.

telemaxx commented 4 years ago

have you seen issue #514?

tjluoma commented 4 years ago

I hadn't, but it led me to figure out that I had to go into another screen on the Dropbox.com website to add permissions, which really ought to be part of the instructions when creating a new ~/.dropbox_uploader file. Once I did that and re-ran the process with the app token, etc then I got it to work.

The location of the log is still entirely unclear. IMO, if there is no log unless you use -d then it shouldn't say "Check the log" it should say something like "Re-run with the -d and then look at '/tmp/du_resp_debug'."

telemaxx commented 4 years ago

yes, that is right. and when starting from scratch the instructions are given from Dropboxuploader.sh should also be updated. when i find some time i send a PR

telemaxx commented 4 years ago

https://github.com/andreafabrizi/Dropbox-Uploader/pull/519