Version: 1.3.1 (using KDE 3.5.1 Level "a" , SUSE 10.0 UNSUPPORTED) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.13-15.8-default I use the "Export to remote Gallery" plugin to upload images to my local Gallery server running Gallery v1.5.2-pl2 (Debian Linux/PPC, Apache 2.0.55, PHP Version 4.4.2-1). I can create new albums just fine, but for each image I upload an error window pops up: "Failed to upload photo into remote gallery. Invalid response received from remote Gallery Do you want to continue?" If I click "Continue", the export proceeds with the next picture and the upload eventually finishes. All pictures are uploaded just fine, but having to confirm this error message for every image is very tedious. FWIW, I selected "Resize photos before uploading/Maximum dimension: 1024" to shrink the images. Let me know, if you need further details. Thanks!
wrong product
Hi Latest SVN removes support for Gallery 1.5 and adds support for Gallery 2. I hope this is not a problem for you and that you are able to upgrade to Gallery 2 (it's way nicer IMO!). Hopefully this new release will fix things for you (assuming you u/g G2). Col.
We have decided to support G1 also in the gallery plugin so I am just correcting my last statement about G1 support being removed. I will test shortly and see this code still works OK and if I can recreate this error.
Reassign to me - I'll take a look and see if I can recreate.
I should understand you're kde developer now shouldn't I? :) Angelo
Indeed you should Angelo :) I have replicated this bug and will fix it before the next release.
SVN commit 547312 by cguthrie: Fix the invalid response error when uploading photos to gallery1. It would appear G1 is outputting some information stating that it is resizing the uploaded image and prevents us properly detecting the #__GR2PROTO__ trigger. BUG: 123978 M +5 -1 gallerytalker.cpp --- trunk/extragear/libs/kipi-plugins/galleryexport/gallerytalker.cpp #547311:547312 @@ -600,7 +600,11 @@ if (!foundResponse) { - foundResponse = line.startsWith("#__GR2PROTO__"); + // Gallery1 sends resizing debug code sometimes so we + // have to detect things slightly differently + foundResponse = (line.startsWith("#__GR2PROTO__") + || (line.startsWith("<br>- Resizing") + && line.endsWith("#__GR2PROTO__"))); } else {
In what release was this to be fixed? In current deb testing / kipi-plugins v. 0.1.2-3 there exists a checkbox for selecting gallery2. Furthermore, while I do receive the invalid response error, the upload itself succeeds. Thanks. --Harley
Hmm, I thought this was fixed before 0.1.2 was released. Could be wrong there tho' as just going from memory, but certainly this fix is in the 0.1.3rc that is currently out. If you still get a problem, please let me know as I'll need to readdress it if there is another bug.