When selecting the upload album one have to scroll down a fairly long list of album names. If you dropped the "|" in front of album name listings I could start typing "L" to move to my first album starting with "L", example my "Lyonais" album.
The second improvement would be to have the pluging stay loged in after finish. Then I don't have to login again for my next export in the same LR session. Maybe this cannot be done due to LR, but would surey be nice.
Is it possible to do multiple (multithreaded) exports - meaning I can start export til one Gallery album, then start export to another before the first export has finnished.
Any of these improvements would be very much appreciated.
Pål
rtpub
Joined: 2008-04-14
Posts: 9
Posted: Wed, 2009-01-07 16:42
Hi,
I ran into problems trying to upload photos with these plugins:
My setup is: Mac OS X 10.5.6, Lightroom 2.2 and my site is running on Gallery 2.24
I could export the photos via the plugin fine, but the thumbnails and the images in all sizes I've set are all broken (only 92x92!!!); however, I could download and view the original with the "Download photo in original format" link...
Anyone has any idea on this? Many thanks!!
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Wed, 2009-01-07 16:53
Well, if thumbnails are broken and photos were uploaded correctly, I would say that your graphic toolkit on Gallery is not configured correctly.
Those plugins just uploads the pictures (they seem fine in your case), then Gallery creates thumbnails and intermediate sizes with its graphic toolkit.
Check your G2 toolkit configuration.
rtpub
Joined: 2008-04-14
Posts: 9
Posted: Thu, 2009-01-08 07:37
Well, I'm a bit confused... since I uploaded others with Gallery Remote on my PC without any problems...
I've ImageMagick, Gd and NetPBM installed and priority set in that order (ImageMagick > Gd > NetPBM). Which one will work in this case? Thanks!!
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Thu, 2009-01-08 08:22
Then maybe check the format you export your pictures from LR. Maybe they are too big (unlikely) or have another parameter set that prevents your graphic toolkit from working.
What you can try is :
- ask G2 to recreate thumbnails for this album and check if it works.
- go and look for the picture in g2data and check if it works better if you upload it from the web UI or from Gallery Remote
rtpub
Joined: 2008-04-14
Posts: 9
Posted: Sat, 2009-01-10 10:57
Don't know what happened, but now the plugin just froze while saying "Uploading" and nothing has been uploaded to the site...
anyway to fix this? Thanks!!
rtpub
Joined: 2008-04-14
Posts: 9
Posted: Tue, 2009-01-13 00:46
Lapinoo wrote:
The log file is a text file written in the "My Documents" (Windows) or "Home" (Mac OS X) directory.
It contains mainly debug information I may request when a user describes a problem with the plugin.
For the end user, this file is useless.
Hi there, last night I was trying to examine the log and couldn't find any in my "Home" directory (I'm using Mac OS X 10.5.6, LR 2.2 and Gallery 2.24). I then went to the plug-in manager and turned on the logging option to something other than "none". However, after I picked one and clicked "ok" to exit and went back to check the settings, the logging option was empty and I couldn't figured out which option was picked. Any ideas how to check if the logging feature is enabled? I'm still stuck on the uploading issue...
Any help would be much appreciated!!
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Tue, 2009-01-13 11:23
Hello,
This is a known problem with the Beta plugin for LR2.0
Good news, I fixed it in Beta 3 this last WE.
Try this new plugin and send me the log file (after you set the log level in the plugin manager)!
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Tue, 2009-01-13 11:27
Well, sometimes, for HTTP reasons, the plugin (this one and others) tend to freeze.
Try the Beta 3 of the plugin and restart.
But once again, your problem is kind of weird.
rtpub
Joined: 2008-04-14
Posts: 9
Posted: Wed, 2009-01-14 15:45
Hi Lapinoo,
Thanks for the new Beta 3 plugin! Seems that the newer release works much better than the beta 2. I'll keep using this one for now.
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Tue, 2009-02-10 07:18
I finally published the new release for my plugin.
New features:
* Fully compliant with Lightroom 2.x SDK.
* Support for Gallery 1.x, Gallery 2.x and Jallery 1.x
* Available in English, French & German.
* Still user defined export of Lightroom metadata to Gallery.
I have tried this before in a previous version without any problems but now when I try to upload some files don't get uploaded and I get a "some files failed to upload correctly" followed by the file names. this happens with specific files. ie: when i export a batch, maybe photos 3 and 4 will not upload and then even if I try to upload them individually i get the same error. all the pictures in the batch are from the same camera, etc. and they are getting resized to 1920 (long edge setting) so size can't be a factor.
I believe I have the latest plug-in version (2.0.0 downloaded from starway.org).
Anyone else having this problem that could point me to a solution? I would very much appreciate it.
Thanks!
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Sun, 2009-03-15 18:37
Hello,
Can you tell me more about your problem ?
Lightroom version ?
OS used for Lightroom ?
Gallery version ?
Can you provide me with the log file (with LR 2.0, you can set the log level in the Plugin-Manager screen of Gallery) ?
Can you also provide me with the picture that fails ?
Thanks !
Nickp
Joined: 2008-11-18
Posts: 10
Posted: Thu, 2009-03-19 19:21
Thanks for responding, sorry I didn't see this sooner.
Anyway, my problem happens on both of my computers (one runs XP and LR 2.3 and the other runs Vista and LR 2.3) and with different, and apparently random, files(i've tried many times). but the bottom line is that whenever I try to upload a series of pictures, a few don't make it through and i get the errors as per the example below.
from the XP machine this time, I just tried to upload 7 photos and I got "3 files failed to upload correctly"
on trying to upload the three missing photos, I got the same message and none made it. But the problem is not limited to these three files, I have tried uploading various sets of different photos from either computer with the same problem and random images not uploading. Since then I emptied out the gallery and tried again, with the above results.
I am attaching the log file that i got with my last upload.
Anything you can tell me to shed light on this would be great so thanks very much.
Nick
Nickp
Joined: 2008-11-18
Posts: 10
Posted: Fri, 2009-03-20 23:59
UPDATE
I found the problem, I thought all my images were the same size but they weren't. It was the file size limit that was a problem.
Sorry for the neophite confusion; and, since it was not it's problem, even more kudos to your plugin.
Nick
photosoflight
Joined: 2009-06-30
Posts: 3
Posted: Tue, 2009-06-30 03:58
Thanks for the plugin, Lapinoo.
I downloaded the plug in from your french site and installed it a few days ago. It worked well for me at that time.
It has stopped working for me now.
I upgraded my Lightroom to 2.4 a few days ago and now it enables me to upload photos the first time, but on subsequent attempts, it gives me an error message.
I am using Mac OS X 10.5 and the latest version of Gallery (2.3). Your plugin version says 2.0.0 Beta 3.
When I try to upload the photos the for the first time after rebooting. It works like a charm.
Second time, it looks like it connects to the album, fetches the album list and then looks like it is trying to upload for a long time and finally comes back with an error saying - Unable to Export: An internal error has occurred: {string "GallerRemoteProtocol"}:332: attempt to concatenate local 'response' (a nil value)
The Plugin manager shows an error message as follows:
This plug-in’s post-processing task did not finish successfully.
GalleryRemoteProtocol:332: attempt to concatenate local 'response' (a nil value)
Do you think something is broken because I upgraded to Lightroom 2.4? Should I be doing something differently to make it work?
Your help will surely be appreciated.
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Tue, 2009-06-30 14:49
Hello,
I haven't tested the plugin with LR 2.4 yet. I'll give it a look tonight.
In the meantime, can you send me the log file (most verbose mode, don't worry for your password) of the plugin while you make it fail ?
Thanks is advance,
photosoflight
Joined: 2009-06-30
Posts: 3
Posted: Tue, 2009-06-30 17:25
Thank you for your quick reply.
Will send it to you today.
photosoflight
Joined: 2009-06-30
Posts: 3
Posted: Wed, 2009-07-01 18:11
Lapino,
I could not get to the photos yesterday.....looks like today and tomorrow and going to be a bit crazy too...but I will get to it over the weekend and send it to you by Sunday. Just wanted to keep you informed.
Thanks and regards,
Jeet.
bpub
Joined: 2009-07-19
Posts: 1
Posted: Sun, 2009-07-19 10:49
Lapinoo,
I have information about the hanging problem in LR->Gallery. It's in both "PostMultipart" and "Post"
I've used LR->Gallery on a few projects. I've kept up to date on both LR and the plugin. It was hanging for me, and wouldn't un-stick until I rebooted the computer. I needed to upload several thousand shots in many albums, so I couldn't stand that many reboots, or secondary exports.
I used "tcpdump" to evaluate the TCP messages between my mac (10.5) and my web server. I found the problem is a counter inside the TCP layer of the Adobe LUA engine. Here's how I described it to Adobe (case #0180990524):
And I quote:
"
When using LrHttp.post or LrHttp.postMultipart, the post transaction fails with the target website, because of invalid TCP header in
formation. This only occurs on large transfers, like multipart posts containing image files.
Using tcpdump command on Mac OS 10.5, I captured the header of the packets for a successful post, and a failed post.
Successful:
19:48:24.212750 IP Macintosh.home.56274 > perfora.net.http: P 1:382(381) ack 1 win 65535
0x0000: 4500 01a5 6116 4000 4006 72a4 c0a8 0102 E...a.@.@.r.....
FAILED:
19:38:12.580630 IP Macintosh.home.56240 > perfora.net.http: P 3983702875:3983703256(381) ack 3995041646 win 65535
0x0000: 4500 01a5 c23b 4000 4006 117f c0a8 0102 E....;@.@.......
In the failed case, note the VERY large counter in the first line after "P".
"
The problem is that at the TCP layer, the computers have to agree on what part of the message is being sent. In the first case, it is from byte 1 to byte 382. In the second case, it STARTS with part 3983702875, which is completely invalid. The web server ignores the packet as corrupted, and the upload hangs. My guess is that Adobe has an un-initialized variable in their LrHttp library.
Here's Adobe's response:
"
I understand that you would like assistance with LrHttp.post and LrHttp.postMultipart. Adobe does not provide support for these methods at this level. For free assistance with this, you may refer to the forums online: http://www.adobe.com/support/forums/
Status: Withdrawn
"
They don't want to accept that they have a bug in their library. (I didn't withdraw it, they closed it that way)
I first re-wrote the "GalleryRemoteProtocol.lua" to hand-generate the multipart message, and use "Post" instead of "PostMultipart". It too would hang.
Now, I have written a new "GalleryRemoteProtocol.lua" which uses a perl script as an image upload server. But it will only work on a Mac, because I didn't work on multi-platform support (and PC's don't have perl pre-loaded). Let me know if you'd like to review it as an alternative to this hanging problem.
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Mon, 2009-07-27 16:47
Interesting...
Have you submitted this problem in Adobe's forums?
Last time I had an issue, someone had a look at it.
Maybe, it will be tracked correctly (and fixed) if you post your tests on those forums.
I'll try to have a look at it a bit later (I don't have much time available right now).
Thanks for sharing you experience!
vyruz
Joined: 2008-08-12
Posts: 8
Posted: Sat, 2009-08-22 08:42
Any news on this?
I found 2 LR Gallery export plugins buth neither works with 2.3
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Mon, 2009-08-24 09:27
As far as I know mine works with LR 2.x (I used to use it with LR 2.3 before LR 2.4)
chandi
Joined: 2006-02-26
Posts: 5
Posted: Tue, 2009-08-25 22:03
Hi,
I am using the lastest version found on the website but it fails on some images and I don't know why.
Could you guys help me shed some light on the issue here.
In the logs I can clearly see when it works or when it fails :
Do you guys have any idea on what the problem would be ?
Would you need the complete log ?
Regards,
Chandi
chandi
Joined: 2006-02-26
Posts: 5
Posted: Wed, 2009-08-26 14:53
Sorry, my fault.
My Max POST size in PHP was 8MB. Larger pictures could not be updated!!
Regards,
Chandi
g00rek
Joined: 2008-10-22
Posts: 8
Posted: Thu, 2009-09-17 13:51
Ok, now my turn. I'm using Snow Leopard and LR 2.4.
The plugin worked like a charm unitl I changed hosting. I can easily upload to my old server (errors happened very rarelly) but cannot upload to the new one. But I do not know what exactly is the difference, what should I ask for? Maybe server config or something...
Now the interesting part. The plugin hangs on third or fourth photo but only... when I work on RAW files and try to export them. When I export files to JPGs, reimport them to gallery and export the JPG files, there is no problem at all!
Any ideas? :]
(I tried converting to DNG prior to export and it does not change anything...)
***
I tried exporting smaller photos (800x600). Nothing. Here's the log (2nd picture and 3rd - it got stuck on 3rd).
Ok, now my turn. I'm using Snow Leopard and LR 2.4.
The plugin worked like a charm unitl I changed hosting. I can easily upload to my old server (errors happened very rarelly) but cannot upload to the new one. But I do not know what exactly is the difference, what should I ask for? Maybe server config or something...
Well, that means that the plugin is still working so I would check that Gallery is still accessible from the GalleryRemote API. Check :
- that the GalleryRemote plugin is activated on your Gallery.
- check that the regular GalleryRemote client manages to connect to this server.
g00rek wrote:
Now the interesting part. The plugin hangs on third or fourth photo but only... when I work on RAW files and try to export them. When I export files to JPGs, reimport them to gallery and export the JPG files, there is no problem at all!
Any ideas? :]
(I tried converting to DNG prior to export and it does not change anything...)
Well, first there is one known problem in the POST request in the LR API, maybe that's it. Secondly, il may be related to a size limit on the server side : check your PHP config so that big file can be handled.
g00rek
Joined: 2008-10-22
Posts: 8
Posted: Thu, 2009-09-17 13:56
Ok, but the plugin should have nothing to do with RAW, am I right?
Lightroom converts the RAW to JPG and THEN tries to send it to server using the plugin.
The visible difference is that RAW export usually takes time (LR has to convert the file), while JPG export is quite quick. So maybe this is the problem? Some sort of timeout (plugin opens port, then tries to resize/convert and meanwhile something goes wrong?).
Sorry for my amateur language, I have no idea how this plugin/process works. Oh and by the way - good job!!!!
I run a WP, a MEnalto gallery and WPG2. With your plugin when I go somewhere it takes only an hour to write a blog, process pictures, upload them and link them to blog
If only this stuck thing did not happen - converting photos to JPG and reimporting them takes time
salutations
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Thu, 2009-09-17 14:05
g00rek wrote:
Ok, but the plugin should have nothing to do with RAW, am I right?
Lightroom converts the RAW to JPG and THEN tries to send it to server using the plugin.
The visible difference is that RAW export usually takes time (LR has to convert the file), while JPG export is quite quick. So maybe this is the problem? Some sort of timeout (plugin opens port, then tries to resize/convert and meanwhile something goes wrong?).
Sorry for my amateur language, I have no idea how this plugin/process works. Oh and by the way - good job!!!!
I run a WP, a MEnalto gallery and WPG2. With your plugin when I go somewhere it takes only an hour to write a blog, process pictures, upload them and link them to blog
If only this stuck thing did not happen - converting photos to JPG and reimporting them takes time
salutations
How do you export RAW files from the plugin ? I ask because it should not be allowed, it only exports JPEG files (and TIFF in the release that will be coming soon).
In the example you post, 2 JPEG files are generated. The first is OK, the second holds in the POST request. Looks very much like the bug described there : http://forums.adobe.com/thread/464557?tstart=0
g00rek
Joined: 2008-10-22
Posts: 8
Posted: Thu, 2009-09-17 14:09
Lapinoo wrote:
How do you export RAW files from the plugin ?
Well you just select a RAW file in LR and click export... normally it makes no difference (at least with other plugins like jFriedl ones). I usually work on raw files, I guess Lightroom converts them before export. And other config MUST be right, because it stucks at second, third photo... So the PHP size limits are also not an issue here...
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Thu, 2009-09-17 14:18
OK, you are not exporting RAW files, but JPEG files generated from the RAW files that you imported.
The files you import (RAW, JPEG, TIFF) are never the ones that get eported. LR takes the imported file, process it with all parameters you set and then creates a file (TIFF, JPEG, etc.) according to your export presets.
From a plugin perspective, it does not make any difference : the plugin processes files it receives from LR. In your case, all files are exported as JPEGs.
According to your log file, it is stuck during the sending of the file to Gallery. It really looks like the other bug I described which is in LR (and confirmed by Adobe). Right now, it is not fixed and I don't have any workaround.
g00rek
Joined: 2008-10-22
Posts: 8
Posted: Thu, 2009-09-17 14:40
But that's exactly what I said before:
"Lightroom converts the RAW to JPG and THEN tries to send it to server using the plugin"
But how come exporting JPGs DOES WORK while exporting RAW (I know they are converted in the process) DOES NOT??
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Thu, 2009-09-17 14:57
g00rek wrote:
But how come exporting JPGs DOES WORK while exporting RAW (I know they are converted in the process) DOES NOT??
Check the size of the generated JPEGs, maybe the ones coming from the RAW files are much bigger (export them as files with the same parameters).
wardie_j
Joined: 2008-10-17
Posts: 6
Posted: Wed, 2009-10-28 10:27
Hi Lapinoo,
I have just upgraded to 2.0.2 and whenever I try to export I get the below error
This plug-in’s post-processing task did not finish successfully.
Expected header 1 'field' sub-item to be a string, not nil
V2.0.1 is working with the same settings
LR2.5
Gallery2.3
Win XP Pro
Another_Matt
Joined: 2009-08-20
Posts: 40
Posted: Sun, 2009-11-15 00:24
Lapinoo, I really enjoy using your plugin with G2.3 but I noticed it doesn't work with G3 yet. Do you plan to update it soon?
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Sun, 2009-11-15 12:09
Another_Matt wrote:
Lapinoo, I really enjoy using your plugin with G2.3 but I noticed it doesn't work with G3 yet. Do you plan to update it soon?
Right now, Gallery 3 does not have anything like the Gallery Remote interface. It's something that is planned gor G3, but nobody has started working on such an interface.
For the moment, the only way to import pictures into G3 is through the Web interface, or using the migration module for G2.
I will make my plugin compatible with G3 once a implemtation of a complete remote protocole is available.
Lapinoo
Joined: 2004-05-08
Posts: 378
Posted: Sun, 2009-11-15 17:52
wardie_j wrote:
I have just upgraded to 2.0.2 and whenever I try to export I get the below error
Posts: 14
This plug-in works like a sharm!
Tree things that could improve the plug-in:
When selecting the upload album one have to scroll down a fairly long list of album names. If you dropped the "|" in front of album name listings I could start typing "L" to move to my first album starting with "L", example my "Lyonais" album.
The second improvement would be to have the pluging stay loged in after finish. Then I don't have to login again for my next export in the same LR session. Maybe this cannot be done due to LR, but would surey be nice.
Is it possible to do multiple (multithreaded) exports - meaning I can start export til one Gallery album, then start export to another before the first export has finnished.
Any of these improvements would be very much appreciated.
Pål
Posts: 9
Hi,
I ran into problems trying to upload photos with these plugins:
1. http://www.starway.org/blogs/Photographie/lightroom-vers-gallery and
2. http://sourceforge.net/projects/lr-to-gallery/
My setup is: Mac OS X 10.5.6, Lightroom 2.2 and my site is running on Gallery 2.24
I could export the photos via the plugin fine, but the thumbnails and the images in all sizes I've set are all broken (only 92x92!!!); however, I could download and view the original with the "Download photo in original format" link...
Anyone has any idea on this? Many thanks!!
Posts: 378
Well, if thumbnails are broken and photos were uploaded correctly, I would say that your graphic toolkit on Gallery is not configured correctly.
Those plugins just uploads the pictures (they seem fine in your case), then Gallery creates thumbnails and intermediate sizes with its graphic toolkit.
Check your G2 toolkit configuration.
Posts: 9
Well, I'm a bit confused... since I uploaded others with Gallery Remote on my PC without any problems...
I've ImageMagick, Gd and NetPBM installed and priority set in that order (ImageMagick > Gd > NetPBM). Which one will work in this case? Thanks!!
Posts: 378
Then maybe check the format you export your pictures from LR. Maybe they are too big (unlikely) or have another parameter set that prevents your graphic toolkit from working.
What you can try is :
- ask G2 to recreate thumbnails for this album and check if it works.
- go and look for the picture in g2data and check if it works better if you upload it from the web UI or from Gallery Remote
Posts: 9
Don't know what happened, but now the plugin just froze while saying "Uploading" and nothing has been uploaded to the site...
anyway to fix this? Thanks!!
Posts: 9
Hi there, last night I was trying to examine the log and couldn't find any in my "Home" directory (I'm using Mac OS X 10.5.6, LR 2.2 and Gallery 2.24). I then went to the plug-in manager and turned on the logging option to something other than "none". However, after I picked one and clicked "ok" to exit and went back to check the settings, the logging option was empty and I couldn't figured out which option was picked. Any ideas how to check if the logging feature is enabled? I'm still stuck on the uploading issue...
Any help would be much appreciated!!
Posts: 378
Hello,
This is a known problem with the Beta plugin for LR2.0
Good news, I fixed it in Beta 3 this last WE.
Try this new plugin and send me the log file (after you set the log level in the plugin manager)!
Posts: 378
Well, sometimes, for HTTP reasons, the plugin (this one and others) tend to freeze.
Try the Beta 3 of the plugin and restart.
But once again, your problem is kind of weird.
Posts: 9
Hi Lapinoo,
Thanks for the new Beta 3 plugin! Seems that the newer release works much better than the beta 2. I'll keep using this one for now.
Posts: 378
I finally published the new release for my plugin.
New features:
* Fully compliant with Lightroom 2.x SDK.
* Support for Gallery 1.x, Gallery 2.x and Jallery 1.x
* Available in English, French & German.
* Still user defined export of Lightroom metadata to Gallery.
You can find it there: http://www.starway.org/blogs/Photographie/lightroom-gallery/
Posts: 10
Hello, Excellent plug-in by the way.
I have tried this before in a previous version without any problems but now when I try to upload some files don't get uploaded and I get a "some files failed to upload correctly" followed by the file names. this happens with specific files. ie: when i export a batch, maybe photos 3 and 4 will not upload and then even if I try to upload them individually i get the same error. all the pictures in the batch are from the same camera, etc. and they are getting resized to 1920 (long edge setting) so size can't be a factor.
I believe I have the latest plug-in version (2.0.0 downloaded from starway.org).
Anyone else having this problem that could point me to a solution? I would very much appreciate it.
Thanks!
Posts: 378
Hello,
Can you tell me more about your problem ?
Lightroom version ?
OS used for Lightroom ?
Gallery version ?
Can you provide me with the log file (with LR 2.0, you can set the log level in the Plugin-Manager screen of Gallery) ?
Can you also provide me with the picture that fails ?
Thanks !
Posts: 10
Thanks for responding, sorry I didn't see this sooner.
The site is www.1peluffo.com and it runs gallery 2.3
Anyway, my problem happens on both of my computers (one runs XP and LR 2.3 and the other runs Vista and LR 2.3) and with different, and apparently random, files(i've tried many times). but the bottom line is that whenever I try to upload a series of pictures, a few don't make it through and i get the errors as per the example below.
from the XP machine this time, I just tried to upload 7 photos and I got "3 files failed to upload correctly"
on trying to upload the three missing photos, I got the same message and none made it. But the problem is not limited to these three files, I have tried uploading various sets of different photos from either computer with the same problem and random images not uploading. Since then I emptied out the gallery and tried again, with the above results.
I am attaching the log file that i got with my last upload.
Anything you can tell me to shed light on this would be great so thanks very much.
Nick
Posts: 10
UPDATE
I found the problem, I thought all my images were the same size but they weren't. It was the file size limit that was a problem.
Sorry for the neophite confusion; and, since it was not it's problem, even more kudos to your plugin.
Nick
Posts: 3
Thanks for the plugin, Lapinoo.
I downloaded the plug in from your french site and installed it a few days ago. It worked well for me at that time.
It has stopped working for me now.
I upgraded my Lightroom to 2.4 a few days ago and now it enables me to upload photos the first time, but on subsequent attempts, it gives me an error message.
I am using Mac OS X 10.5 and the latest version of Gallery (2.3). Your plugin version says 2.0.0 Beta 3.
When I try to upload the photos the for the first time after rebooting. It works like a charm.
Second time, it looks like it connects to the album, fetches the album list and then looks like it is trying to upload for a long time and finally comes back with an error saying - Unable to Export: An internal error has occurred: {string "GallerRemoteProtocol"}:332: attempt to concatenate local 'response' (a nil value)
The Plugin manager shows an error message as follows:
This plug-in’s post-processing task did not finish successfully.
GalleryRemoteProtocol:332: attempt to concatenate local 'response' (a nil value)
Do you think something is broken because I upgraded to Lightroom 2.4? Should I be doing something differently to make it work?
Your help will surely be appreciated.
Posts: 378
Hello,
I haven't tested the plugin with LR 2.4 yet. I'll give it a look tonight.
In the meantime, can you send me the log file (most verbose mode, don't worry for your password) of the plugin while you make it fail ?
Thanks is advance,
Posts: 3
Thank you for your quick reply.
Will send it to you today.
Posts: 3
Lapino,
I could not get to the photos yesterday.....looks like today and tomorrow and going to be a bit crazy too...but I will get to it over the weekend and send it to you by Sunday. Just wanted to keep you informed.
Thanks and regards,
Jeet.
Posts: 1
Lapinoo,
I have information about the hanging problem in LR->Gallery. It's in both "PostMultipart" and "Post"
I've used LR->Gallery on a few projects. I've kept up to date on both LR and the plugin. It was hanging for me, and wouldn't un-stick until I rebooted the computer. I needed to upload several thousand shots in many albums, so I couldn't stand that many reboots, or secondary exports.
I used "tcpdump" to evaluate the TCP messages between my mac (10.5) and my web server. I found the problem is a counter inside the TCP layer of the Adobe LUA engine. Here's how I described it to Adobe (case #0180990524):
And I quote:
"
When using LrHttp.post or LrHttp.postMultipart, the post transaction fails with the target website, because of invalid TCP header in
formation. This only occurs on large transfers, like multipart posts containing image files.
Using tcpdump command on Mac OS 10.5, I captured the header of the packets for a successful post, and a failed post.
Successful:
19:48:24.212750 IP Macintosh.home.56274 > perfora.net.http: P 1:382(381) ack 1 win 65535
0x0000: 4500 01a5 6116 4000 4006 72a4 c0a8 0102 E...a.@.@.r.....
FAILED:
19:38:12.580630 IP Macintosh.home.56240 > perfora.net.http: P 3983702875:3983703256(381) ack 3995041646 win 65535
0x0000: 4500 01a5 c23b 4000 4006 117f c0a8 0102 E....;@.@.......
In the failed case, note the VERY large counter in the first line after "P".
"
The problem is that at the TCP layer, the computers have to agree on what part of the message is being sent. In the first case, it is from byte 1 to byte 382. In the second case, it STARTS with part 3983702875, which is completely invalid. The web server ignores the packet as corrupted, and the upload hangs. My guess is that Adobe has an un-initialized variable in their LrHttp library.
Here's Adobe's response:
"
I understand that you would like assistance with LrHttp.post and LrHttp.postMultipart. Adobe does not provide support for these methods at this level. For free assistance with this, you may refer to the forums online: http://www.adobe.com/support/forums/
Status: Withdrawn
"
They don't want to accept that they have a bug in their library. (I didn't withdraw it, they closed it that way)
I first re-wrote the "GalleryRemoteProtocol.lua" to hand-generate the multipart message, and use "Post" instead of "PostMultipart". It too would hang.
Now, I have written a new "GalleryRemoteProtocol.lua" which uses a perl script as an image upload server. But it will only work on a Mac, because I didn't work on multi-platform support (and PC's don't have perl pre-loaded). Let me know if you'd like to review it as an alternative to this hanging problem.
Posts: 378
Interesting...
Have you submitted this problem in Adobe's forums?
Last time I had an issue, someone had a look at it.
Maybe, it will be tracked correctly (and fixed) if you post your tests on those forums.
I'll try to have a look at it a bit later (I don't have much time available right now).
Thanks for sharing you experience!
Posts: 8
Any news on this?
I found 2 LR Gallery export plugins buth neither works with 2.3
Posts: 378
As far as I know mine works with LR 2.x (I used to use it with LR 2.3 before LR 2.4)
Posts: 5
Hi,
I am using the lastest version found on the website but it fails on some images and I don't know why.
Could you guys help me shed some light on the issue here.
In the logs I can clearly see when it works or when it fails :
2009-08-25 16:51:25 -0400, TRACE Calling GalleryRemoteProtocol.getResponse( Key: status )
2009-08-25 16:51:26 -0400, TRACE Calling GalleryRemoteProtocol.uploadImage( Sanssouci, 7235, /var/folders/X4/X4Z8eLctEReX4QmLleZPa++++TI/-Tmp-/F391688A-4B0E-490F-A14E-03D056FA93F1/08_08_2009---16_00_30---EOS 5D Mark II23
91.jpg, )
2009-08-25 16:51:26 -0400, TRACE Calling GalleryRemoteProtocol.getGalleryRemoteURL( http://sanssouci.cequisepasseenregion.com )
2009-08-25 16:51:26 -0400, TRACE Calling GalleryRemoteProtocol.getGalleryURL( http://sanssouci.cequisepasseenregion.com )
2009-08-25 16:51:29 -0400, TRACE Calling GalleryRemoteProtocol.parseGalleryResponse( Raw Message )
2009-08-25 16:51:29 -0400, DEBUG Raw Message:
#__GR2PROTO__
status=301
status_text=No cmd passed
debug_user=chandi
debug_time=0s
auth_token=337636bd0739
Or when it works fine :
2009-08-25 16:51:29 -0400, TRACE Calling GalleryRemoteProtocol.getResponse( Key: status )
2009-08-25 16:51:31 -0400, TRACE Calling GalleryRemoteProtocol.uploadImage( Sanssouci, 7235, /var/folders/X4/X4Z8eLctEReX4QmLleZPa++++TI/-Tmp-/F391688A-4B0E-490F-A14E-03D056FA93F1/08_08_2009---16_53_35---EOS 5D Mark II23
93.jpg, )
2009-08-25 16:51:31 -0400, TRACE Calling GalleryRemoteProtocol.getGalleryRemoteURL( http://sanssouci.cequisepasseenregion.com )
2009-08-25 16:51:31 -0400, TRACE Calling GalleryRemoteProtocol.getGalleryURL( http://sanssouci.cequisepasseenregion.com )
2009-08-25 16:51:36 -0400, TRACE Calling GalleryRemoteProtocol.parseGalleryResponse( Raw Message )
2009-08-25 16:51:36 -0400, DEBUG Raw Message:
#__GR2PROTO__
status=0
status_text=Add photo successful.
item_name=7241
debug_user=chandi
debug_time=0,888s
auth_token=337636bd0739
We can see that the differences :
When it works :
Status =0
Status_text= add photo sucessful
Do you guys have any idea on what the problem would be ?
Would you need the complete log ?
Regards,
Chandi
Posts: 5
Sorry, my fault.
My Max POST size in PHP was 8MB. Larger pictures could not be updated!!
Regards,
Chandi
Posts: 8
Ok, now my turn. I'm using Snow Leopard and LR 2.4.
The plugin worked like a charm unitl I changed hosting. I can easily upload to my old server (errors happened very rarelly) but cannot upload to the new one. But I do not know what exactly is the difference, what should I ask for? Maybe server config or something...
Now the interesting part. The plugin hangs on third or fourth photo but only... when I work on RAW files and try to export them. When I export files to JPGs, reimport them to gallery and export the JPG files, there is no problem at all!
Any ideas? :]
(I tried converting to DNG prior to export and it does not change anything...)
***
I tried exporting smaller photos (800x600). Nothing. Here's the log (2nd picture and 3rd - it got stuck on 3rd).
item_name=6564
debug_user=g00rek
debug_time=0,2s
auth_token=43945e8c5ffd
2009-09-17 15:47:22 +0200, TRACE Calling GalleryRemoteProtocol.getResponse( Key: status )
2009-09-17 15:47:26 +0200, TRACE Calling GalleryRemoteProtocol.uploadImage( mikemary, 6562, /var/folders/hK/hKoNYHTNG-GOpragjMCjs++++TI/-Tmp-/37E2B119-9AFD-4D7C-919A-1DC1430C295A/DSC_9480.jpg, )
2009-09-17 15:47:26 +0200, TRACE Calling GalleryRemoteProtocol.getGalleryRemoteURL( fotold.mikemary.pl )
2009-09-17 15:47:26 +0200, TRACE Calling GalleryRemoteProtocol.getGalleryURL( fotold.mikemary.pl )
2009-09-17 15:47:26 +0200, TRACE Calling GalleryRemoteProtocol.parseGalleryResponse( Raw Message )
2009-09-17 15:47:26 +0200, DEBUG Raw Message:
#__GR2PROTO__
status=0
status_text=Add photo successful.
item_name=6568
debug_user=g00rek
debug_time=0,128s
auth_token=43945e8c5ffd
2009-09-17 15:47:26 +0200, TRACE Calling GalleryRemoteProtocol.getResponse( Key: status )
2009-09-17 15:47:30 +0200, TRACE Calling GalleryRemoteProtocol.uploadImage( mikemary, 6562, /var/folders/hK/hKoNYHTNG-GOpragjMCjs++++TI/-Tmp-/37E2B119-9AFD-4D7C-919A-1DC1430C295A/DSC_9482.jpg, )
2009-09-17 15:47:30 +0200, TRACE Calling GalleryRemoteProtocol.getGalleryRemoteURL( fotold.mikemary.pl )
2009-09-17 15:47:30 +0200, TRACE Calling GalleryRemoteProtocol.getGalleryURL( fotold.mikemary.pl )
Posts: 378
Well, that means that the plugin is still working so I would check that Gallery is still accessible from the GalleryRemote API. Check :
- that the GalleryRemote plugin is activated on your Gallery.
- check that the regular GalleryRemote client manages to connect to this server.
Well, first there is one known problem in the POST request in the LR API, maybe that's it. Secondly, il may be related to a size limit on the server side : check your PHP config so that big file can be handled.
Posts: 8
Ok, but the plugin should have nothing to do with RAW, am I right?
Lightroom converts the RAW to JPG and THEN tries to send it to server using the plugin.
The visible difference is that RAW export usually takes time (LR has to convert the file), while JPG export is quite quick. So maybe this is the problem? Some sort of timeout (plugin opens port, then tries to resize/convert and meanwhile something goes wrong?).
Sorry for my amateur language, I have no idea how this plugin/process works. Oh and by the way - good job!!!!
I run a WP, a MEnalto gallery and WPG2. With your plugin when I go somewhere it takes only an hour to write a blog, process pictures, upload them and link them to blog
If only this stuck thing did not happen - converting photos to JPG and reimporting them takes time
salutations
Posts: 378
How do you export RAW files from the plugin ? I ask because it should not be allowed, it only exports JPEG files (and TIFF in the release that will be coming soon).
In the example you post, 2 JPEG files are generated. The first is OK, the second holds in the POST request. Looks very much like the bug described there : http://forums.adobe.com/thread/464557?tstart=0
Posts: 8
Well you just select a RAW file in LR and click export... normally it makes no difference (at least with other plugins like jFriedl ones). I usually work on raw files, I guess Lightroom converts them before export. And other config MUST be right, because it stucks at second, third photo... So the PHP size limits are also not an issue here...
Posts: 378
OK, you are not exporting RAW files, but JPEG files generated from the RAW files that you imported.
The files you import (RAW, JPEG, TIFF) are never the ones that get eported. LR takes the imported file, process it with all parameters you set and then creates a file (TIFF, JPEG, etc.) according to your export presets.
From a plugin perspective, it does not make any difference : the plugin processes files it receives from LR. In your case, all files are exported as JPEGs.
According to your log file, it is stuck during the sending of the file to Gallery. It really looks like the other bug I described which is in LR (and confirmed by Adobe). Right now, it is not fixed and I don't have any workaround.
Posts: 8
But that's exactly what I said before:
"Lightroom converts the RAW to JPG and THEN tries to send it to server using the plugin"
But how come exporting JPGs DOES WORK while exporting RAW (I know they are converted in the process) DOES NOT??
Posts: 378
Check the size of the generated JPEGs, maybe the ones coming from the RAW files are much bigger (export them as files with the same parameters).
Posts: 6
Hi Lapinoo,
I have just upgraded to 2.0.2 and whenever I try to export I get the below error
Plug-in error log for plug-in at: C:\Program Files\Adobe\Adobe Photoshop Lightroom 2.5\Modules\Gallery.lrplugin
**** Error 1
This plug-in’s post-processing task did not finish successfully.
Expected header 1 'field' sub-item to be a string, not nil
V2.0.1 is working with the same settings
LR2.5
Gallery2.3
Win XP Pro
Posts: 40
Lapinoo, I really enjoy using your plugin with G2.3 but I noticed it doesn't work with G3 yet. Do you plan to update it soon?
Posts: 378
Right now, Gallery 3 does not have anything like the Gallery Remote interface. It's something that is planned gor G3, but nobody has started working on such an interface.
For the moment, the only way to import pictures into G3 is through the Web interface, or using the migration module for G2.
I will make my plugin compatible with G3 once a implemtation of a complete remote protocole is available.
Posts: 378
I think I have reproduced it and fixed it in the 2.0.3 release of the plugin.
You can find it at http://www.starway.org/blogs/Photographie/lightroom-gallery/lightroom-to-gallery-english/
Let me know if it does not fix it for you.
Posts: 6
I downloaded and installed 2.03 and it seems to be working well.
Thanks
Wardie