Public bug reported: Problem : Softwares using the kipi plugin gallery export fail to export to Gallery3 server
Reason could be because kipi plugin gallery export doesn't use correctly the cookies I found this bug while trying to export pictures from Digikam (2.5.0 - 12.04) to Gallery3 (3.0.5) freshly installed with module Gallery Remote Protocol correctly installed, activated and patches applied as required. Digikam, as other software like Gwenview, use the kipi plugin gallery export to perform this operation. The first things that I could observe is that I receive an error "Failed to list albums" ("Impossible de lister les albums" in french). To better understand the error, I decided to follow the TCP stream with Wireshark. Here are my observations: - The plugin sends a POST request to the server with 4 parameters cmd=login protocol_version=2.11 uname=user password=password - The server response contains 3 cookies and a GR2PROTO message telling login successful Cookies: Set-Cookie: g3sid=avq48ujlg28452re1ntiualqh4; expires=xxxxxx GMT; path=/ Set-Cookie: g3sid=4ae4f6b045458c336699c11b5d749c82b914ce64%7Eavq48ujlg28542re1ntiualqh4; expires=xxxxxx GMT; path=/ Set-Cookie: g3sid=3a4h2m49v0r4i588q7vgek4q57; expires=xxxxxx GMT; path=/ #__GR2PROTO__ status=0 status_text=Login successful. debug_gallery_version=3.0.5 (Daydreaming) debug_user=Quentin debug_user_type=Gallery_User debug_user_already_logged_in= server_version=2.15 - The plugin sends a POST request to the server with 2 parameters but without using the Cookies previously received cmd=fetch-albums protocol_version=2.11 - The server response contains this times 2 cookies and a GR2PROTO message telling that user not logged in (status 202) Cookies: Set-Cookie: g3sid=r1s6g6pkgpo6f53bevgbthnf82; expires=xxxxxx GMT; path=/ Set-Cookie: g3sid=44c09bdb25025bec53fdf59b1c1602afb8f9aebe%7Er1s6g6pkgpo6f35bevgbthnf82; expires=xxxxxx GMT; path=/ #__GR2PROTO__ status=202 status_text=Minimum protocol version required: 2.3 - your client's protocol version: 2.11 debug_gallery_version=3.0.5 (Daydreaming) debug_user=guest debug_user_type=Gallery_User debug_user_already_logged_in= server_version=2.15 I tested with the following configurations - Ubuntu 12.04.2 LTS + Gnome + Digikam 4:2.5.0-1ubuntu2 + kipi-plugins 4:2.5.0-1ubuntu2 - Ubuntu 12.04.2 LTS + Gnome + Digikam 4:2.8.0-0ubuntu1 + kipi-plugins 4:2.8.0-0ubuntu1 - Ubuntu 13.04 + Gnome + Digikam 4:3.0.0-0ubuntu3 + kipi-plugins 4:3.0.0-0ubuntu3 None of the above configurations resolv this problem. I got the same problem with Gwenview using this kipi plugin. I will test it on Ubuntu 12.04.2 LTS + KDE and Ubuntu 13.04 + KDE to see if the X environment could be the problem. ** Affects: kipi-plugins (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1154560 Title: kipi plugin gallery export didn't use cookies To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kipi-plugins/+bug/1154560/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs