LR2: "Unexpected End of File" Error

  • Thread starter Thread starter Ken K
  • Start date Start date
Status
Not open for further replies.
K

Ken K

Guest
LR2 is giving me this error. Anyhting I can do about it?

I tried to restore from my backup but that file has the same issue.

Thanks
Ken
 
When and where is this happening??
To help us help you could you please take a moment to fill in your signature in the "userCP' that is found in the nav-bar at the top left of the page - thanks.
 
That's a corrupted file, sorry. It's most often a problem with the card reader or cable, but there are a number of hardware issues that can cause it.
 
I have had this problem with a previous computer, camera, and card. Initially I used a Nikon D4' with a SD card on a HP 32-bit Vista computer. Now I'm using a Dell 64Bit Vista and a Nikon D7'' camera with a Compact Flash without problems. Originally when I imported, every so many would have the corruption, so I deleted them. The rest looked and worked fine. Now, when I go back, most will not open and few are working. Any idea on how to prevent the complete loss of these photos?
 
Hi kimlaholk, welcome to the forum!

Corruption can happen in a variety of places, but it's usually hardware based. Are there any similarities between the 2 setups? Same card reader? An external hard drive? Same RAM?

Have you viewed the files in Develop module when you first imported them? I'm wondering if the embedded jpeg previews are ok but the raw data was corrupted, which you wouldn't see until LR's rendered its previews.

Right now, I'd make sure I had good backups, if nothing else.
 
"Unexpected end of file" errror

Hi all,
Just reporting that I am having similar problems with the 'unexpected end of file' (UEF) error. The problem first appeared when downloading directly from my D7'' using a 2GB Extreme III Sandisk CF card, importing to Lightroom 2.2 running on a unibody Macbook 2.4Ghz, 4GB RAM. In the first instance it affected a couple of images, and I thought it may have been the CF card (which I regularly reformat in camera).

Then yesterday after shooting a wedding I had the same problem again, this time with 2 seperate 8GB Extreme III cards being used in two D7'' bodies... In summary,

1. First import directly into Lightroom using non Nikon USB cable: lots of UEF errrors.

2. Direct import this time with Nikon USB cable: fewer errors.

3. import from D7'' to hard disk using OSX utility "image capture" and then import into lightroom. Relatively few but still some errors.

Importantly, different files with errors in each case, some import fine the first time and not the next and vice versa.

I suppose the next step is to try just copying the contents of the CF cards across using finder and then import, but I'm also keen to try another computer. I also did a (quick and incomplete) RAM test and found no problems.

I'd not seen this problem on my older computer (a Tecra M5) and based on the combinations of CF cards and camera bodies no longer believe it's an in camera/CF Card fault, but more likely something to do with the image transfer process.... Might also try a card reader rather than USB->Camera connection?

Anyway, any commentary/suggestions welcome... this is clearly a problem affecting a number of people on both Mac/Windows machines, and may not entirely be a Lightroom issue.

Regards
 
I would definitely try a card reader first.
 
Hi Geoff,
yes, thanks for your comments. Subsequent to my above post I downloaded one of the cards using a card reader with complete success - no corrupt files whatsoever (out of 324).

So, it's a bit annoying that the error occurs when trying to download via a perfectly legitimate means, but good to know there's a simple solution... although based on some other posts on the web it seems some others experience a similar problem with some card readers also...

cheers

Nick
 
Glad to hear they downloaded ok this time Nick. If it's just happening when downloading directly from the camera, and you've tried different cables, I'd suspect a camera problem. It's almost always a hardware issue.
 
Hi Victoria,
Whether it's a systematic problem I'm not sure but I had the same issue with two different camera bodies, but had not previously seen the issue downloading to a different computer...

whether it's the computer per-se or just some camera/cable/computer combinations I'm not really sure, although that's what I suspect.

cheers

Nick
 
Yes it is kind of weird as LR uses the OS to import.
Sometimes I use Image Capture but usually LR and through a card reader, never had a problem??
 
If you were Windows, I'd suggest checking for updated driver Nick? That could be the missing link I guess. Anyone any idea if the same would apply on Mac? I've never checked.
 
Hi Victoria,
Thanks for your response. To add some more information to the story, I had the opportunity to download the same images to another computer - in this case an iMac - directly into LR 2.3. In short, no problems whatsoever. So, it seems it's a problem with My MacBook.

Not sure whether it's hardware/software or not though, nor whether it's worth following up. It also seems that on successive reopenings of LR that more and more images began to appear corrupt!

I've been downloading to a portable card reader/hard drive, but will try a card reader connected directly to my MacBook next.

thanks

Nick
 
Well it's good to hear you're gradually narrowing it down Nick. Keep up the detective work!
 
It sounds as if there may be a lack of power issue here.
 
Seems to happens only on D7'' from reading the thread.
Question? Are the D7'''s at the latest software release from Nikon.

Long shot but may also be in the way Nikon implemented the USB protocol in the D7''.

As for myself I always use the card reader to transfer the files.
And have purchased the best I could find (The Lexar UDMA pro card reader)
 
A further update - this is turning into a well drawn out investigative process, but I might have it. After further problems transferring some additional images, it occurred to me that I have been storing images on an NTFS formatted partition on my macbook, being accessed from OSX via the Paragon NTFS driver...

In their documentation Paragon quote 'near' native file access speeds for OSX... So, I reimported the images from the card reader I'd been using (same USB port also) to the OSX partition, and imported them into lightroom... so far, no problems on images transferred via this method, (211 D7'' nef files)... on the last import I had several errors among these files.

So, I reckon this could be the problem - the download also seemed much quicker! Might be time to say goodbye to the NTFS partition - I'm not using XP that much anyway...

Hope this helps others who may experience similar probs.

cheers
 
Nice job telebond! And thanks for reporting back too.
 
A final update (I hope)... I thought I should post an update as it seems I have tracked down the problem. I contacted Paragon, the company who make Paragon NTFS, and questioned whether their driver could be the cause of the "unexpcted end of file" errors if files are stored on an NTFS drive... They sent me an updated version of the NTFS driver 6.5.17 (I was using 6.5.15), and since installing it I've not received any such errors.

So, fingers crossed, this was the problem, and the new driver fixes it permanently. Thanks to those here for their help and to Paragon for improving their product.
 
That is interesting, thanks for the update
 
Status
Not open for further replies.
Back
Top