The infamous Lightroom "wrong format()" error
kodachi614
Registered Users Posts: 8 Beginner grinner
Lightroom 3, Jeffrey Friedl's SmugMug plugin, ahhhhnd, you guessed it, getting intermittent "wrong format()" errors when trying to update photos. I'm finding that if I click Publish enough times, eventually it'll get to the end, but it's really depressing to have to manually babysit this thing, even for the only-a-few-hundred-photos I have online right now. As I roll more out... ouch.
Googling around, I see a number of old threads acknowledging a problem, then saying it's fixed, but not much recent... I dunno, is it just me? What _is_ the current state of the world with respect to this issue?
(For SmugMug's info: I'm a Power trial user. I'm likin' what I see of SmugMug, with this _very_ notable exception... )
More details:
Lightroom 3, MacOS X 10.6.4 on a MacBook Pro i5
yeah, I'm pushing JPG in sRGB
yeah, the plugin log indicates that the files are _way_ under 12MB
(yeah, I have enhanced logging turned on in the plugin)
yeah, new photos seem to work fine, it's just updating photos
yeah, I'm changing metadata (accidentally stripped the date taken at first! :P )
yeah, I tried changing the export resolution and republishing to see if it was really metadata-changing-with-no-change-in-the-file; didn't help
yeah, I'm seeing intermittent timeout errors too, but the plugin seems able to ride through those
Any information appreciated -- thanks guys!
Googling around, I see a number of old threads acknowledging a problem, then saying it's fixed, but not much recent... I dunno, is it just me? What _is_ the current state of the world with respect to this issue?
(For SmugMug's info: I'm a Power trial user. I'm likin' what I see of SmugMug, with this _very_ notable exception... )
More details:
Lightroom 3, MacOS X 10.6.4 on a MacBook Pro i5
yeah, I'm pushing JPG in sRGB
yeah, the plugin log indicates that the files are _way_ under 12MB
(yeah, I have enhanced logging turned on in the plugin)
yeah, new photos seem to work fine, it's just updating photos
yeah, I'm changing metadata (accidentally stripped the date taken at first! :P )
yeah, I tried changing the export resolution and republishing to see if it was really metadata-changing-with-no-change-in-the-file; didn't help
yeah, I'm seeing intermittent timeout errors too, but the plugin seems able to ride through those
Any information appreciated -- thanks guys!
0
Comments
After awhile of clicking "Publish" and having it get one or two photos in before bailing, I went the Draconian route: deleted all the photos from Smugmug, told Lightroom to mark 'em all for republishing, and tried again. Ran two galleries in parallel with nary a hitch.
This would certainly tend to imply that there is still a significant bug around uploading. <cough>
I noticed a couple of other interesting things, though:
Put all that together, read between a few lines, and I start feeling that there's some expensive thing that SmugMug does on receiving an image that runs asynchronously when adding a new image, but is forced to be synchronous when updating an image.(*2) Hey SmugMug, any comment? I'm resigning myself to deleting before republishing, but, ew. That just ain't right!
(*1: For the record, yes, I do indeed have the kind of experience in computing that this statement implies, please let's not get sidetracked by whether or not I can tell if my local systems are doing anything. )
(*2: My gut feel is that the expensive thing is MD5ing the image: on update, you'd probably want the MD5 in order to determine whether you have to regenerate scaled and sharpened images. But I can't think of any reason you'd treat an update any differently from an initial upload there – a properly authenticated client is telling you to replace the image either way; they shouldn't have to wait for you to decide what that entails.)
For what it's worth, I made changes to about 10 files today and started a "publish" to both Zenfolio and to Smugmug at the same time using Jeffrey's plugins. The Zenfolio plugin pegged the network while it was uploading the files and completed successfully without any hiccups. The Smugmug upload took about four times as long, with one timeout message in the middle. Watching my router blink away, it looks like there are long stretches of time where nothing much is happening, consistent with kodachi614's observations. At least this time I didn't get any "Wrong Format()" messages that abort the upload, but it's clear to me who "wins" here.
Edit: I just edited a single photo and uploaded to both services. They were both neck-and-neck until I got the "finished" message for Zenfolio and Smugmug sat around for 30 seconds or so before giving me a timeout. It tried again to upload the whole file and then gave me the "Wrong Format()" message. Sigh.
I wonder if the long delays are in some way due to the "Smugmungous" image option that I have enabled. Could it be generating the larger image in preparation for replacing it during the upload process? It looks like Zenfolio takes the images as fast as my network can provide them.
Rob
DId you try the new SmugMug Publish in LR3?
Portfolio • Workshops • Facebook • Twitter
Yes, I have, and I apologize for the snarky remark. It was very frustrating last night.
In terms of uploading files for the first time, both Smugmug and Zenfolio are about the same speed (pretty zippy). When replacing files, either last night at home, or tonight at my office, Zenfolio maintains that same level of performance, but the Smugmug update *drags*. I'm not sure what's going on in the background, but it's taking *forever* to update the same 10 files on Smugmug using a fast corporate network. In the end, one of the Smugmug updates failed and two timed out (based on a dialog at the end of the "publish").
To put some numbers to it, I re-ran the test and timed it. Updating 10 files to Zenfolio took 4 minutes and completed successfully. For Smugmug, using the native Lightroom 3.2 Publish Service, it took 9 minutes and two of the images timed out.
The Smugmug gallery that I'm using to test is "Test" in my account, for what it's worth.
Rob
Thanks,
Rob
Portfolio • Workshops • Facebook • Twitter
I will write this all down in response to the smuggy heroes on my ticket number but wondered if anyone else had noticed this. Next stop will be to my ISP but LR to facebook integration works sweetly (yes I know the image sizes are a lot smaller but even so) so I am kind of suspecting something on the smug end... reinforced by my total failure to get the jfriedl plugin to work with wrong format errors
I have had a few of my users report this same error when performing a replace - upload always seems to be fine. Sometimes I see a timeout (I have increased the timeout value which may help) and sometimes the Wrong Format error.
It would be really nice to confirm that this is a SmugMug problem and not something that I am doing in the plugin.
Cheers
Richard
Hi Andy, sorry for taking so long to answer here. I, too, wasn't able to devote much time to this for some time. At this point, though, I've upgraded to Lightroom 3.2 and tried the plugin that ships with Lightroom.
The short answer is that neither plugin does what it should.
Both will upload to an empty gallery. However, the ships-with-Lightroom plugin (does this have a name? I'm going to call it SwLR) seems to leave all the photos "Marked for Republishing" rather than "Published". Jeffrey Friedl's plugin (which I'll call JF) ends up with everything marked "Published", as one would expect.
Neither can update photos in situ. In general, JF gives timeouts and wrong format errors, where SwLR usually just fails silently (it occasionally logs timeouts too).
Your support ticket #105864 has a lot more. While the Support Heroes have been polite and professional, and are clearly trying to help, I have to confess that I'm getting frustrated because it seems to me that we're past the point where the developers need to be directly involved to sort this out.
Actually Lindy's latest reply may be starting down the right path. I'll let you know in the morning when the Draconian re-exports finish and I can make a better test.
And he is. I'll be sure he sees your update, thanks.
Portfolio • Workshops • Facebook • Twitter
Great!
So the latest goes like this. Lindy the Support Hero pointed out:
I'd read about this, of course, when starting to set up SwLR. Didn't think much of since I wasn't trying to update photos that I'd updated from JF, or at least I didn't think I was. After Lindy pointed it out again, I thought harder about it and realized that I could come up with a couple of scenarios where the plugin might be getting confused about what it owned and what it didn't.
To rule that out I went the very Draconian route: I deleted all of my non-smart galleries from SmugMug, deleted all the galleries from SwLR, and then completely wiped the settings for JF, so it's not even in the picture any more. Then I set up a couple of galleries using SwLR and hit Publish.
Doing both galleries in parallel, I never got a fully-succesful publish. I hit Publish, it grinds away for awhile, and eventually pops up a dialog warning me of errors. Sometimes the errors include timeouts, sometimes just "couldn't upload", sometimes both. No further information seems to be available. When it's done, all the photos are still "Modified Photos to Re-Publish". Hit it again, exactly the same behavior.
I just tried doing only one of the two galleries, and aha, that actually got to the end with no errors, but all the photos are still "Modified Photos to Re-Publish." Repeating that gives me the same behavior. Next step will be deleting everything again, and combining the two galleries into one to see if the number of photos matters.
Obviously this whole thing raises several questions.
- Is publishing multiple galleries simultaneously supposed to work?
- Where is there any information about what fails when an upload fails?
- Why are all the photos left as "modified" instead of "published"?
As it stands, I may have a way to at least start using the thing, by dumping everything into a single gallery on SmugMug, using Smart Galleries for people to look at, and suffering with Lightroom re-exporting several hundred images every time I want to add a new one. Definitely a step in the right direction, but equally definitely not where I want to end up.Also realize that I'm an exceptional case here: I care nothing for deleting everything in SmugMug and starting over, at this point, because I'm new to SmugMug, Lightroom is my one true master image repository, and I haven't published gallery URLs to the world. So what process exactly is SmugMug expecting an established SmugMugger to follow to start using the SmugMug Lightroom plugin?
At this point I have one gallery with 496 photos. The very first time I tried to publish, two photos had a local error (the underlying image had been moved and not relinked) so that failed. Publishing never succeeded after that. Trying to republish was just godawful slow, and invariably failed with indeterminate errors -- mostly "upload timed out" or "upload failed", but one "incomplete file received." Publishing twice in a row yielded disjoint sets of error files, and the plugin gives no useful information about these errors.
After fixing the local errors, I deleted the gallery - again - before recreating it and publishing again. It ran straight through, no errors at all, and left every single one of those 496 photos in "Modified Photos to Re-Publish". I don't see any point in trying it again until I hear something substantive from SmugMug's developers. I have never, under any circumstances, seen the plugin you guys are shipping actually work. Full stop, end of story. (Yes, the images do get to SmugMug, but the point of the Lightroom plugin is that it should end up with Lightroom in a correct state too. This one ends up in a state where you can endlessly publish and never finish, with each attempt taking hours and throwing random errors while doing utterly pointless work.)
Andy, in candor, all of this experience leaves me feeling that SmugMug has a serious unaddressed problem with updating images, that the Lightroom plugin you guys ship is really beta quality, and that the wonderfully-responsive Support Heroes just aren't getting backstopped by anyone in development. These are big disappointments. What can I do to help get them fixed? At the least I'd expect that development would be really interested in getting extra info from a 100% reproducible failure case actually happening in the field...
OK, so I owe SmugMug a big apology for part of this.
I decided to try publishing to the hard drive and using the SmugMug uploader. Imagine my surprise when publishing to my hard drive resulted in every photo marked "Modified Photos to Re-Publish." After some looking, DGrin's "The SmugMug and Lightroom 3 Publish Services Thread" (http://www.dgrin.com/showthread.php?t=176963&page=8) led me to try unchecking "Write keywords as Lightroom hierarchy" – and it worked, both to my hard drive and to SmugMug.
So Andy and the rest of SmugMug: my apologies for blaming you there. That's clearly not your bug.
On the other hand, it is definitely something that the Support Heroes need to be trained up on. I'm going to write to them as well, and then move to "The SmugMug and Lightroom 3 Publish Services Thread" for further discussion of the abysmal SmugMug update performance, since that thread seems more active.
End result:
borealphoto.smugmug.com
Hi Erick, can you put it here http://dropbox.yousendit.com/SmugMug and put ATTN: Andy ? I'll have a look.
Portfolio • Workshops • Facebook • Twitter
Is there any additional info I can provide or tests to run that might help the people looking into it? I try to run through some of the things he described in his post to see if its exactly the same as well (I'm in IT, so this type of stuff doesn't phase me).
Thanks,
Brian
Whats the status of this problem?
Thanks
Paul
www.Christopher-Graphics.com