Audacity wont run [SOLVED]

Help for Audacity 2.x.x on GNU/Linux.

ImageThis forum is for Audacity 2.x.x on GNU/Linux and Unix-like operating systems.
Please state which version of Linux you are using, the exact three-section version number of Audacity from Help > About Audacity... and whether you installed your distribution's release or daily version of Audacity 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 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.

Audacity wont run [SOLVED]

Permanent link to this post Posted by danzi » Sat Oct 21, 2017 4:08 pm

I have installed via apt 2.1.3.0build3-ubuntu16.04.

when I try to run AUDACITY I get this error in terminal:

(Audacity:6189): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()

any help would be appreciated!

thanks dan
danzi
 
Posts: 7
Joined: Sat Oct 21, 2017 3:45 pm
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by steve » Sat Oct 21, 2017 4:48 pm

danzi wrote:(Audacity:6189): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()

That's just a warning, not a critical failure. I get that warning too, but no reason for it to prevent Audacity from running.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45378
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by danzi » Sat Oct 21, 2017 6:51 pm

well that's not true fro me.

After the error , terminal goes back to cursor.

However if I run Audacity as SUDO it start but I get ....

"Audacity could not find a place to store temp files, click to select a place"

so I click and

"preference directories' opens

pre selected is "var/tmp/audacity-root"

set ok,

says will now exit, restart to use directory.

I do that and same dialog repeats.

SO I created a new directory

"var/temp/audacity"
which the auto creates

/.audacity-temp

so restart again and no joy.

back to same dialog

"Audacity could not find a place to store temp files, click to select a place"

so I don't know why this is happening and I don't know why it wont even start unless sudo.

Thanks DAN
danzi
 
Posts: 7
Joined: Sat Oct 21, 2017 3:45 pm
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by danzi » Sat Oct 21, 2017 10:46 pm

not for me, it does not run at all

DAN
danzi
 
Posts: 7
Joined: Sat Oct 21, 2017 3:45 pm
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by steve » Sun Oct 22, 2017 12:29 am

danzi wrote:However if I run Audacity as SUDO

Audacity should not be run as sudo.

danzi wrote:.1.3.0build3-ubuntu

What repository is that from?
I'm using Ubuntu 16.04 and Audacity is listed as 2.1.2-1 (https://packages.ubuntu.com/xenial/audacity)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45378
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by danzi » Sun Oct 22, 2017 10:33 am

Yes I know audacity should not be run as SUDO,

for me that is the only way it will run.

repository is

ppa.launchpad.net/ubuntuhandbook1/audacity/ubuntu xenial

installed version is

2.1.3-0build3-ubuntu16.04

Dan
danzi
 
Posts: 7
Joined: Sat Oct 21, 2017 3:45 pm
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by steve » Sun Oct 22, 2017 11:05 am

Try removing that version completely, including any user settings ~/.audacity-data and ~/.audacity-files (both are hidden folders, and are created per user).
Then install Audacity from the Ubuntu main 'Universe' repository.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45378
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by danzi » Sun Oct 22, 2017 1:16 pm

removed audacity

sudo apt-get purge --auto-remove audacity

unchecked repository of audacity

installed via "ubuntu software" GUI

same problem!

will not even start as non-sudo.
starts in sudo.

checked folders/files against my 14.04 machine, and they are the same permssions

when I open in sudo, it ask me to set tmp directory.

So I do set as /var/tmp/.audacity_temp

permissions are owner root, group root.

and it runs ok.

if i change permission of .audacity_temp to owner me, group my-group

it will not run normally OR as sudo.


DAN
danzi
 
Posts: 7
Joined: Sat Oct 21, 2017 3:45 pm
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by steve » Sun Oct 22, 2017 2:15 pm

danzi wrote:removed audacity

sudo apt-get purge --auto-remove audacity

unchecked repository of audacity

installed via "ubuntu software" GUI

same problem!

Did you forget about ~/.audacity-data and ~/.audacity-files ?

danzi wrote:So I do set as /var/tmp/.audacity_temp

That will not allow Audacity to run correctly, and that is not the correct default location for Audacity's temp folder.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 45378
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity wont run

Permanent link to this post Posted by danzi » Sun Oct 22, 2017 3:05 pm

from what I found on inet,

sudo apt-get purge --auto-remove audacity

was supposed to remove all including data files.

None the less I will try individual removal of those 2 folders.

As for default tmp folder,

/var/tmp/.audacity_temp is what the program is going to automatically,

so where should the tmp foldr go?

Thaks Dan
danzi
 
Posts: 7
Joined: Sat Oct 21, 2017 3:45 pm
Operating System: Linux *buntu

Next

Return to GNU/Linux and Unix-like



Who is online

Users browsing this forum: No registered users and 4 guests