Audacity could not read its default theme

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 http://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 could not read its default theme

Permanent link to this post Posted by koehlekr » Tue Mar 25, 2014 1:11 pm

This problem has occurred both with 2.0.5 and svn 13081. Am building from source in a BLFS-7.4 environment, with --disable-ffmpeg (my ffmpeg version is too new, apparently). Linux kernel is 3.13.3. After the dialog box containing the error (subject line; also tells me to report the problem), audacity comes up but all controls are black. Apparently there is an issue with the contents of ThemeAsCeeCode.h? Searched forum for "default theme", could not find postings re: my problem. Apologize in advance if I mis-searched. Many thanks,

Ken
koehlekr
 
Posts: 5
Joined: Tue Mar 25, 2014 1:01 pm
Operating System: Please select

Re: Audacity could not read its default theme

Permanent link to this post Posted by steve » Tue Mar 25, 2014 1:37 pm

This is a known issue with some dark themes (Desktop) and is listed in the Audacity release notes (http://wiki.audacityteam.org/wiki/Relea ... essibility)

Audacity has experimental Theme support which is disabled by default. This has not been worked on for quite a while so I don't know how well it will work, but it can be enabled by building with Theme support enabled in Experimental.h (search the file for #define EXPERIMENTAL_THEME_PREFS )

FWIW, (unmodified) Audacity displays fine on Debian (which has a dark theme by default).

koehlekr wrote:my ffmpeg version is too new, apparently

You may be able to get ffmpeg working by specifying "local library" rather than "system library" for ffmpeg.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 43441
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux Debian

Re: Audacity could not read its default theme

Permanent link to this post Posted by steve » Tue Mar 25, 2014 1:41 pm

Found a bit of (old) documentation about theming Audacity:

http://wiki.audacityteam.org/wiki/Theming_HowTo
and
viewtopic.php?f=21&t=657
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 43441
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux Debian

Re: Audacity could not read its default theme

Permanent link to this post Posted by koehlekr » Tue Mar 25, 2014 6:24 pm

I suspect the problem is that I have libpng 1.6.4. I have tried to use ImageCache.png files from the web, and they display without errors in SeaMonkey, but Audacity 2.0.5 rejects them.

I attempted to rebuild Audacity using an older libpng, but found I'd have to rebuild half my system, so that's out.

Does anyone have an ImageCache file from a system using libpng 1.6.4 that they could send me? My e-mail address is <removed>.

Many Thanks,

Ken
Last edited by koehlekr on Fri Apr 24, 2015 4:32 pm, edited 2 times in total.
Reason: Removed user's e-mail address for their own safety
koehlekr
 
Posts: 5
Joined: Tue Mar 25, 2014 1:01 pm
Operating System: Please select

Re: Audacity could not read its default theme

Permanent link to this post Posted by koehlekr » Thu Apr 03, 2014 8:44 pm

Attempted to rebuild audacity 2.0.5 with xpms by

sed -i src/AllThemeResources.h -e '/XPMS_RETIRED/d'
sed -i images/ControlButtons.h -e '/CleanSpeech/d'
sed -i images/EditButtons.h -e '/LinkTracks/d'

Compiled and installed clean, started with no errors, but all buttons still appear black. Any ideas how to get xpms working, since pngs don't seem to work on my system.

Thanks in advance,

Ken
koehlekr
 
Posts: 5
Joined: Tue Mar 25, 2014 1:01 pm
Operating System: Please select

Re: Audacity could not read its default theme

Permanent link to this post Posted by Gale Andrews » Fri Apr 04, 2014 8:00 pm

Have you tried using a light theme for the OS?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 25803
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity could not read its default theme

Permanent link to this post Posted by koehlekr » Fri Apr 04, 2014 8:59 pm

I am not all that familiar with OS themes. I am not using a desktop environment like gnome or kde. I am using windowmaker as the window manager, and run everything else from the dock or from an xterm window. I am sure there is something that I am missing in doing it this way, although audacity 1.2.6 works fine in a very similar (but older) environment. Can you post a link to a light theme ImageCache.png file that I could try?

Thanks in advance,

Ken
koehlekr
 
Posts: 5
Joined: Tue Mar 25, 2014 1:01 pm
Operating System: Please select

Re: Audacity could not read its default theme

Permanent link to this post Posted by Gale Andrews » Fri Apr 04, 2014 9:56 pm

koehlekr wrote: Can you post a link to a light theme ImageCache.png file that I could try?

The only pre-built themes I know of are http://jcsu.jesus.cam.ac.uk/~hdc21/design/audacity/ and a number of them in viewtopic.php?f=21&t=657 .


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 25803
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity could not read its default theme

Permanent link to this post Posted by koehlekr » Sat Apr 05, 2014 1:28 pm

I attempted to use

http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
download/file.php?id=36
download/file.php?id=41

All got the same error dialog box:

Audacity could not load file:
/root/.audacity-date/Theme/ImageCache.png
Bad png format perhaps?

followed by the familiar error dialog box:

Audacity could not read its default theme.
Please report the problem.

This is Audacity 2.0.5 built with wxWidgets 2.8.12, libpng 1.6.9, gtk+-2.24.20, gdk-pixbuf 2.28.2, glib 2.36.4.

Ken
koehlekr
 
Posts: 5
Joined: Tue Mar 25, 2014 1:01 pm
Operating System: Please select

Re: Audacity could not read its default theme

Permanent link to this post Posted by Gale Andrews » Sat Apr 05, 2014 5:57 pm

koehlekr wrote:I attempted to use

http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
download/file.php?id=36
download/file.php?id=41

All got the same error dialog box:

Audacity could not load file:
/root/.audacity-date/Theme/ImageCache.png

http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png loads for me in Audacity HEAD on Ubuntu 13.10.

You may want to fix the typo. Audacity's _data folder on Linux is called ".audacity-data" (without quotes).


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 25803
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Next

Return to GNU/Linux and Unix-like



Who is online

Users browsing this forum: No registered users and 2 guests