Page 1 of 1

unable to set theme name

Posted: Tue Mar 18, 2008 5:50 am
by chuckster
Hello,
I'm trying to boot minimyth from a compact flash card connected via a CF-IDE adapter. I'm pretty much a linux noob, but I think that I managed to get it close to running. However, there are a couple of errors remaining in minimyth.err.log that I cannot seem to get rid of. They are:
error: 'MM_THEME_NAME' must be set.
error: 'MM_THEMEOSD_NAME' must be set.
error: 'MM_THEME_NAME' is not set.
error: 'MM_THEMEOSD_NAME' is not set.

In minimyth.conf, I have specified
MM_THEME_NAME='MythCenter'
MM_THEMEOSD_NAME='Gray-OSD'
I have tried a variety of themes, but they all come back with the same errors. When the system boots, I have minimyth.conf in /minimyth/conf/default, and the themes directory is in /minimyth. Does anyone have any ideas what I'm doing wrong? Sorry if this is a stupid question, but I couldn't find any previous posts on the topic of themes that I could apply to my situation.
Thanks.

Posted: Tue Mar 18, 2008 6:04 am
by Pablo
There is definitely some weird.

Could you post your minimyth.conf file?

Posted: Tue Mar 18, 2008 6:15 am
by chuckster
Thanks for the amazingly fast response. Here's my minimyth.conf file.
################################################################################
# minimyth.conf
#
# The required MiniMyth configuration file.
#
# For information on this file, see either
# <http>
# or
# <http>,
# where '{frontend}' is the IPv4 address or hostname of your MiniMyth frontend.
################################################################################

################################################################################
# The following line will fetch and include a file named 'minimyth-common.conf'
# from the MiniMyth read-only configuration directory. If you have multiple
# MiniMyth frontends with common configuration, then you can include this line
# in each 'minimyth.conf' file and put the common configuration in the file
# 'default/minimyth-common.conf'.
################################################################################
#mm_minimyth_conf_include minimyth-common.conf

################################################################################
# MiniMyth configuration variables.
#
# MM_MINIMYTH_UPDATE_URL
# MM_MINIMYTH_BOOT_URL
# MM_MINIMYTH_FETCH_MINIMYTH_SCRIPT
################################################################################
#MM_MINIMYTH_BOOT_URL='http://tftp.home/minimyth/'

################################################################################
# DHCP overrides configuration variables.
#
# MM_DHCP_HOST_NAME
# MM_DHCP_DOMAIN_NAME
# MM_DHCP_TCODE
# MM_DHCP_DOMAIN_NAME_SERVERS
# MM_DHCP_NTP_SERVERS
# MM_DHCP_LOG_SERVERS
################################################################################
MM_DHCP_HOST_NAME='192.168.1.110'
MM_DHCP_NTP_SERVERS='ac-ntp1.net.cmu.edu'
MM_DHCP_TCODE='America/North_Dakota/Center'
################################################################################
# Security configuration variables.
#
# MM_SECURITY_ENABLED
# MM_SECURITY_USER_MINIMYTH_UID
# MM_SECURITY_USER_MINIMYTH_GID
# MM_SECURITY_FETCH_CREDENTIALS_CIFS
# MM_SECURITY_FETCH_CA_BUNDLE_CRT
################################################################################
#MM_SECURITY_ENABLED='no'
#MM_SECURITY_FETCH_CREDENTIALS_CIFS='yes'
#MM_SECURITY_FETCH_CA_BUNDLE_CRT='yes'

################################################################################
# ACPI configuration variables.
#
# MM_ACPI_EVENT_BUTTON_POWER
# MM_ACPI_VIDEO_FLAGS
################################################################################

################################################################################
# CPU configuration variables.
#
# MM_CPU_FREQUENCY_GOVERNOR
# MM_CPU_FETCH_MICROCODE_DAT
################################################################################
#MM_CPU_FREQUENCY_GOVERNOR='userspace'

