[mythtv-users] Mythweather - works in mythweb but not mythfrontend

Drew Gilbert gilbert.drew at gmail.com
Tue Sep 23 10:15:44 UTC 2008


Hi All,

I'm having trouble getting mythweather to work in the frontend, it did work 
previously before upgrading to the latest (at the time) fixes 0.21-18198.  I 
tried rolling back to the previous version, but I get the same problem.  
Strangely this still works in mythweb.

When trying to configure the sources in screen settings, I get messages like:

2008-09-19 17:20:07.706 Can't locate NWSLocation.pm in @INC (@INC contains: 
/usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 
/usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl 
/usr/share/perl5/core_perl /usr/lib/perl5/current/x86_64-linux-thread-multi 
/usr/lib/perl5/current /usr/lib/perl5/site_perl/current/x86_64-linux-thread-
multi /usr/lib/perl5/site_perl/current) at 
/usr/share/mythtv/mythweather/scripts/us_nws/nwsxml.pl line 8.

# ls -l /usr/share/mythtv/mythweather/scripts/us_nws/NWSLocation.pm
-rw-r--r-- 1 root   root     3914 2008-08-26 23:24 NWSLocation.pm

According to perldoc, I should have the $PERLLIB and $PERL5LIB environment 
variables set, so  I have done it system wide, both are the same:

# echo $PERLLIB
/usr/lib/perl5/site_perl/5.10.0:/usr/share/perl5/site_perl/5.10.0:/usr/lib/perl5/vendor_perl:
/usr/share/perl5/vendor_perl:/usr/share/perl5/vendor_perl:/usr/lib/perl5/core_perl:/usr/share/perl5/core_perl:
/usr/lib/perl5/current/x86_64-linux-thread-multi:/usr/lib/perl5/current:
/usr/lib/perl5/site_perl/current/x86_64-linux-thread-multi:
/usr/lib/perl5/site_perl/current:/usr/share/mythtv/mythweather/scripts/us_nws:
/usr/share/mythtv/mythweather/scripts/uk_bbc

The active screens that I selected prior to this breaking are still present, 
but in the details box it says "Source: Not Defined" 

The frontend is not running with root priviledges.

Any help appreciated.
Drew




More information about the mythtv-users mailing list