Unable to run Audacity 2.1.0 with Os X network account

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.
kozikowski
Forum Staff
Posts: 69357
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by kozikowski » Fri Apr 03, 2015 1:20 am

only the user data ("~/username" to clarify), like the Audacity preferences, is stored and accessed through the network

Without getting down to the fine details, Audacity doesn't understand network delays and management (yet). If it needs to access any part of the application over the network then that portion becomes subject to critical timing. It's possible you got lucky with the other version.

Koz

Leland
Developer
Posts: 174
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Leland » Fri Apr 03, 2015 1:36 am

TwinOak wrote:Leland, I will check this out after the Easter holidays, but I have no memory at all seeing an .audacity.sock file in "application support/audacity" on my regular (working) mobile account, which is configured to show hidden files.
A quick google shows no sign that SL-Server wouldn't support sock files. My knowledge about them is very limited though, this is the first time I'm made aware that they exist.
You would search for Unix domain sockets. They are for IPC between processes running on the same machine. I'll also poke around to see if I can get a definitive answer.

Enjoy the holiday.

Leland

Leland
Developer
Posts: 174
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Leland » Fri Apr 03, 2015 2:09 am

TwinOak wrote:Leland, I will check this out after the Easter holidays, but I have no memory at all seeing an .audacity.sock file in "application support/audacity" on my regular (working) mobile account, which is configured to show hidden files.
A quick google shows no sign that SL-Server wouldn't support sock files. My knowledge about them is very limited though, this is the first time I'm made aware that they exist.
I couldn't find a definitive answer, so I tested it myself. While I don't have OSX Server, what I try to pass off for a brain kicked in and I realized that I can do AFP sharing between two clients...DOH!

Anyway, as suspected, it is failing when attempting to create the socket. Which, after thinking about it, makes sense because Unix domain sockets are meant to be used within a single host.

I don't see a workaround for you unless you want me to build you a private version that relocated the socket file to the users "temp" directory. I assume that would be on the local filesystem???

Leland

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Gale Andrews » Fri Apr 03, 2015 5:20 pm

Thanks for looking into this, Leland.
Leland wrote:as suspected, it is failing when attempting to create the socket. Which, after thinking about it, makes sense because Unix domain sockets are meant to be used within a single host.

I don't see a workaround for you unless you want me to build you a private version that relocated the socket file to the users "temp" directory.
As I understood it, the original plan was to put the socket file in the user's temp directory http://bugzilla.audacityteam.org/show_b ... id=202#c13 . Did we change that because we're planning to move the lock file into Audacity's configuration directory?

Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Leland
Developer
Posts: 174
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Leland » Fri Apr 03, 2015 5:48 pm

Gale Andrews wrote:Thanks for looking into this, Leland.
Leland wrote:as suspected, it is failing when attempting to create the socket. Which, after thinking about it, makes sense because Unix domain sockets are meant to be used within a single host.

I don't see a workaround for you unless you want me to build you a private version that relocated the socket file to the users "temp" directory.
As I understood it, the original plan was to put the socket file in the user's temp directory http://bugzilla.audacityteam.org/show_b ... id=202#c13 . Did we change that because we're planning to move the lock file into Audacity's configuration directory?

Gale
At the time, the only reason for doing so was so that it would be as easily usable by other users. The Audacity data directory did the same thing, but we now know that there's a more concrete reason to put the socket file in the user specific temp directory.

Leland

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Gale Andrews » Fri Apr 03, 2015 6:32 pm

Leland wrote:
Gale Andrews wrote:Thanks for looking into this, Leland.
Leland wrote:as suspected, it is failing when attempting to create the socket. Which, after thinking about it, makes sense because Unix domain sockets are meant to be used within a single host.

I don't see a workaround for you unless you want me to build you a private version that relocated the socket file to the users "temp" directory.
As I understood it, the original plan was to put the socket file in the user's temp directory http://bugzilla.audacityteam.org/show_b ... id=202#c13 . Did we change that because we're planning to move the lock file into Audacity's configuration directory?

