audacity 2.0.3 - can't create tmp files
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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.
Please state:
- which version of Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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.
-
fastturtle
- Posts: 4
- Joined: Mon Mar 18, 2013 3:58 pm
- Operating System: Please select
audacity 2.0.3 - can't create tmp files
Gentoo AMD64 no-multilib profile
portage installed
checking its config status
~/.audacity-data/audacity.cfg
shows that as a normal user it's trying to use /root/.audacity-data instead of the /home/username
Problem has occured starting with the stable 2.0.0 and ~amd64 (testing branch 2.0.1 and 2.0.3) upgraded in hopes it was an issue with an earlier version.
I'm also using ALSA as the sound system (stable with an intel-hd/Realtek chip)
build flags set are ALSA libsamplerate soxr mp3
Kernel is 3.4.35-LTS (kernel org) not the gentoo patched versions.
When attempting to start audacity - it pops up the message and segfaults as a normal user. Root can load it but it still doesn't solve the issue with normal users. Daily user is in the audio group if that helps
portage installed
checking its config status
~/.audacity-data/audacity.cfg
shows that as a normal user it's trying to use /root/.audacity-data instead of the /home/username
Problem has occured starting with the stable 2.0.0 and ~amd64 (testing branch 2.0.1 and 2.0.3) upgraded in hopes it was an issue with an earlier version.
I'm also using ALSA as the sound system (stable with an intel-hd/Realtek chip)
build flags set are ALSA libsamplerate soxr mp3
Kernel is 3.4.35-LTS (kernel org) not the gentoo patched versions.
When attempting to start audacity - it pops up the message and segfaults as a normal user. Root can load it but it still doesn't solve the issue with normal users. Daily user is in the audio group if that helps
Re: audacity 2.0.3 - can't create tmp files
Try deleting the audacity.cfg file and then start Audacity.
The audacity.cfg file will be recreated when Audacity successfully launches.
The default temp directory should be:
TempDir=/var/tmp/audacity-<username>
(this should be set automatically unless an entry already exists in the audacity.cfg file)
The audacity.cfg file will be recreated when Audacity successfully launches.
The default temp directory should be:
TempDir=/var/tmp/audacity-<username>
(this should be set automatically unless an entry already exists in the audacity.cfg file)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
fastturtle
- Posts: 4
- Joined: Mon Mar 18, 2013 3:58 pm
- Operating System: Please select
Re: audacity 2.0.3 - can't create tmp files
That's the problem - it's popping the error message and then segfaulting - No Config file being created so I'm not sure what's going on.
Re: audacity 2.0.3 - can't create tmp files
What is the exact error message?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: audacity 2.0.3 - can't create tmp files
How exactly are you launching Audacity?
Gale
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: audacity 2.0.3 - can't create tmp files
Possible workaround: Make /var/tmp writeable for current user
If that is not an option: Copy /root/.audacity-data/audacity.cfg to /home/YOURUSERNAME/.audacity-data/audacity.cfg
and change the line TempDir=/var/tmp/audacity-root to TempDir=/tmp/audacity-YOURUSERNAME
/tmp should be writeable by you, if not you can point TmpDir= to somewhere that you have got privilegies.
To me this looks like a design flaw in audacity preference setup - it should check for permissions and select a safe bet when /var/tmp is not useable. However, I mjust may have messed up when building it...
If that is not an option: Copy /root/.audacity-data/audacity.cfg to /home/YOURUSERNAME/.audacity-data/audacity.cfg
and change the line TempDir=/var/tmp/audacity-root to TempDir=/tmp/audacity-YOURUSERNAME
/tmp should be writeable by you, if not you can point TmpDir= to somewhere that you have got privilegies.
To me this looks like a design flaw in audacity preference setup - it should check for permissions and select a safe bet when /var/tmp is not useable. However, I mjust may have messed up when building it...
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: audacity 2.0.3 - can't create tmp files
On Ubuntu I consistently see a problem with trying to execute audacity as root, irrespective where the executable file is ("could not find a place to store temporary files"). I don't have /root/.audacity-data/ and creating it does not prevent the problem.
I have never seen fastturtle's issue. Does it occur if you compile Audacity with default ./configure?
Gale
I have never seen fastturtle's issue. Does it occur if you compile Audacity with default ./configure?
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: audacity 2.0.3 - can't create tmp files
Good question, I used ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib (old/bad habit)
I will do a clean ./configure make and get back to you. BTW, this is on a 64 bit Debian 6/Dreamlinux install - unlike Ubuntu, it has /root
And yes, the message is "could not find a place to store temporary files"
I will do a clean ./configure make and get back to you. BTW, this is on a 64 bit Debian 6/Dreamlinux install - unlike Ubuntu, it has /root
And yes, the message is "could not find a place to store temporary files"
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: audacity 2.0.3 - can't create tmp files
Ubuntu has /root, but I don't know how to access it in a terminal unless I do sudo bash first (I am not a power Linux user).NEKRO wrote:this is on a 64 bit Debian 6/Dreamlinux install - unlike Ubuntu, it has /root![]()
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: audacity 2.0.3 - can't create tmp files
Same message after a clean build"
Bottom line it is down to permissions. On my box regular users have read/write 1777 permissions on /tmp but only read 0755 permissions on /var/tmp
I have no idea if that is default for all the distros out there.
Then Segmentation fault.Audacity could not find a place to store temporary files.
Please enter an appropriate directory in the preferences dialog.
Bottom line it is down to permissions. On my box regular users have read/write 1777 permissions on /tmp but only read 0755 permissions on /var/tmp
I have no idea if that is default for all the distros out there.