[mythtv-users] MythWeather missing screens
Chuck Filson
mythtv at goodeid.com
Wed Mar 26 01:23:40 UTC 2008
On Tuesday 25 March 2008 11:20, Joe Ripley wrote:
> On Tue, Mar 25, 2008 at 12:29 AM, Chuck Filson <mythtv at goodeid.com> wrote:
> > This was a fresh os/mysql/mythtv install so no previous
> > corruption could be at fault here. I will try svn-fixes when I get a
> > chance just in case the release tarball is the source of my problems.
>
> One thing you could try is running the scripts manually, and checking
> the contents of the weather tables in the database to see if they're
> getting populated. (You can find the scripts in
> <prefix>/share/mythtv/mythweather/scripts).
>
if I cd to /usr/local/share/mythtv/mythweather and then issue the command
'./envcan.pl -u SI -t /home/chuck/temp Mississauga' the script returns valid
data.
But if it called from a my home directory (mythfrontend runs as user
chuck) '/usr/local/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl',
returns this:
Can't locate ENVCANLocation.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.8/i386-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl .)
at /usr/local/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl line 15.
BEGIN failed--compilation aborted
at /usr/local/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl line 15.
Since I can not run the screen configuration, I don't think this would be my
problem.
> To check the contents of the weather tables in the database, do
> something like this:
>
> mysql -u mythtv -pmythtv mythconverg
> select * from weatherdatalayout;
> select * from weatherscreens;
> select * from weathersourcesettings;
> select * from settings where value='WeatherDBSchemaVer';
>
> You should hopefully have working scripts that retrieve data and
> database tables ready to go. If not, let us know and we can help fix
> the problem.
mysql> select * from weatherdatalayout;
Empty set (0.01 sec)
mysql> select * from weatherscreens;
Empty set (0.01 sec)
mysql> select * from weathersourcesettings;
Empty set (0.00 sec)
mysql> select * from settings where value='WeatherDBSchemaVer';
+--------------------+------+----------+
| value | data | hostname |
+--------------------+------+----------+
| WeatherDBSchemaVer | 1000 | NULL |
+--------------------+------+----------+
1 row in set (0.00 sec)
The tables are all there but have never had anything added to them, probably
because I can not get the screen config to run.
Chuck
More information about the mythtv-users
mailing list