Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17428 - [mythweather] 0.22-1 search returns no results

Attached to Project: Arch Linux
Opened by Dirk Beer (rdbeer) - Monday, 07 December 2009, 18:59 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 06 February 2010, 21:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Mythweather location search does not find any locations. For example, searches for "92104" or "San Diego, CA" or "San Diego" or "Frankfurt" result in the message: "Search complete. Results: 0".

Additional info:
* package version(s)
extra/mythweather 0.22-1 (mythtv-extras)
Weather checking plugin for MythTV

* config and/or log files etc.
mythfrontend.log excerpt attached.

Steps to reproduce:
Use mythfrontend to go to Information Center -> Weather -> Current Conditions -> English units, then enter city name and press "Search"
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Saturday, 06 February 2010, 21:51 GMT
Reason for closing:  Fixed
Comment by Dirk Beer (rdbeer) - Monday, 07 December 2009, 19:18 GMT
Here is the mythfrontend log.
Comment by Dirk Beer (rdbeer) - Monday, 07 December 2009, 19:38 GMT
One problem was a missing dependency: perl-date-manip 5.54-1

A remaining problem is that all scripts (except one of the ENVCAN scripts ... I can actually find locations in Canada) are failing with messages like this:

2009-12-07 11:30:13.843 Base class package "XML::SAX::Base" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /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 /usr/lib/perl5/site_perl/current .).
at ENVCANMapSearch.pm line 8
BEGIN failed--compilation aborted at ENVCANMapSearch.pm line 8.
Compilation failed in require at /usr/share/mythtv/mythweather/scripts/ca_envcan/envcan_animaps.pl line 16.
BEGIN failed--compilation aborted at /usr/share/mythtv/mythweather/scripts/ca_envcan/envcan_animaps.pl line 16.

2009-12-07 11:30:14.501 WeatherSource::ProbeInfo(/usr/share/mythtv/mythweather/scripts/us_nws/animaps.pl -v), Error: Script Returned error 2
2009-12-07 11:30:14.501 Base class package "XML::SAX::Base" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /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 /usr/lib/perl5/site_perl/current .).
at MapSearch.pm line 4
BEGIN failed--compilation aborted at MapSearch.pm line 4.
Compilation failed in require at /usr/share/mythtv/mythweather/scripts/us_nws/animaps.pl line 6.
BEGIN failed--compilation aborted at /usr/share/mythtv/mythweather/scripts/us_nws/animaps.pl line 6.

...
Comment by Dirk Beer (rdbeer) - Monday, 07 December 2009, 20:28 GMT
Part of the remaining problem was another missing dependency: perl-xml-sax.

The scripts still don't work, though. The main scripts have problems finding the helper scripts, even though current directory (".") is in the @INC:

[mythtv@obmyth ~]$ /usr/share/mythtv/mythweather/scripts/us_nws/maps.pl
Can't locate MapSearch.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /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 /usr/lib/perl5/site_perl/current .) at /usr/share/mythtv/mythweather/scripts/us_nws/maps.pl line 6.
BEGIN failed--compilation aborted at /usr/share/mythtv/mythweather/scripts/us_nws/maps.pl line 6.

Comment by Dirk Beer (rdbeer) - Monday, 07 December 2009, 20:32 GMT
Solved! The problem with finding helper scripts I mentioned in my last comment doesn't seem to affect mythweather operation in the mythfrontend.

So I think the only changes needed to fix this problem are to add these dependencies:

perl-date-manip
perl-xml-sax
Comment by Dirk Beer (rdbeer) - Monday, 07 December 2009, 21:09 GMT
NOT solved! :(

Apparently further dependencies are missing... e.g. perl-image-size, and maybe others.
Comment by Dirk Beer (rdbeer) - Monday, 07 December 2009, 21:19 GMT
+ perl-soap-lite

Loading...