Error when saving changes in Photoshop

  • Thread starter Thread starter junkmyfunk
  • Start date Start date
Status
Not open for further replies.
J

junkmyfunk

Guest
I have LR 2.3 and CS4 on OSX 1'.5.7. Some of my photos are stored on my local drive and the majority are stored on a network drive (an AirDisk connected to a Time Capsule).

When working with files that are on my local drive, I can 'Edit in Photoshop' and save changes and they are shown in LR fine. However, when trying to edit files in Photoshop that are stored on my network drive, when I try and save changes I get the error:

"Could not save, the file was already in use or was left open"

I am able to 'Save as' in PS and save the file in to the same folder on the network drive that LR is using, so it doesn't seems like a permissions issue (obviously this doesn't put the changes back into LR though).

This is pretty frustrating - any help would be much appreciated.
 
junk, I'll just say welcome to the forums, and wait for the Mac folks to contribute.

I do know that 'Edit in PS ...' is one of the most problematic areas we address, and running off a network is likely just complicating that. I expect something is failing to release the OS file open lock on the network share, but .....
 
This is most likely a network file sharing protocol issue. There are settings in protocols like NFS that allow locking of files across shares but I have no idea how the Air Disk handles this.

I see this error quite a lot with NFS on Linux servers when the lock daemon isn't running on the host that is sharing the files.
 
Thanks very much for the warm welcome and quick replies...

It does appear to be a problem with network file-sharing protocols but I'm pretty sure the problem lies with the way LR is working. When I choose 'Edit in PS' in LR and select 'edit a copy' a new file is immediately created on the network drive and opened in PS, however I cannot save the changes. If I go to PS, select 'open' and browse the network drive and open this new file (xxxx-Edit.jpg), I get the same error when trying to save the changes. However, if I close LR and again open this file directly in PS I am able to save the changes, so it seems LR is locking the files it sends to edit in PS.

I suppose LR needs some way to know when the changes in PS are saved so it can bring them back in to the catalogue but it's not working properly on my setup - which is a bug in my books.

What do you guys think?
 
I'm not sure what I think. Clearly something's going wrong, and as you say it might be Lr. On the other hand, Lr is not recommended for a networked environment, so it's hard to fault it having problems with an off-label use. (I'm working from general impressions, and I don't have all the marketing stuff in front of me, so feel free to correct me.) Should it work on a network? Heck yes, but did Adobe promise this version would work on a network? I don't think so.

As I said, I'm of two minds on this, but since you asked, my two cents worth......
 
this is a classic NFS locking issue. When you open the file in one app at a time it is fine. When you try to open it in both (which is effectively what is happening) you get problems. Not really a LR issue at all.
 
I think this is more of a LR issue than general network issue. I've tested it against several different network shares (XP via SMB, Linux via NFS, another Mac via AFP) and the behavior is identical.

Is there a workaround where we could force LR to save the edit file to the local HD rather than the same loc as the original? If not, I'll just have to remember to move that file to the local HD prior to editing it in an external program.
 
Hi nosidam, welcome to the forum!

Export would allow you to save to a location of your choice, and you could check 'add to catalog' and 'open in Photoshop' to get the same kind of process.
 
[quote author=nosidam link=topic=6836.msg5'241#msg5'241 date=12487898'4]
I think this is more of a LR issue than general network issue. I've tested it against several different network shares (XP via SMB, Linux via NFS, another Mac via AFP) and the behavior is identical.
[/quote]

SMB, NFS & AFP all treat locking in the same way so I would still be surprised if it is a LR issue. There are options when using NFS that allow the locking to occur and I use them on some of our systems but it does seem to impact performance.

here is an example but I haven't tested it with LR as I don't use NFS at home.

mount -o hard,rw,noac,rsize=32768,wsize=32768,suid,proto=tcp,vers=3 -t nfs prod:/u'2/backup /backup

noac & hard are the two options that you need to investigate. You also have to have the NFS lock daemon running on the NFS host.
 
[quote author=Victoria Bampton link=topic=6836.msg5'258#msg5'258 date=1248797815]
Hi nosidam, welcome to the forum!

Export would allow you to save to a location of your choice, and you could check 'add to catalog' and 'open in Photoshop' to get the same kind of process.
[/quote]

Thanks, long time lurker, finally found a need to post.

Yeah, that would work, but it's not an elegant solution when using plug-ins like Silver Efex. It's better than nothing, though. Thanks.
 
Yeah, true, but save the different export settings for each of the programs as export presets and they'll all be available from the right click menu, which may help.
 
Status
Not open for further replies.
Back
Top