Gale
At the time, the only reason for doing so was so that it would be as easily usable by other users. The Audacity data directory did the same thing, but we now know that there's a more concrete reason to put the socket file in the user specific temp directory.

Leland
So if we don't need the socket file to be in the same directory as the lock file, it seems we should actually go back to putting the socket file in the user specific temp directory.

I "think" TwinOak is saying that the chosen Audacity temp folder is actually on the local computer and not being read over the network. But if it was chosen to put the Audacity temp folder where the ~/username is (on the network, as I understand it) then it would presumably still fail.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Leland
Developer
Posts: 174
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Leland » Fri Apr 03, 2015 10:08 pm

Gale Andrews wrote:
Leland wrote:
Gale Andrews wrote:Thanks for looking into this, Leland.
Leland wrote:as suspected, it is failing when attempting to create the socket. Which, after thinking about it, makes sense because Unix domain sockets are meant to be used within a single host.

I don't see a workaround for you unless you want me to build you a private version that relocated the socket file to the users "temp" directory.
As I understood it, the original plan was to put the socket file in the user's temp directory http://bugzilla.audacityteam.org/show_b ... id=202#c13 . Did we change that because we're planning to move the lock file into Audacity's configuration directory?

Gale
At the time, the only reason for doing so was so that it would be as easily usable by other users. The Audacity data directory did the same thing, but we now know that there's a more concrete reason to put the socket file in the user specific temp directory.

Leland
So if we don't need the socket file to be in the same directory as the lock file, it seems we should actually go back to putting the socket file in the user specific temp directory.
Yepper, that's my take on it as well.

Leland
Gale Andrews wrote:I "think" TwinOak is saying that the chosen Audacity temp folder is actually on the local computer and not being read over the network. But if it was chosen to put the Audacity temp folder where the ~/username is (on the network, as I understand it) then it would presumably still fail.
Last edited by Leland on Fri Apr 24, 2015 4:51 pm, edited 2 times in total.
Reason: Fixed quote tags (I think showing what Leland was saying yes to).

TwinOak
Posts: 20
Joined: Mon Mar 30, 2015 10:59 am
Operating System: Please select

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by TwinOak » Sat Apr 04, 2015 9:06 am

Gale Andrews wrote:
Leland wrote:
Gale Andrews wrote:Thanks for looking into this, Leland.
Leland wrote:as suspected, it is failing when attempting to create the socket. Which, after thinking about it, makes sense because Unix domain sockets are meant to be used within a single host.

I don't see a workaround for you unless you want me to build you a private version that relocated the socket file to the users "temp" directory.
As I understood it, the original plan was to put the socket file in the user's temp directory http://bugzilla.audacityteam.org/show_b ... id=202#c13 . Did we change that because we're planning to move the lock file into Audacity's configuration directory?

Gale
At the time, the only reason for doing so was so that it would be as easily usable by other users. The Audacity data directory did the same thing, but we now know that there's a more concrete reason to put the socket file in the user specific temp directory.

Leland
So if we don't need the socket file to be in the same directory as the lock file, it seems we should actually go back to putting the socket file in the user specific temp directory.

I "think" TwinOak is saying that the chosen Audacity temp folder is actually on the local computer and not being read over the network. But if it was chosen to put the Audacity temp folder where the ~/username is (on the network, as I understand it) then it would presumably still fail.


Gale
To answer the question and clarify: we do not change the setting for the temp folder so it gets created in the default location on the local drive in all scenarios above.

I'm very impressed and grateful that you're taking the time, thanks a bunch!
Alexander

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by Gale Andrews » Sat May 16, 2015 1:08 pm

Leland has moved the socket file to the temp dir https://github.com/audacity/audacity/commit/44900e1.

If you want to try it, it should be in the latest nightly build from the top of http://www.audacity.homerow.net/index.p ... order=desc.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

TwinOak
Posts: 20
Joined: Mon Mar 30, 2015 10:59 am
Operating System: Please select

Re: Unable to run Audacity 2.1.0 with Os X network account

Post by TwinOak » Wed May 20, 2015 1:35 pm

Nice! Can hopefully test this tomorrow, thanks!

/A

Post Reply