[mythtv-users] MythWeather missing screens - Solved
Chuck Filson
mythtv at goodeid.com
Sat Mar 29 07:41:01 UTC 2008
On Saturday 29 March 2008 00:11, Joe Ripley wrote:
>
> Yes, the Inactive Screens list is populated directly from the
> weather-ui.xml file. The file is used in the weatherSetup.cpp file,
> in the ScreenSetup::loadData function:
>
> http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweather/mythweathe
>r/weatherSetup.cpp#L391
>
> On line 458, the code checks the XML for the 'container' keyword,
> which defines the different Inactive Screen types.
>
> http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweather/mythweathe
>r/weatherSetup.cpp#L458
>
> Since you said you did a fresh install (new database,
> re-downloaded/re-compiled myth), I'm not sure what could be wrong...
After several more hours of debugging, I found that the call to
SourceManager::recurseDirs() was finding the directories but failed to find
any executable scripts. The install had set all of the perl scripts in
the /usr/local/share/mythtv/mythweather/mythweather/scripts directories to be
own by root and only executable by root. Doing a chmod a+x on those scripts
fixed the problem.
I didn't catch this earlier since I had test run the scripts as root, but
mythfrontend runs as a less privileged user.
Thanks to everyone that helped.
Chuck
More information about the mythtv-users
mailing list