When trying to launch Audacity, I get the following error:
Audacity could not find a place to store temporary files. Please enter an appropriate directory in the preferences dialog.
- No files or folder have been moved.
- I have purged Audacity, deleted any files, etc manually and re-installed
In terminal:
pst007x@pst007x-Serval-Professional:~$ audacity
(process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
** (Audacity:16390): WARNING **: Owner of /tmp/orbit-pst007x is not the current user
Segmentation fault
pst007x@pst007x-Serval-Professional:~$
- I have not changed any users or added any additional users.
- All privaleges, etc are default.
Ubuntu 13.10 64bit (all updates applied)
ADDITIONAL:
I can open as gksu audacity
So it looks like privileges is an issue somewhere. I have checked all privileges and all seems ok, but clearly not....
I tried changing the Directory in Preferences to a directory in my home folder:
/home/pst007x/Music/audacity_temp/
but when starting again (not in root) same error...
Any ideas what files could be lacking privileges?
After changing the Directory, when running I get this:
pst007x@pst007x-Serval-Professional:~$ audacity
(process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
Segmentation fault
pst007x@pst007x-Serval-Professional:~$
I checked installed files using Synaptic Package Manager, then checked permissions:
pst007x@pst007x-Serval-Professional:~$ sudo chmod -R 777 /usr
[sudo] password for pst007x:
pst007x@pst007x-Serval-Professional:~$ audacity
(process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
Segmentation fault
pst007x@pst007x-Serval-Professional:~$
EDIT. After the above, I rebooted and was no longer able to login. So I did a fresh install. Not a bad thing since the original install on the this system was 10.10. Working ok after fresh install.
Thank you for taking the time to post answers and suggestions..
I am using Audacity v2.0.3 on Linux Mint 16 which is a derivative of Ubuntu 13.10 and was having the same problem.
When Audacity starts up, it looks for a temporary directory to store its temporary files, namely
where ${USER} has the value of the login username, and the USER environmental variable is usually correctly set during the login process.
To be sure, one can always do
to see if it is set and set to the appropriate value.
So the very simple solution is
and for privacy, if desired and if your umask is other than 0007,
or you could do it in one go with
Obviously the user has to have write permission on
/var/tmp
, otherwise this will need to be done by root who will also have to change the user and group ownership of the created directory to the appropriate user and group.Why audacity does not create this directory for its-self is a question which should be directed at the writers of the audacity, because popping up a dialog to say that some unamed directory for temporary storage does not exist and then segfaulting is an extremely bad user experience.
The suggestion that one should re-install an operating from scratch just to solve the problem of a missing directory is an unacceptable answer.
I had the same problem with under cinnamon Linux mint 17.1. Solved it by reinstalling audacity after deleting
/home/your_username/.audacity-data
directory and that fixed the problemI built audacity from the latest SVN source, and it segfaults while trying to load
/usr/lib/ladspa/blop_files/parabola_1649_data.so
. I found that out by starting it from inside gdb:Uninstalling the blop package fixed it for me. IDK why, because the ubuntu-packaged /usr/bin/audacity doesn't have a problem even with blop installed.
Not really an answer, but a solution, because, I was no longer able to reboot after altering permissions, I decided on a fresh install.
So I booted in on a live disk, made backups, and reinstalled the OS.
Turned out to be the easiest solution, very easy to restore most settings, just by copying over the appropriate backed-up files into the new system.