################################################################################
# Audio configuration variables.
#
# MM_AUDIO_TYPE
# MM_AUDIO_CARD_NUMBER
# MM_AUDIO_DEVICE_NUMBER
################################################################################
MM_AUDIO_TYPE='analog'

################################################################################
# Video configurion variables.
#
# MM_VIDEO_ASPECT_RATIO
# MM_VIDEO_DEINTERLACER
# MM_VIDEO_FONT_SCALE
# MM_VIDEO_MPEG2_DECODER
# MM_VIDEO_PLAYBACK_PROFILE
# MM_VIDEO_RESIZE_ENABLED
################################################################################
MM_VIDEO_ASPECT_RATIO='4:3'
MM_VIDEO_DEINTERLACER='none'

################################################################################
# X configuration variables.
#
# MM_X_ENABLED
# MM_X_RESTART_ON_SLEEP_ENABLED
# MM_X_WM_ENABLED
# MM_X_VNC_ENABLED
# MM_X_SCREENSAVER
# MM_X_SCREENSAVER_TIMEOUT
# MM_X_SCREENSAVER_HACK
# MM_X_MYTH_PROGRAM
# MM_X_OUTPUT_DVI
# MM_X_OUTPUT_VGA
# MM_X_OUTPUT_TV
# MM_X_TV_TYPE
# MM_X_TV_OUTPUT
# MM_X_TV_OVERSCAN
# MM_X_SYNC
# MM_X_REFRESH
# MM_X_RESOLUTION
# MM_X_MODELINE
# MM_X_MODE
# MM_X_MODELINE_0
# MM_X_MODELINE_1
# MM_X_MODELINE_2
# MM_X_MODE_0
# MM_X_MODE_1
# MM_X_MODE_2
# MM_X_HACK_HIDE_BLUE_LINE_ENABLED
# MM_X_FETCH_XINITRC
# MM_X_FETCH_XORG_CONF
################################################################################
MM_X_OUTPUT_TV='auto'
MM_X_TV_TYPE='NTSC-M'
MM_X_TV_OUTPUT='SVIDEO'

################################################################################
# Font configuration variables.
#
# MM_FONT_FILE_TTF_ADD
# MM_FONT_FILE_TTF_DELETE
################################################################################

################################################################################
# Myth master backend communication configuration variables.
#
# MM_MASTER_SERVER
# MM_MASTER_DBUSERNAME
# MM_MASTER_DBPASSWORD
# MM_MASTER_DBNAME
# MM_MASTER_WOL_ENABLED
# MM_MASTER_WOL_MAC
# MM_MASTER_WOLSQLRECONNECTWAITTIME
# MM_MASTER_WOLSQLCONNECTRETRY
# MM_MASTER_WOLSQLCOMMAND
# MM_MASTER_WOL_ADDITIONAL_DELAY
################################################################################
MM_MASTER_SERVER='mysql.txt:192.168.1.110
################################################################################
# Myth plugin configuration variables.
#
# MM_PLUGIN_OPTICAL_DISK_ENABLED
# MM_PLUGIN_BROWSER_ENABLED
# MM_PLUGIN_DVD_ENABLED
# MM_PLUGIN_GALLERY_ENABLED
# MM_PLUGIN_GAME_ENABLED
# MM_PLUGIN_MUSIC_ENABLED
# MM_PLUGIN_NEWS_ENABLED
# MM_PLUGIN_PHONE_ENABLED
# MM_PLUGIN_STREAM_ENABLED
# MM_PLUGIN_VIDEO_ENABLED
# MM_PLUGIN_WEATHER_ENABLED
# MM_PLUGIN_ZONEMINDER_ENABLED
################################################################################

################################################################################
# Extras directory configuration variables.
#
# MM_EXTRAS_URL
################################################################################

################################################################################
# CODECs directory configuration variables.
#
# MM_CODECS_URL
################################################################################

