#1 2019-01-12 21:17:44

vrtisworks
Member
2019-01-12
2

"unused' return when uploading from digikam

Hello

When I use the Piwigo export plugin to upload files from DigiKam to Piwigo, it works "most of the time".
So, I can select all the images in an album in Digikam and export them.  Every once in a while, an image fails to load, and I get "unused" error from the Digitkam plugin. 

If I select 'continue', the other files load fine.

If I go back and try to upload the single file that failed.  It will fail again.  It may fail on the first chunk, or on some other chunk.  The file will always fail on the same chunk (different files may fail on different chunks).

The files are PNG. And I have no trouble viewing them in Digikam, or Irfan, or any other program.

Here is an example of what I see in the Piwigo log when one fails, and I reply continue to go to the next one.

[2019-01-11 18:52:35]    [DEBUG]    [WS]    ws_images_exist
  md5sum_list: 'c737cfe494b8d72e841a33371a3938ea'
  filename_list: NULL
[2019-01-11 18:52:37]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "original_sum" : "c737cfe494b8d72e841a33371a3938ea"
[2019-01-11 18:52:37]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "position" : "1"
[2019-01-11 18:52:37]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "type" : "file"
[2019-01-11 18:52:37]    [DEBUG]    [WS]    [ws_images_add_chunk] data length : 699052
[2019-01-11 18:52:39]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "original_sum" : "c737cfe494b8d72e841a33371a3938ea"
[2019-01-11 18:52:39]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "position" : "2"
[2019-01-11 18:52:39]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "type" : "file"
[2019-01-11 18:52:39]    [DEBUG]    [WS]    [ws_images_add_chunk] data length : 699052
[2019-01-11 18:52:40]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "original_sum" : "c737cfe494b8d72e841a33371a3938ea"
[2019-01-11 18:52:40]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "position" : "3"
[2019-01-11 18:52:40]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "type" : "file"
[2019-01-11 18:52:40]    [DEBUG]    [WS]    [ws_images_add_chunk] data length : 699052
[2019-01-11 18:52:42]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "original_sum" : "c737cfe494b8d72e841a33371a3938ea"
[2019-01-11 18:52:42]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "position" : "4"
[2019-01-11 18:52:42]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "type" : "file"
[2019-01-11 18:52:42]    [DEBUG]    [WS]    [ws_images_add_chunk] data length : 699052
[2019-01-11 18:56:55]    [DEBUG]    [WS]    ws_images_exist
  md5sum_list: '0b3e00117c404f0bee8cb04165a804a4'
  filename_list: NULL
[2019-01-11 18:56:56]    [DEBUG]    [WS]    [ws_images_add_chunk] input param "original_sum" : "0b3e00117c404f0bee8cb04165a804a4"


Piwigo version: 2.9.4
PHP version: 5.6.36
MySQL version: 5.6.34
Piwigo URL: http://clanlist.vrtisworks.com/photogallery

Offline

 

#2 2019-01-13 12:15:48

erAck
Only trying to help
2015-09-06
2177

Re: "unused' return when uploading from digikam

After the ws_images_add_chunk there is no pwg.images.add call that would result in merge_chunks. Looks like the Digikam plugin "decides" to not further use the image. If that is repeatable for a specific image then maybe ask the Digikam plugin developers.

You could also try to upload such failing file using the tools/piwigo_remote.pl script, see the usage example and options at its top. If that does not fail it's quite certain the problem is with the Digikam plugin.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2019-01-13 17:20:20

vrtisworks
Member
2019-01-12
2

Re: "unused' return when uploading from digikam

Thanks..  I will try the upload via the tools as you suggested.  I did try uploading through the web form, and it uploaded fine.

The problem is repeatable.  If an image will not load once.. it will not load no matter how many times I try.


Is the plugin maintained by DigiKam?  Or by somebody in the Piwigo group?  I tried figuring that out and couldn't find where to post the problem.

Offline

 

#4 2019-01-13 20:17:01

executive
Member
2017-08-16
1233

Re: "unused' return when uploading from digikam

Offline

 

#5 2019-01-14 02:05:03

erAck
Only trying to help
2015-09-06
2177

Re: "unused' return when uploading from digikam

In case someone wants to take a look.. https://cgit.kde.org/kipi-plugins.git/tree/piwigo and specifically https://cgit.kde.org/kipi-plugins.git/t … talker.cpp
Of course that's the current master branch which in the main functionality doesn't necessarily correspond to the release (which btw?) of the OP anymore. I didn't spot anything obviously wrong from a very short glance, also nothing in the commits since v5.0.0 that would indicate a related bug had been fixed.

Fwiw, I also use Digikam (v5.3.0) with Piwigo export plugin, and the described behaviour never occurred here.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact