reallistic / BitcasaFileLister

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

Error creating folders #62

Closed BonteConsulting closed 9 years ago

BonteConsulting commented 10 years ago

11/15 05:31:30 [Queuer 2][INFO]: _Carpetes Antigues CR\Montse Bonjorn\Màrqueting i Publicitat (Portàtil M.Bonjorn)\Administració, Factures i Pressupostos Dp. Comunicació & Disseny\05.Imprenta\2009-04-24 [IMPRESSORS DE BCN] Díptic\2009-04-27 [IMPRESSORS DE BCN] Docs per imprenta 11/15 05:31:30 [Queuer 2][ERROR]: Couldn't create folder C:\BitcasaTMP\02.- CAL ROTES S.L.U_Carpetes Antigues CR\Montse Bonjorn\Màrqueting i Publicitat (Portàtil M.Bonjorn)\Administració, Factures i Pressupostos Dp. Comunicació & Disseny\05.Imprenta\2009-04-24 [IMPRESSORS DE BCN] Díptic\2009-04-27 [IMPRESSORS DE BCN] Docs per imprenta Traceback (most recent call last): File "BitcasaFileFetcher\threads\folder_traverse.py", line 177, in folder_list os.makedirs(fulldest) File "C:\Python27\lib\os.py", line 157, in makedirs mkdir(name, mode) WindowsError: [Error 3] El sistema no puede encontrar la ruta especificada: u'C:\BitcasaTMP\02.- CAL ROTES S.L.U_Carpetes Antigues CR\Montse Bonjorn\M\xe0rqueting i Publicitat (Port\xe0til M.Bonjorn)\Administraci\xf3, Factures i Pressupostos Dp. Comunicaci\xf3 & Disseny\05.Imprenta\2009-04-24 [IMPRESSORS DE BCN] D\xedptic\2009-04-27 [IMPRESSORS DE BCN] Docs per imprenta' 11/15 05:31:30 [Queuer 2][ERROR]: Will retry to create folder 2 more times

reallistic commented 10 years ago

Thanks god for google translate.

I have seen this happen when running a large number of threads. It is also strange that the folder separators are not double escaped but that could just be the error output formatting.

Does this always happen with this particular folder?

BonteConsulting commented 10 years ago

No... with all folders containing words with accents ... like: Màrqueting If you want I can send all log files

reallistic commented 10 years ago

I'll look into this further tomorrow.

BonteConsulting commented 10 years ago

If you give me your e-mail address I will send the whole log files.

reallistic commented 10 years ago

I don't need it. I really only need some samples to test which you have already provided.

reallistic commented 9 years ago

Please try the dev branch. Here is a direct link.

Do not "upgrade" from this branch unless specifically asked. It will always be in flux

BonteConsulting commented 9 years ago

I am going to test it!!!

BonteConsulting commented 9 years ago

After more than 12 hours running this release 0.7.1, it seems this is working properly. The only errors found are not related due any bug, but API or Network connection or Bitcasa faulty.

For example: 11/18 00:01:54 [Queuer 7][WARNING]: Failed to get folder contents 408. Will retry 4 more times

... other: 11/18 00:01:54 [Download 17][ERROR]: Network error 408. Will retry 8 more times

... anothers: 11/18 00:02:17 [Queuer 28][WARNING]: API rate limit reached. Will retry 11/18 00:02:17 [Queuer 14][WARNING]: Bitcasa error 500 getting files. Will retry 11/18 00:02:17 [Queuer 35][WARNING]: Bitcasa error 500 getting files. Will retry 11/18 00:02:17 [Queuer 33][WARNING]: API rate limit reached. Will retry 11/18 00:02:17 [Queuer 40][WARNING]: Failed to get folder contents 408. Will retry 4 more times 11/18 00:02:17 [Queuer 16][WARNING]: API rate limit reached. Will retry 11/18 00:02:17 [Queuer 11][WARNING]: API rate limit reached. Will retry 11/18 00:02:17 [Queuer 34][WARNING]: API rate limit reached. Will retry

and finally... 11/18 00:22:15 [Download 22][ERROR]: _BAS7214.tif File size mismatch. Will retry 9 more times

reallistic commented 9 years ago

Thats great to here. As you pointed out, all of these are "expected" errors that will happen from time to time. I will mark this as closed when I merge those changed to Master.