[mythtv-users] mythweather scripts

Paul Harrison mythtv at sky.com
Fri Apr 18 10:39:19 UTC 2014


On 18/04/14 11:19, Josu Lazkano wrote:
>
> 2014-04-17 19:32 GMT+02:00 Jonatan Lindblad <mythtv at comhem.se 
> <mailto:mythtv at comhem.se>>:
>
>
>     You probably need to install libjson-perl.
>
>     Cheers
>
>     -- 
>     Jonatan
>     _______________________________________________
>     mythtv-users mailing list
>     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     http://www.mythtv.org/mailman/listinfo/mythtv-users
>     http://wiki.mythtv.org/Mailing_List_etiquette
>     MythTV Forums: https://forum.mythtv.org
>
>
>
> Thankd Jonatan,
>
> I installed "libjson-perl" package, but still 2 scripts fails:
>
> 2014-04-18 12:16:12.173729 E 
>  WeatherSource::ProbeInfo(/usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_fivedayapi.pl 
> <http://metoffice_fivedayapi.pl> -v): Cannot run script
> 2014-04-18 12:16:12.374045 E 
>  WeatherSource::ProbeInfo(/usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_threehourapi.pl 
> <http://metoffice_threehourapi.pl> -v): Cannot run script
>
> $ perl 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_fivedayapi.pl 
> <http://metoffice_fivedayapi.pl> -v
> Can't locate Date/Calc.pm in @INC (@INC contains: 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice 
> /usr/local/share/mythtv/mythweather/scripts/uk_metoffice /etc/perl 
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
> /usr/local/lib/site_perl .) at 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_fivedayapi.pl 
> <http://metoffice_fivedayapi.pl> line 25.
> BEGIN failed--compilation aborted at 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_fivedayapi.pl 
> <http://metoffice_fivedayapi.pl> line 25.
>
> $ perl 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_threehourapi.pl 
> <http://metoffice_threehourapi.pl> -v
> Can't locate Date/Calc.pm in @INC (@INC contains: 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice 
> /usr/local/share/mythtv/mythweather/scripts/uk_metoffice /etc/perl 
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
> /usr/local/lib/site_perl .) at 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_threehourapi.pl 
> <http://metoffice_threehourapi.pl> line 24.
> BEGIN failed--compilation aborted at 
> /usr/share/mythtv/mythweather/scripts/uk_metoffice/metoffice_threehourapi.pl 
> <http://metoffice_threehourapi.pl> line 24.
>
> Need I more packages?
>
> Thanks and best regards.
>
> -- 
> Josu Lazkano
>

Yeah you are missing another perl module Date-Calc. I don't know what 
the proper package name will be for you though.

Paul H.


More information about the mythtv-users mailing list