Hi KenL :p
Still me. I'm using your miraculous soft every days. It's working, but sometimes, I've an 405 error (method not allowed), and it's stop the upload of album.
When this error occurs, the picture is upload sometime, and the other time no. It depend, sometimes it's the facetag information, or any other data...
I don't know if it's my picture, my server (OVH) or Picasa2Piwigo.
EDIT : After several tests, it's not the picture because the second time, the picture with the error is upload. Perhaps it's come from the server. The method POST is concerned I think...
Any suggestion ?
Cordialy
Offline
Hello Thibault,
I have seen the error, rarely, when using my server. I can not give you a quick answer but my first request is that you enable logging and send me log file after the problem occurs. In the mean time I can start researching the issue...
Regards,
KenL
Offline
OK, I will active the debug log and send it you as soon as possible
.
Another issue : I've contact who like Loïc, or Stéphanie.
And your soft never upload their facetag, perhaps it's the caract ï and é ??
The others facetag are correctly created.
A piece of log (where you can never see the facetag of Loïc or Stéphanie):
4/11/2014 16:45:27: <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <username>guest</username><status>guest</status><theme>modus</theme><language>fr_FR</language><pwg_token>c7a05b49e64136212463529d6027a72c</pwg_token><charset>utf-8</charset><current_datetime>2014-11-04 16:45:30</current_datetime><version>2.7.1</version> </rsp> 04/11/2014 16:45:27: http://www.lacabaneauxsouvenirs.fr/ws.php?method=pwg.session.login 04/11/2014 16:45:27: username=TiboLeGentleman&password=***** 04/11/2014 16:45:27: http://www.lacabaneauxsouvenirs.fr/ws.php?method=pwg.session.getStatus 04/11/2014 16:45:27: <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <username>TiboLeGentleman</username><status>webmaster</status><theme>modus</theme><language>fr_FR</language><pwg_token>2a37499f51dd630c22f65077830b5282</pwg_token><charset>utf-8</charset><current_datetime>2014-11-04 16:45:31</current_datetime><version>2.7.1</version><upload_file_types>jpg,jpeg,png,gif</upload_file_types> </rsp> 04/11/2014 16:45:28: picasa.ini file exists 04/11/2014 16:45:28: http://www.lacabaneauxsouvenirs.fr/ws.php?method=pwg.images.addSimple 04/11/2014 16:45:28: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9379.jpg" 04/11/2014 16:45:28: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9379.jpg" 04/11/2014 16:47:38: <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <image_id>1903</image_id><url>http://www.lacabaneauxsouvenirs.fr/picture.php?/1903/category/9</url> </rsp> 04/11/2014 16:47:38: picasa.ini file exists 04/11/2014 16:47:38: end face_tag_list: Anne-sophie Lavocat, 04/11/2014 16:47:39: http://www.lacabaneauxsouvenirs.fr/ws.php?method=pwg.images.addSimple 04/11/2014 16:47:39: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9380.jpg" 04/11/2014 16:47:39: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9380.jpg" 04/11/2014 16:47:39: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9380.jpg" 04/11/2014 16:50:36: <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <image_id>1904</image_id><url>http://www.lacabaneauxsouvenirs.fr/picture.php?/1904/category/9</url> </rsp> 04/11/2014 16:50:37: picasa.ini file exists 04/11/2014 16:50:37: end face_tag_list: Anne-sophie Lavocat, 04/11/2014 16:50:37: http://www.lacabaneauxsouvenirs.fr/ws.php?method=pwg.images.addSimple 04/11/2014 16:50:37: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9381.jpg" 04/11/2014 16:50:37: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9381.jpg" 04/11/2014 16:50:37: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9381.jpg" 04/11/2014 16:53:38: <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <image_id>1905</image_id><url>http://www.lacabaneauxsouvenirs.fr/picture.php?/1905/category/9</url> </rsp> 04/11/2014 16:53:38: picasa.ini file exists 04/11/2014 16:53:38: end face_tag_list: Anne-sophie Lavocat, 04/11/2014 16:53:39: http://www.lacabaneauxsouvenirs.fr/ws.php?method=pwg.images.addSimple 04/11/2014 16:53:39: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9382.jpg" 04/11/2014 16:53:39: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9382.jpg" 04/11/2014 16:53:39: name="image";filename="E:\\Mes Photos\\Général\\2014\\2014-01-11 Anniversaire de Thibault chez Loic et Steph\\_DSC9382.jpg"
Can you take a look please ?
Thanks !
Last edited by TiboTheGentleman (2014-11-04 16:56:55)
Offline
Hello Thibault,
I will take a look at this. Thanks for reporting the issue.
KenL
TiboTheGentleman wrote:
Another issue : I've contact who like Loïc, or Stéphanie.
And your soft never upload their facetag, perhaps it's the caract ï and é ??
The others facetag are correctly created.
Offline
Hello Thibault,
I took a look at this issue and it's related to the handling of UTF-8 string data stored in the photo. I will work on a fix for this and supply a debug version for you.
KenL
kenl wrote:
Hello Thibault,
I will take a look at this. Thanks for reporting the issue.
KenLTiboTheGentleman wrote:
Another issue : I've contact who like Loïc, or Stéphanie.
And your soft never upload their facetag, perhaps it's the caract ï and é ??
The others facetag are correctly created.
Offline
Concerning the 405 error issue, I've probably found the origin.
I use 2 PC at the same time (different ADSL connexion) to upload pictures on my server.
And they are affect by the 405 error.
Since this morning, I use only one PC (one instance of Picasa2Piwigo), and I've upload 2 albums without any error.
Still survey, but perhaps it's a limitation due to the pooling of servers...
EDIT: I've talk to fast. Still the error. I've opened a support ticket to OVH to identify the issue.
EDIT 2: All caractere are concerned (maj and min):
a -> à@âä
e -> éèêë
i -> ïî
o -> öô
u -> ùüûµ
and -> ç&
EDIT 3: I've got, this morning, the 405 error issue all the time on a specific picture. If I don't select it for the upload, all the other are uploaded successfuly. And if I try to upload it alone, I've got the issue. Strange, the picture is same type like the other... Something in this picture must be different.
Last edited by TiboTheGentleman (2014-11-05 15:15:43)
Offline
Hello Thibault,
Sorry for the issues you're having and thanks for helping to identify and debug them! Please try out this debug build of the tool: https://dl.dropboxusercontent.com/u/46847698/debug.zip
This should solve the issues with people tags such as Loïc, or Stéphanie.
Regarding the 405 error - If a particular photo is causing the issue to appear, maybe you could share the photo with me?
Regards,
Ken
Offline
Hi KenL,
I've try this debug version, but the problem persist.
And I've the 405 error on the picture with the facetag with special caracteres ! Only on it.
Sometimes it's work, sometimes not, but It's always on this king of picture (with special facetag) where I've the issue 405.
Here a sample of picture where I've the issue.
https://dl.dropboxusercontent.com/s/0vx … 9.jpg?dl=1
Thanks for your time !
EDIT: So, I've try an another picture (with the same facetag of the picture in the link), and it's work. The facetag Aurélie Blin is correctly fill up (with the é). So, the error is elsewhere...
Last edited by TiboTheGentleman (2014-11-05 17:03:00)
Offline
So, I've think I've found the problem of the error 405.
During the upload of the album, I've three pictures who I can't upload them.
And these picture weigh more than 5Mo ! (Your's in the dl link weigh 8.56Mo), and the other weigh 12.6Mo and 9.78Mo.
I think the function who upload the file take too much time to finish and the server send an error 405 for the POST function.
So now, the question is where I can change the value to the TTL of this kind of function on my server, and if I've access to it (not on a dedicaced server...).
Regards.
Offline
Hello Thiabult,
Thank you for the information. I have tried uploading your example photo to my piwigo server and it worked ok. Then I reduced the post_max_size value in my server's php.ini file to 1 MB and tried to upload your photo. The photo failed to upload with a 405 error. So, maybe this is the problem you are having.
Regards,
KenL
Offline
Hello KenL,
So, the actual version of your soft works perfectly.
I confirm that is the weigh of the file who is the issue (> 6Mo).
Here, the phpinfo() result :
post_max_size 64M
upload_max_filesize 64M
But I think there's an another problem with the php setttings...
Perhaps the TimeOut Apache setting...
I've try to contact OVH without success...
EDIT:
So the error come from the max_execution_time variable in the php.ini
The problem, it's not a dedicaced server, so I'ven't access to this setting.
And the support contact don't answer...
EDIT2:
They can't modify this setting. KenL, have you a function who can split the file in several part to not exceed the max_execution_time 300s ?
Or mayby I'm in a dead end ?
Last edited by TiboTheGentleman (2014-11-06 10:31:42)
Offline
check their Documentation
Offline
Already done, and this settings isn't accessible.
I'm finish... :(
Offline
no
use piwigo in local in your computer and then export/import to your hosting
Offline