Page 1 of 2

Audacity wont run [SOLVED]

Posted: Sat Oct 21, 2017 4:08 pm
by danzi
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

Re: Audacity wont run

Posted: Sat Oct 21, 2017 4:48 pm
by steve
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.

Re: Audacity wont run

Posted: Sat Oct 21, 2017 6:51 pm
by danzi
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

Re: Audacity wont run

Posted: Sat Oct 21, 2017 10:46 pm
by danzi
not for me, it does not run at all

DAN

Re: Audacity wont run

Posted: Sun Oct 22, 2017 12:29 am
by steve
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)

Re: Audacity wont run

Posted: Sun Oct 22, 2017 10:33 am
by danzi
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

Re: Audacity wont run

Posted: Sun Oct 22, 2017 11:05 am
by steve
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.

Re: Audacity wont run

Posted: Sun Oct 22, 2017 1:16 pm
by danzi
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

Re: Audacity wont run

Posted: Sun Oct 22, 2017 2:15 pm
by steve
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.

Re: Audacity wont run

Posted: Sun Oct 22, 2017 3:05 pm
by danzi
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