lomorage / lomo-importer-release

Batch import tool like: import Google Photos to Lomorage
2 stars 0 forks source link

some file are failed to be uploaded, logs attached. #3

Open zlly20 opened 2 years ago

zlly20 commented 2 years ago

[2022-02-28 17:14:10.108] [lomoagent] [info] MainFrame::DoUploadWork::<lambda_3d928df8233e4f76ca7a9643bd875a66>::operator () Upload file finished: p1010104.jpg, success->id: [2022-02-28 17:14:10.108] [lomoagent] [info] MainFrame::OnUploadingUpdate try to fetch preview from lomod, origFile = C:\Users\Zhangs\AppData\Local\Temp\takeout-20220102T111922Z-001\Takeout/Google Photos/Graduation/p1010104.jpg, name = , hash = 2ee16396b1c1c9f6d2e32b034a84ea06ab262cd4 [2022-02-28 17:14:10.108] [lomoagent] [info] MainFrame::OnUploadingUpdate starting fetching preview [2022-02-28 17:14:10.108] [lomoagent] [info] importutils::getCachedPreviewSaveFile to save preview file name = C:\Users\Zhangs\AppData\Roaming\lomoimpt_x64\preview\2ee16396b1c1c9f6d2e32b034a84ea06ab262cd4.jpg [2022-02-28 17:14:10.110] [lomoagent] [info] MainFrame::OnUploadingUpdate previewSavedFile C:\Users\Zhangs\AppData\Roaming\lomoimpt_x64\preview\2ee16396b1c1c9f6d2e32b034a84ea06ab262cd4.jpgalready existed! return. [2022-02-28 17:14:10.110] [lomoagent] [info] ImporterTreeModel::updatePreview updateParseZipProgress, fileName = C:\Users\Zhangs\AppData\Local\Temp\takeout-20220102T111922Z-001\Takeout/Google Photos/Graduation/p1010104.jpg [2022-02-28 17:14:10.223] [lomoagent] [info] MainFrame::DoUploadWork::<lambda_3d928df8233e4f76ca7a9643bd875a66>::operator () Uploading end on file: p1010104.jpg status_code = 500 **[2022-02-28 17:14:10.223] [lomoagent] [error] MainFrame::DoUploadWork::<lambda_3d928df8233e4f76ca7a9643bd875a66>::operator () Uploading end on file error: p1010104.jpg status_code = 500** [2022-02-28 17:14:10.287] [lomoagent] [info] lomo::LomoClient::uploadFile uploading:http://127.0.0.1:8196/asset/92e7d43a121de35f065be5f46190eaf263c5d901?token=375436042&ext=jpg&createtime=2007-01-01T03:06:08Z [2022-02-28 17:14:10.287] [lomoagent] [info] lomo::LomoClient::getHttpUtil getHttpUtil, threadId = 8032 [2022-02-28 17:14:10.294] [lomoagent] [info] lomoutils::HttpUtils::uploadFile HttpUtils::uploadFile, host = http://127.0.0.1:8196, path = asset/92e7d43a121de35f065be5f46190eaf263c5d901?token=375436042&ext=jpg&createtime=2007-01-01T03:06:08Z, fileToUpload = C:\Users\Zhangs\AppData\Local\Temp\takeout-20220102T111922Z-001\Takeout/Google Photos/My Princess/DSC00492.JPG, head response code = 404 [2022-02-28 17:14:10.294] [lomoagent] [info] lomoutils::HttpUtils::createNewToken guid = dcbca3a651d565fb9df2701da652d183692f15134eada67a3495c9d306acb296 [2022-02-28 17:14:10.712] [lomoagent] [info] lomoutils::HttpUtils::UploadFileToHttpServerAsync::<lambda_2c0647df2316956d3ae9c23f68a8b47d>::()::<lambda_1d866afecae2183150ddbe9d3fa5fd6a>::operator () Server returned returned status code 200.

zlly20 commented 2 years ago

I'm wondering how would I recover from those failures, as I'm uploading 24K photos in one go, how would I figure out which photo is failed? Going through the logs would require some effort, maybe I had to build some tools to do that. This is a windows installation. thanks

aisnote commented 2 years ago

..\lomoimpt\lomodb\87e43cbdd9218126f19007097fc33ce11a8c8d1c.db there is one local db to store everything as above sqlite3 db, could share the db files to me?