Error locking temporary folder

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
pemercier
Posts: 10
Joined: Tue Aug 01, 2017 8:48 pm
Operating System: macOS 10.15 Catalina or later

Error locking temporary folder

Post by pemercier » Tue Aug 01, 2017 8:56 pm

Hello,

We're having some issues with Audacity in a school lab environment.

These are network accounts on El Capitan machines. Local accounts have no problems launching Audacity, but network accounts (which all the students are) receive a pop up saying that there was an error locking the temporary folder. No lock file is created in the temporary folder when this occurs, and the application quits when selecting "Yes" to launch the Audacity anyway.

Any help would be greatly appreciated,
P

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Error locking temporary folder

Post by kozikowski » Tue Aug 01, 2017 9:20 pm

We should wait for another elf, but I know Audacity doesn't do well across a network. It doesn't understand network management and delays.

Koz

pemercier
Posts: 10
Joined: Tue Aug 01, 2017 8:48 pm
Operating System: macOS 10.15 Catalina or later

Re: Error locking temporary folder

Post by pemercier » Wed Aug 02, 2017 12:35 pm

Hehe, fair enough.

We currently have it running without issues on the same machines in Mavericks on those network accounts, but El Cap/Sierra is a no go so far. Hopefully one of those elfs will have a good suggestion or two ;)

Thanks for taking the time to reply,
P

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Error locking temporary folder

Post by billw58 » Wed Aug 02, 2017 1:32 pm

I have posted this question to the developers mailing list but so far no concrete answers.

I'll be away for a couple of days, so apologies for the delay in getting an answer for you.

-- Bill

pemercier
Posts: 10
Joined: Tue Aug 01, 2017 8:48 pm
Operating System: macOS 10.15 Catalina or later

Re: Error locking temporary folder

Post by pemercier » Wed Aug 02, 2017 1:55 pm

No worries. Much appreciated. Thanks Bill.

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Error locking temporary folder

Post by billw58 » Fri Aug 04, 2017 12:42 am

It appears no-one in our support or developer community has experience with Mac network accounts.

You say the Mavericks machines work but the El Cap and Sierra machines don't. Is there any way to check where the lock file is, and then check the permissions of the folder(s) it resides in, then change the El Cap/Sierra permissions to match the Mavericks permissions?

With a local account, and using Audacity 2.1.3 (you are, aren't you?) the lock file is in ~/Library/Application Support/Audacity/Session Data and is called "audacity-lock-<yourUserName>".

I don't know where this would be with a network account.

This looks like a permissions issue (sorry if I'm stating the obvious), so examining the differences in permissions in the two cases may help solve the problem.

-- Bill

cyrano
Posts: 2629
Joined: Fri Apr 17, 2015 11:54 pm
Operating System: macOS 10.13 High Sierra

Re: Error locking temporary folder

Post by cyrano » Mon Aug 07, 2017 11:43 am

What kind of server are the network accounts on? OSX with the server app? Linux? Windows?

Between Mavericks, El Capitan and Sierra, Apple depreciated SMB1 and AFS. Authentication is different too. You might need to look into that on the server side.

I'm sorry it's not a real solution. I strictly avoid network storage when doing audio.

pemercier
Posts: 10
Joined: Tue Aug 01, 2017 8:48 pm
Operating System: macOS 10.15 Catalina or later

Re: Error locking temporary folder

Post by pemercier » Mon Aug 07, 2017 3:02 pm

Thanks Bill, I'll check permissions once again. During testing I did see the lock file being created in the appropriate directory.

Hi Cyrano, I think that you just may be onto something. I tested Audacity with a new 5.3.1 server and the network accounts had no issues. It seems to be related to our main server which is running an older version.

Thanks for the suggestions.

cyrano
Posts: 2629
Joined: Fri Apr 17, 2015 11:54 pm
Operating System: macOS 10.13 High Sierra

Re: Error locking temporary folder

Post by cyrano » Mon Aug 07, 2017 5:13 pm

Planned obsolescence by Apple...

Well, sometimes it's needed. Sometimes it's wanted :D

pemercier
Posts: 10
Joined: Tue Aug 01, 2017 8:48 pm
Operating System: macOS 10.15 Catalina or later

Re: Error locking temporary folder

Post by pemercier » Wed Aug 09, 2017 12:53 pm

Ok. This issue does not occur on 5.3.1 server network accounts. This must be related to our older servers. We're about to upgrade them so I won't be troubleshooting the issue further however.

Thanks for the help.

Post Reply