################################################################################
# Theme configuration variables.
#
# MM_THEME_NAME
# MM_THEMEOSD_NAME
# MM_THEME_URL
# MM_THEMEOSD_URL
# MM_THEMECACHE_URL
################################################################################
MM_THEME_NAME='MythCenter'
MM_THEMEOSD_NAME='Gray-OSD'
MM_THEME_URL='auto'
MM_THEMEOSD_URL='auto'
MM_THEMECACHE_URL='auto'

################################################################################
# Remote media directory configuration variables.
#
# MM_MEDIA_GALLERY_MOUNTPOINT
# MM_MEDIA_GALLERY_URL
# MM_MEDIA_GAME_MOUNTPOINT
# MM_MEDIA_GAME_URL
# MM_MEDIA_MUSIC_MOUNTPOINT
# MM_MEDIA_MUSIC_URL
# MM_MEDIA_VIDEO_MOUNTPOINT
# MM_MEDIA_VIDEO_URL
# MM_MEDIA_DVD_RIP_MOUNTPOINT
# MM_MEDIA_DVD_RIP_URL
################################################################################
#MM_MEDIA_GALLERY_URL="cifs://${MM_TFTP_SERVER}/pictures?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_GAME_URL="cifs://${MM_TFTP_SERVER}/games?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_MUSIC_URL="cifs://${MM_TFTP_SERVER}/music?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_VIDEO_URL="cifs://${MM_TFTP_SERVER}/videos?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_DVD_RIP_URL="nfs://${MM_TFTP_SERVER}/home/public/minimyth/themecache"

################################################################################
# Game configuration variables.
#
# MM_GAME_SAVE_ENABLE
# MM_GAME_SAVE_LIST
# MM_GAME_BIOS_ROOT
# MM_GAME_GAME_ROOT
################################################################################

################################################################################
# Wii remote control configuration variables.
#
# MM_WIIMOTE_ENABLED
# MM_WIIMOTE_ADDRESS_0
# MM_WIIMOTE_ADDRESS_1
# MM_WIIMOTE_ADDRESS_2
# MM_WIIMOTE_ADDRESS_3
################################################################################

################################################################################
# LIRC configuration variables.
#
# MM_LIRC_AUTO_ENABLED
# MM_LIRC_DRIVER
# MM_LIRC_REMOTE
# MM_LIRC_DEVICE
# MM_LIRC_KERNEL_MODULE
# MM_LIRC_KERNEL_MODULE_OPTIONS
# MM_LIRC_IREXEC_ENABLED
# MM_LIRC_SLEEP_ENABLED
# MM_LIRC_WAKEUP_ENABLED
# MM_LIRC_FETCH_LIRCD_CONF
# MM_LIRC_FETCH_LIRCRC
################################################################################

################################################################################
# LCDPROC configuration variables.
#
# MM_LCDPROC_DRIVER
# MM_LCDPROC_FETCH_LIRCD_CONF
################################################################################

################################################################################
# External equipment control configuration variables.
#
# MM_EXTERNAL_POWER_OFF
# MM_EXTERNAL_POWER_ON
# MM_EXTERNAL_VOLUME_DOWN
# MM_EXTERNAL_VOLUME_UP
# MM_EXTERNAL_VOLUME_MUTE
################################################################################
#MM_EXTERNAL_POWER_OFF='
# /usr/bin/irsend <television> KEY_POWEROFF ;
# /usr/bin/irsend <receiver> KEY_POWEROFF'
#MM_EXTERNAL_POWER_ON='
# /usr/bin/irsend <television> KEY_POWERON ;
# /usr/bin/irsend <receiver> KEY_POWERON'
#MM_EXTERNAL_VOLUME_DOWN='
# /usr/bin/irsend <receiver> KEY_VOLUMEDOWN'
#MM_EXTERNAL_VOLUME_UP='
# /usr/bin/irsend <receiver> KEY_VOLUMEUP'
#MM_EXTERNAL_VOLUME_MUTE='
# /usr/bin/irsend <receiver> KEY_MUTE'

