Audacity unexpectedly quit

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
jasustar
Posts: 3
Joined: Sun Nov 06, 2011 10:26 pm
Operating System: Please select

Audacity unexpectedly quit

Post by jasustar » Sat Jul 28, 2012 3:22 am

Back when I was running Mac OS 10.7.4 and upgraded to Audacity 1.3.4, every time I launched the application I would get a message saying "Audacity could not find a place to store temporary files. Please enter an appropriate directory in the preferences dialog." However, when I clicked OK on the message, Audacity would crash with the message "Audacity quit unexpectedly." I tried creating a Temp folder in the Audacity application folder to no avail. Nothing I tried would work. I got so frustrated I just stopped using Audacity and deleted it from my system.

Yesterday, I upgraded my system to Mountain Lion 10.8 and installed Audacity 2.0.1.0. Unfortunately, I am experiencing exactly the same behavior. Attached you will see the complete error report generated by Audacity.

Here is an overview of my system:
Model Name: Mac mini
Model Identifier: Macmini3,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache: 3 MB
Memory: 4 GB
Bus Speed: 1.07 GHz
Boot ROM Version: MM31.0081.B06
SMC Version (system): 1.35f0
I have a 370 GB internal drive for the OS, with two external Iomega USB drives--one is 1TB the other is 2TB.

Any help would be appreciated.
Attachments
Audacity_error.txt
(35.53 KiB) Downloaded 106 times

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

Re: Audacity unexpectedly quit

Post by kozikowski » Sat Jul 28, 2012 5:47 pm

Did you upgrade for a specific reason? We have been highly unwilling to go much beyond Snow Leopard at work because significant changes to the OS have messed up some of our business systems and it will require recoding. Of course nobody has anything better to do. We have been recommending our more aggressive users to avoid the upgrade(s) as well.

So something didn't change between all the upgrades. How do you have your drives organized? Multiple partitions? Simple drives? FireWire?

What are you doing that could cause Audacity not to be able to "see" all that room? Permissions issues? Have you error checked and repaired permissions recently -- or ever? Did you install Audacity as a different user than the one that has access?

Do you have a virus protection system installed?

Koz

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

Re: Audacity unexpectedly quit

Post by kozikowski » Sat Jul 28, 2012 5:56 pm

We know that /User/Koz/Library is a hidden folder now and it didn't used to be. Did you take steps to reveal it? I know it's possible because many systems fail with that one change and a work-around was generated immediately. I also don't remember if that happened with Lion or Mountain Lion. Audacity has to put stuff there and that could create problems right away.

Koz

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

Re: Audacity unexpectedly quit

Post by Gale Andrews » Sun Jul 29, 2012 2:13 am

Open Finder, Go > Go to Folder and type

Code: Select all

~/Library/Application Support/audacity/ 
Force Quit Audacity if it is running, then paste in the attached, renamed to "audacity.cfg". It should set your temp directory to a safe default (at the moment it is probably remembering the bad location from 1.3.4 days).

It won't help if permissions are messed up, but you can try resetting those if the new .cfg file does not help (Go > Utilities > Disk Utilities (or similar) > Verify Disk and Repair Permissions).

Thanks for the crash report. Audacity does crash in Import/ Export Preferences if it "cannot find anywhere to store temp files."
kozikowski wrote:We know that /User/Koz/Library is a hidden folder now and it didn't used to be... I also don't remember if that happened with Lion or Mountain Lion.
HOME/Library was hidden from OS X 10.7 Lion onwards.
Attachments
audacity.txt
Rename to "audacity.cfg" (without quotes)
(23 Bytes) Downloaded 341 times
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

preterist1
Posts: 6
Joined: Sat Oct 27, 2012 11:18 pm
Operating System: Please select

Re: Audacity unexpectedly quit

Post by preterist1 » Sat Oct 27, 2012 11:32 pm

I am having the same error message ("Audacity could not find a place to store temporary files...") come up every time I try to open Audacity 2.0 on my MacBook Pro running Lion 10.7.5 with 8gb RAM and 500gb of free space on my hard drive. I tried replacing the config file with the one attached to the message above, but I still get same message. What the heck is going on? Is this an incompatibility with Mac OSX Lion, or something else? How do I get this resolved?

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

Re: Audacity unexpectedly quit

Post by Gale Andrews » Sun Oct 28, 2012 5:21 am

preterist1 wrote:I am having the same error message ("Audacity could not find a place to store temporary files...") come up every time I try to open Audacity 2.0 on my MacBook Pro running Lion 10.7.5 with 8gb RAM and 500gb of free space on my hard drive. I tried replacing the config file with the one attached to the message above, but I still get same message. What the heck is going on? Is this an incompatibility with Mac OSX Lion, or something else? How do I get this resolved?
Make sure you have force quit Audacity (if necessary - Command - Option - ESC) before modifying audacity.cfg.

Make sure you have installed Audacity correctly - you could get this problem if you are running it out of the DMG:
  1. Double-click the downloaded .dmg to mount it
  2. Then to install Audacity, copy the "Audacity" folder from the newly mounted .dmg to /Applications or any other location of your choosing.

If you cannot save to a normal temp file path then you may need to Go > Utilities > Disk Utility then do "Verify Disk" and "Repair Permissions".

You can also force audacity.cfg to use any location for its temp folder thus:

Code: Select all

[Directories]
TempDir=/Users/<your user name/audacity_temp/



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

preterist1
Posts: 6
Joined: Sat Oct 27, 2012 11:18 pm
Operating System: Please select

Re: Audacity unexpectedly quit

Post by preterist1 » Sun Oct 28, 2012 3:16 pm

Thanks Gale, for that excellent reply to my inquiry. The only thing that made it work for me, was your last suggestion about forcing the <audacity.cfg> to use any location for its temp folder. I created a new .cfg file using TextEdit to type in the information you suggested at the bottom of your post, saved it as a .txt file, quit the TextEdit program and then changed the extension to .cfg. I then went to the <Go> menu and held down the option key to open the invisible Library folder. I found the old Audacity .cfg file and replaced it with the new one I just created. Then I tried to run Audacity and IT WORKED! :-) Thanks for the help.

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

Re: Audacity unexpectedly quit

Post by Gale Andrews » Sun Oct 28, 2012 10:01 pm

preterist1 wrote:The only thing that made it work for me, was your last suggestion about forcing the <audacity.cfg> to use any location for its temp folder.
Thanks. I can only assume then there was some problem writing to the normal /var location.


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

preterist1
Posts: 6
Joined: Sat Oct 27, 2012 11:18 pm
Operating System: Please select

Re: Audacity unexpectedly quit

Post by preterist1 » Mon Oct 29, 2012 12:25 am

Yep, that is probably true, especially if it has anything to do with my permissions, which have changed since I originally installed Audacity. I recently changed some of my permissions, and had not tried to run Audacity since. When I did try to run it, the error message popped up. Thanks again for providing a solution to that issue.

Post Reply