flingo64 / PhotoStation-Upload-Lr-Plugin

Photo StatLr (aka PhotoStation Upload) is a Lightroom Publish and Export Service Plugin that enables the export /publishing of photos and videos from Lr to a Synology Photo Station. It uploads the photos/videos and all required thumbnails. It can download comments and ratings and do a real two-way synch of various metadata (tags, ratings, labels).
http://messmer-online.de/index.php/software/11-photo-statlr
GNU General Public License v3.0
209 stars 21 forks source link

Http error: No JSON response data! #36

Closed zenodotus280 closed 5 years ago

zenodotus280 commented 5 years ago

I've been publishing large folders of 1-2000 images and most work but dozens do not upload at all. Some a remarked "to be republished" and a several are listed as new and never published. I haven't yet found any commonalities among the failures. Some are dng and some are jpg.

Lightroom 6.14 using the standard upload option. Plug-in version 6.7.0.20190210

Also... to update the plugin do I just unzip overtop of the existing folder?

flingo64 commented 5 years ago

'No JSON response data' means that the Photo Station does not acknowledge the upload of a photo as expected. Most likely, there is an issue on the Diskstation. Disk space, quota, timeout??? Set Loglevel to Debug and see if the logfile is more specifc on that error. If you cannot figure it out, send me the logfile.

Updating is actually as simple as unzipping the new version to the current plugin dir and re-opening Lr. You may also create a new directory for the new version, if you want to keep the old version.. In that case, you have to disable the old plugin and add the new plugin in Lr Plugin Manager.

zenodotus280 commented 5 years ago

I found the error but it doesn't appear to an error with my Diskstation's config:

Warning: rmdir(/var/services/photo/2010 and Earlier/@eaDir/[2008-10-09T130042].jpg): Directory not empty in /volume1/@appstore/PhotoStation/photo/include/asst_file_upload.php on line 199

Warning: rename(/volume1/photo/@eaDir/ASST_PHOTO_UPLOAD_TMP_DIR/ASST_TMP_EA_f5q22jq83c0rtn45nb814qg8v2,/var/services/photo/2010 and Earlier/@eaDir/[2008-10-09T130042].jpg): Directory not empty in /volume1/@appstore/PhotoStation/photo/include/asst_file_upload.php on line 205 {"success":true,"err_msg":"warning: rename tmp EA folder fail: \/var\/services\/photo\/2010 and Earlier\/@eaDir\/[2008-10-09T130042].jpg","duplicate_folder":false} 16:49:25, TRACE: JSON-DecodeError: msg=JSON encode/decode package, txt=can't parse JSON 16:49:25, DEBUG: JSON-DecodeError: loc=

On Fri, 22 Feb 2019 at 10:59, Martin notifications@github.com wrote:

'No JSON response data' means that the Photo Station does not acknowledge the upload of a photo as expected. Most likely, there is an issue on the Diskstation. Disk space, quota, timeout??? Set Loglevel to Debug and see if the logfile is more specifc on that error. If you cannot figure it out, send me the logfile.

Updating is actually as simple as unzipping the new version to the current plugin dir and re-opening Lr. You may also create a new directory for the new version, if you want to keep the old version.. In that case, you have to disable the old plugin and add the new plugin in Lr Plugin Manager.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flingo64/PhotoStation-Upload-Lr-Plugin/issues/36#issuecomment-466487943, or mute the thread https://github.com/notifications/unsubscribe-auth/APhOfop-jIR6b-t-bAmg7ak7LiCftDTmks5vQDACgaJpZM4bJ39b .

flingo64 commented 5 years ago

Is the filename of the photo really '[2008-10-09T130042].jpg' ? That would be a bad filename, because of the characters it is a regular expression, which might not work for the renaming performed by the Upload service.. Can you try to use a filename without '[' and ']' .

flingo64 commented 5 years ago

No response. closing the issue.

zenodotus280 commented 5 years ago

Apologies, I meant to reply. It was the filename in the end, no issues since. Thanks!

Corey

On Sat, 23 Feb 2019, 10:51 Martin, notifications@github.com wrote:

Is the filename of the photo really '[2008-10-09T130042].jpg' ? That would be a bad filename, because of the characters it is a regular expression, which might not work for the renaming performed by the Upload service.. Can you try to use a filename without '[' and ']' .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flingo64/PhotoStation-Upload-Lr-Plugin/issues/36#issuecomment-466673177, or mute the thread https://github.com/notifications/unsubscribe-auth/APhOfh5zNcubuugPN9WCymEYCPkyepCHks5vQX-LgaJpZM4bJ39b .