Audacity could not read its default theme
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.
Audacity could not read its default theme
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
Ken
Re: Audacity could not read its default theme
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).
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).
You may be able to get ffmpeg working by specifying "local library" rather than "system library" for ffmpeg.koehlekr wrote:my ffmpeg version is too new, apparently
Learn more about Nyquist programming at audionyq.com
Re: Audacity could not read its default theme
Found a bit of (old) documentation about theming Audacity:
http://wiki.audacityteam.org/wiki/Theming_HowTo
and
http://forum.audacityteam.org/viewtopic.php?f=21&t=657
http://wiki.audacityteam.org/wiki/Theming_HowTo
and
http://forum.audacityteam.org/viewtopic.php?f=21&t=657
Learn more about Nyquist programming at audionyq.com
Re: Audacity could not read its default theme
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
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
Reason: Removed user's e-mail address for their own safety
Re: Audacity could not read its default theme
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
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
-
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10 / 11
Re: Audacity could not read its default theme
Have you tried using a light theme for the OS?
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 could not read its default theme
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
Thanks in advance,
Ken
-
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10 / 11
Re: Audacity could not read its default theme
The only pre-built themes I know of are http://jcsu.jesus.cam.ac.uk/~hdc21/design/audacity/ and a number of them in http://forum.audacityteam.org/viewtopic.php?f=21&t=657 .koehlekr wrote: Can you post a link to a light theme ImageCache.png file that I could try?
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Audacity could not read its default theme
I attempted to use
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
http://forum.audacityteam.org/download/file.php?id=36
http://forum.audacityteam.org/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
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png
http://forum.audacityteam.org/download/file.php?id=36
http://forum.audacityteam.org/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
-
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10 / 11
Re: Audacity could not read its default theme
http://jcsu.jesus.cam.ac.uk/~hdc21/desi ... eCache.png loads for me in Audacity HEAD on Ubuntu 13.10.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
http://forum.audacityteam.org/download/file.php?id=36
http://forum.audacityteam.org/download/file.php?id=41
All got the same error dialog box:
Audacity could not load file:
/root/.audacity-date/Theme/ImageCache.png
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
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual