[mythtv-users] MythWeather-Revamp: Is it even partially working?

Douglas Wagner douglasw0 at gmail.com
Sun May 20 05:44:56 UTC 2007


OK, so I have quite a bit more information now than I did about 20 minutes
ago.

First the problem with all the scripts failing to load into the active area
was due to the fact that the @INC array in perl (I sound like I know what
i'm talking about, I don't) didn't include
/usr/share/mythtv/mythweather/scripts and thus none of the "special"
files..the .pm files, could be found by any of the scripts...the only one
that either worked out of the box or didn't need any .pm file was the Severe
weather forcast, which is why that worked.

To fix, I went into each of the scripts and added:

use lib "/usr/share/mythtv/mythweather/scripts";

Following this entering mythfrontend and going back into the sources setup
worked perfectly...all the scripts were able to be added to the "Active"
area.



More information about the mythtv-users mailing list