Closed Feilner closed 2 years ago
The exception is caused by a bug when publishing photos with setting 'Generate thumbs' disabled. Either enable thumb generation or, if you really want to publish w/o thumbs, apply the following patch or wait for the next release.
In PSUploadTask.lua replace lines 185,186
or not exportParams.photoServer:uploadPhotoFiles(dstDir, dstFilename, dstFileTimestamp, exportParams.thumbGenerate,
renderedPhotoPath, title_Filename, thumbSettings.XL_Filename, thumbSettings.L_Filename, thumbSettings.B_Filename, thumbSettings.M_Filename, thumbSettings.S_Filename)
by
or not exportParams.photoServer:uploadPhotoFiles(dstDir, dstFilename, dstFileTimestamp, exportParams.thumbGenerate,
renderedPhotoPath, title_Filename,
thumbSettings and thumbSettings.XL_Filename,
thumbSettings and thumbSettings.L_Filename,
thumbSettings and thumbSettings.B_Filename,
thumbSettings and thumbSettings.M_Filename,
thumbSettings and thumbSettings.S_Filename)
Thanks for reporting and thanks for pointing me to Photos 1.2!
Version 7.2.2 solves the issue and is now released.
Thanks for the fast analysis and fix! I can confirm that the upload is working fine now.
I just converted to Synology Photos. As suggested I updated my Photo StatLr config, marked the pictures for republishing and let the 'CheckExistin' task run which went fine. But some Pictures where left in the state Republish.
So solve this I started the normal Uplaod task. Whre this error appeard.
I have now also tried with a new created album with the same result:
I also just recognized that I have installed Synology Photos 1.2.0-0263 Within Photo StatLr I have selected the lastest version which is Photos 1.1