2.1.2 on 10.10.5 won't launch after upgrade [SOLVED]

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
Baylink
Posts: 136
Joined: Tue Jan 27, 2015 2:13 am
Operating System: Please select

2.1.2 on 10.10.5 won't launch after upgrade [SOLVED]

Post by Baylink » Sun May 01, 2016 4:10 pm

Ok, it was upgrade time -- a batch of 320kbps MP3's wouldn't batch-import reliably (later ones came in as flatline, even though they would import properly as a single file import) -- and I wasn't on the current release.

Grabbed the 2.1.2 dmg, opened it, dragged, chose Merge (which might have been a bad idea; if it matters, the background image in the DMG ought to be changed to say so), and then I went into a loop:

First time: Launches, no system errors about Gatekeeper as in my earlier posting, dies with no message.

Second time: Launches, gives a dialog box about the temp directory being locked (without saying where it thinks that is, about which I will RFE later), dies with, otherwise, no message.

If I manually remove the lock file in the tempdir, we go back to First time. :-)

I redid the drag-install, wanting to choose replace, but I didn't get the choice. Same results.

So I renamed the folder under Applications to 2.1.0-Audacity and did what I assumed was a clean drag-install from the DMG. Still the same results.

ISTR there's somewhere I can find out why it thinks it's dying, but I cannot recall where that is. Can anyone tip me off?
Last edited by Baylink on Mon May 09, 2016 2:33 am, edited 2 times in total.

Baylink
Posts: 136
Joined: Tue Jan 27, 2015 2:13 am
Operating System: Please select

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Baylink » Sun May 01, 2016 4:12 pm

Two clarifications:

I didn't do the TempDir mod in the pinned post as I have it set to my own specific location in the root of a partition with enough space, and that's where it's been locking.... hey; how's it still know?

Does a launcher icon track the file rather than the pathname?

[ Edit: this appears a red herring; I dug to the new Apps folder and launched it directly, still dies ]

And no, I never ran it from the DMG.

Baylink
Posts: 136
Joined: Tue Jan 27, 2015 2:13 am
Operating System: Please select

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Baylink » Sun May 01, 2016 4:19 pm

Further: FWIW, I have a registered copy of Loopback installed on this machine, my MBP 7,1.

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

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Gale Andrews » Mon May 02, 2016 4:22 pm

Baylink wrote:Ok, it was upgrade time -- a batch of 320kbps MP3's wouldn't batch-import reliably (later ones came in as flatline, even though they would import properly as a single file import) -- and I wasn't on the current release.
Did you have enough disk space?
Baylink wrote:Grabbed the 2.1.2 dmg, opened it, dragged, chose Merge
"Merge" should retain any files in your existing Audacity folder that are not in the new installation and update files that are in the new installation.
Baylink wrote:First time: Launches, no system errors about Gatekeeper as in my earlier posting, dies with no message.
Please describe what exactly happens when it dies after launching.

Meantime I suggest you force quit Audacity in Activity Monitor (if necessary). Then in Finder, use Go > Go to Folder and type in

Code: Select all

~/Library/Application Support/
Delete the entire "audacity" folder then launch Audacity from its installation folder in /Applications.


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

Baylink
Posts: 136
Joined: Tue Jan 27, 2015 2:13 am
Operating System: Please select

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Baylink » Mon May 09, 2016 2:32 am

The very initial problem was, in fact, "I'm out of room for temp files".

RFE: "Make audacity pop up a dialog when it runs out of room to write files in the tempdir". :-)

The later problems were exactly what it said on the tin: "click startup icon in tray, it zooms up, and then nothing else happens, and the 'i'm running' triangle under the tray icon disappears."

It's unclear what caused that; I redid the 2.1.2 install, and whacked the config file (which was ancient, dating to at least 2.0.6 and maybe earlier), and it's behaved fine for me since.

RFE: "The dialog box saying you already have a lock file should say its full pathname."

(There's a separate forum group for those, isn't there?)

Apologies for the noise; I've been out of the saddle at the theatre for 8 months, and my reflexes are weak. :-}

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

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Gale Andrews » Mon May 09, 2016 11:35 am

Baylink wrote:The very initial problem was, in fact, "I'm out of room for temp files".

RFE: "Make audacity pop up a dialog when it runs out of room to write files in the tempdir". :-)
We already have a bug open for that (something we should fix):
http://bugzilla.audacityteam.org/show_bug.cgi?id=437.
Baylink wrote:RFE: "The dialog box saying you already have a lock file should say its full pathname."
Please clarify which dialogue this is. Is it "Audacity was not able to lock the temporary files directory"?

Or is it the "Audacity is already running" message, which does not actually mention the lock file?
Baylink wrote:There's a separate forum group for those, isn't there?
Yes: Adding Features to Audacity. But there is no need to post there about the lock file message at the moment.

Thanks.

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

Baylink
Posts: 136
Joined: Tue Jan 27, 2015 2:13 am
Operating System: Please select

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Baylink » Mon May 09, 2016 6:48 pm

Gale Andrews wrote:
Baylink wrote:The very initial problem was, in fact, "I'm out of room for temp files".

RFE: "Make audacity pop up a dialog when it runs out of room to write files in the tempdir". :-)
We already have a bug open for that (something we should fix):
http://bugzilla.audacityteam.org/show_bug.cgi?id=437.
+1 :-)
Baylink wrote:
RFE: "The dialog box saying you already have a lock file should say its full pathname."
Please clarify which dialogue this is. Is it "Audacity was not able to lock the temporary files directory"?

Or is it the "Audacity is already running" message, which does not actually mention the lock file?
The latter, yes, which I would contend ought to tell the user where Audacity was *looking* for the proof it found that Audacity was already running (which it often is not; the message might better be

"""
Audacity has discovered its own lock file on startup in

$PATHNAME

which means that either another copy is running, or the program previously crashed without cleaning up after itself.
"""

Also, it *appears* to me that if you override the lockfile, it is not removed when you clean-exit,
and hence is still there next time. That would be a design decision rather than a bug, but I myself would pick "it should be removed".
Baylink wrote:
There's a separate forum group for those, isn't there?
Yes: Adding Features to Audacity. But there is no need to post there about the lock file message at the moment.
Roj. Thanks.

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

Re: 2.1.2 on 10.10.5 won't launch after upgrade

Post by Gale Andrews » Mon May 09, 2016 7:54 pm

Baylink wrote:
Gale Andrews wrote:
Baylink wrote:RFE: "The dialog box saying you already have a lock file should say its full pathname."
Please clarify which dialogue this is. Is it "Audacity was not able to lock the temporary files directory"?

Or is it the "Audacity is already running" message, which does not actually mention the lock file?
The latter, yes, which I would contend ought to tell the user where Audacity was *looking* for the proof it found that Audacity was already running (which it often is not; the message might better be

"""
Audacity has discovered its own lock file on startup in

$PATHNAME

which means that either another copy is running, or the program previously crashed without cleaning up after itself.
As Leland said http://forum.audacityteam.org/viewtopic ... 98#p270198 there are probably bugs in wxWidgets which prevents it removing the old lock file as it should. But you're the first person I've seen so far who has had a problem with the lock file in 2.1.2. It could be that the deletion of the lock file failed because Audacity was not starting up properly, which seemed to be some separate problem.

Rather than us state the lock file location, which could encourage people to delete the file so as to run multiple Audacity instances at once, it would probably be better to make a dialogue which asked if the user wanted to restart Audacity, whereupon Audacity could try to force delete any lock file it found.
Baylink wrote:Also, it *appears* to me that if you override the lockfile, it is not removed when you clean-exit, and hence is still there next time. That would be a design decision rather than a bug, but I myself would pick "it should be removed".
How are you choosing to override the lock file? In the dialogue "Audacity was not able to lock the temporary files directory"?


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

Post Reply