reallistic / BitcasaFileLister

List and download files in your bitcasa drive via api
https://rose-llc.com/bitcasafilelist/
16 stars 3 forks source link

UnicodeEncodeError #53

Closed SoySoy22 closed 10 years ago

SoySoy22 commented 10 years ago

11/11 11:21:34 [Download 1][INFO]: Finished download /home/YYY/0.6.1/Download/YYY/Sonstiges/YY– Die RückkYY - YYY.pdf in 1.9 secs 11/11 11:21:34 [Download 1][ERROR]: Error. Could not write to /home/YYYY/0.6.1/Download/YYY/successfiles.csv. Ending Traceback (most recent call last): File "/home/silvan/0.6.1/BitcasaFileLister/includes/helpers/results.py", line 15, in writeSuccess myfile.write("%s\n" % filept) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 53: ordinal not in range(128) 11/11 11:21:34 [Download 1][INFO]: 200.39 KB downloaded at 105.29 KB/s 11/11 11:21:34 [Download 1][DEBUG]: End of thread 11/11 11:21:34 [Download 1][DEBUG]: Clearing queue 11/11 11:21:34 [Download 1][DEBUG]: Shutting down 11/11 11:21:35 [Download 6][INFO]: Stopping download 11/11 11:21:35 [Download 6][DEBUG]: End of thread 11/11 11:21:35 [Download 6][DEBUG]: Clearing queue 11/11 11:21:35 [Download 6][DEBUG]: Shutting down 11/11 11:21:36 [Queuer 7][DEBUG]: Stopping folder list 11/11 11:21:36 [Queuer 7][DEBUG]: Clearing queue 11/11 11:21:36 [Queuer 7][INFO]: Shutting down 11/11 11:21:36 [Queuer 9][DEBUG]: Stopping folder list 11/11 11:21:36 [Queuer 9][DEBUG]: Clearing queue 11/11 11:21:36 [Queuer 9][INFO]: Shutting down 11/11 11:21:36 [MainThread][DEBUG]: Finished waiting 11/11 11:21:36 [MainThread][INFO]: Total download time: 1.9 secs 11/11 11:21:36 [MainThread][INFO]: Total run time: 15.85 secs 11/11 11:21:36 [MainThread][INFO]: Download speed: 200.39 KB at 105.29 KB/s 11/11 11:21:36 [MainThread][INFO]: Program run speed: 200.39 KB at 12.65 KB/s 11/11 11:21:36 [MainThread][INFO]: Done

ekoekoazarak commented 10 years ago

Same issue #52 .. If you need a quick fix, open results.py and cripple writeSuccess writeSkipped writeError writeErrorDir.

SoySoy22 commented 10 years ago

What do you mean with cripple?

reallistic commented 10 years ago

Duplicate of #43