Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287001 - media-plugins/mythweather Current Conditions screen not working
Summary: media-plugins/mythweather Current Conditions screen not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 00:54 UTC by Jerry McDonald
Modified: 2009-11-10 16:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch for nwsxml.pl (nwsxml.patch,2.40 KB, patch)
2009-09-30 00:55 UTC, Jerry McDonald
Details | Diff
A patch which should work with current ebuilds. (ebuilds.patch,556 bytes, patch)
2009-09-30 00:56 UTC, Jerry McDonald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry McDonald 2009-09-30 00:54:05 UTC
Mythweather Current Conditions screen fails to display on current mythweather versions.  The problem is due to errors in parsing data from the NWS xml feed, as documented in MythTV bug #7128 (http://svn.mythtv.org/trac/ticket/7128).  Although that specific bug report applies to newer MythTV versions that also have a problem with the "copyright" tag, current versions in portage (17719 and 20069) have the other parsing problems.  I have backported the patch, with the exception of the copyright tags, so that it fixes the parsing problems in current portage versions.

In addition, my proposed ebuild fixes the mythweather permissions problems documented in gentoo bug #279744, which also applies to all current portage versions.  This issue is caused by the distribution not providing proper script permissions on the files, and then simply copying them to the install directory.  As shown on the MythWeather module page, these scripts need to have their permissions set (see "Script Permissions" at http://www.mythtv.org/wiki/MythWeather).

These patches also fix an issue with missing or blank Weather page in www-apps/mythweb.  This symptom is also due to the incorrect permissions problem documented above, for anybody experiencing that symptom.
Comment 1 Jerry McDonald 2009-09-30 00:55:58 UTC
Created attachment 205630 [details, diff]
The patch for nwsxml.pl
Comment 2 Jerry McDonald 2009-09-30 00:56:41 UTC
Created attachment 205632 [details, diff]
A patch which should work with current ebuilds.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2009-11-10 16:00:32 UTC
Thanks Jerry. Fixed both 0.21 and 0.22