google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 119 forks source link

'rm' hangs on exit #43

Closed kassai closed 9 years ago

kassai commented 9 years ago

Both 'rm' and 'rm -r' always hangs (for me) and needs to be stopped with CTRL-C. The intended content is however correctly deleted.

kassai@box:/media/photos$ skicka -debug -verbose rm /backup/katalog/testfil ^Ckassai@box:/media/photos$ skicka -debug -verbose rm -r /backup/katalog/ ^C

I run it inside of GNU screen and am logged in to my Gdrive through a web browser while executing the code (I have a hard time seeing that it'd be relevant).

mmp commented 9 years ago

Ah, interesting. It was falling into an error handling path that did exponential backoff (which made it appear to hang.)

Fixed in 83c601d495248e029056d8edd237aeeac048388e

mmp commented 9 years ago

(And sorry for any trouble!)

kassai commented 9 years ago

No trouble, huge thanks for fixing this so quickly and for creating such a great tool!