################################################################################
# SSH server configuration variables.
#
# MM_SSH_SERVER_ENABLED
################################################################################
MM_SSH_SERVER_ENABLED='no'

################################################################################
# Cron configuration variables.
#
# MM_CRON_FETCH_CRONTAB
################################################################################

################################################################################
# MiniMyth Myth frontend configuration variables.
#
# MM_MYTHDB_JUMPPOINTS_{key}
# MM_MYTHDB_KEYBINDINGS_{key}
# MM_MYTHDB_SETTINGS_{key}
################################################################################
#MM_MYTHDB_JUMPPOINTS_MythGallery='MythGallery~Alt+G'
#MM_MYTHDB_JUMPPOINTS_Play_music='Play music~Alt+M'
#MM_MYTHDB_JUMPPOINTS_MythStream='MythStream~Alt+S'
#MM_MYTHDB_JUMPPOINTS_TV_Recording_Playback='TV Recording Playback~Alt+T'
#MM_MYTHDB_JUMPPOINTS_MythVideo='MythVideo~Alt+V'

#MM_MYTHDB_KEYBINDINGS_Music_FFWD='Music~FFWD~)'
#MM_MYTHDB_KEYBINDINGS_Music_RWND='Music~RWND~('
#MM_MYTHDB_KEYBINDINGS_Stream_FULLSCREEN='Stream~FULLSCREEN~W'
#MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKFFWD='TV Playback~SEEKFFWD~),Right'
#MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKRWND='TV Playback~SEEKRWND~(,Left'

#MM_MYTHDB_SETTINGS_GalleryMoviePlayerCmd='GalleryMoviePlayerCmd~xine -pfhq --no-splash --loop=loop'
#MM_MYTHDB_SETTINGS_VCDPlayerCommand='VCDPlayerCommand~xine -pfhq --no-splash --loop=loop vcd://'
#MM_MYTHDB_SETTINGS_VideoDefaultPlayer='VideoDefaultPlayer~xine -pfhq --no-splash --loop=loop'

Thanks for any insights you might have.

Posted: Tue Mar 18, 2008 6:35 am
by Pablo
This looks wrong:
MM_MASTER_SERVER='mysql.txt:192.168.1.110
There is no closing quote so other variables will be missed.

It should be just an IP address.

Posted: Tue Mar 18, 2008 6:51 am
by chuckster
Here's the output of /etc/dhcp.d/dhcp (I haven't intentionally changed anything in this file)
MM_NETWORK_INTERFACE='eth0'
MM_TFTP_SERVER='192.168.1.1'
MM_TFTP_BOOT_URL=''

Unfortunately, I'm not sure how to copy the output from /etc/minimyth.d/minimyth.conf. I'm really a linux noob and so I'm just using vi when I telnet to the frontend to look at the various logs. If you can tell me how to copy the output I will add it, but upon cursory inspection it looks identical to conf/default/minimyth.conf.

I will ammend the mysql entry that you mentioned.
Thanks.

Posted: Tue Mar 18, 2008 7:02 am
by chuckster
Pablo wrote:This looks wrong:
MM_MASTER_SERVER='mysql.txt:192.168.1.110
There is no closing quote so other variables will be missed.

It should be just an IP address.
That solved it. Sorry to trouble you with such a stupid mistake, but I don't think I ever would've noticed that. I've been using nano to edit the minimyth.conf file; for future reference, is there any sort of text editor that will keep track of things like orphan quotes? Something akin to the types of editors that are used in programming?
Thanks again for your help.

Posted: Tue Mar 18, 2008 7:12 am
by Pablo
No trouble. If often helps to have an independent set of eyes look at things.

I use vim. It does a good job of highlighting things and making it relatively obvious when a quotation mark is missing.