Opened 8 years ago
Closed 8 years ago
#13118 closed Patch - Bug Fix (fixed)
Mythweather Canada script is broken
Reported by: | Owned by: | Stuart Auchterlonie | |
---|---|---|---|
Priority: | minor | Milestone: | 30.0 |
Component: | Plugin - MythWeather | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When I go into Setup -> InfoCenter? -> Weather -> Screen I see the following error message in the log:
WeatherSource::ProbeInfo?(/usr/local/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl -v): Cannot run script
Running the script by hand yields:
\C no longer supported in regex; marked by <-- HERE in m/Temperature:\</b\>\s*(-?\d*\.?\d*)\°\;\ <-- HERE C\s*\<br/\>/ at /usr/local/share/mythtv/mythweather/scripts/ca_envcan/ENVCANParser.pm line 114. Compilation failed in require at /usr/local/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl line 24. BEGIN failed--compilation aborted at /usr/local/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl line 24.
Patch at https://github.com/MythTV/mythtv/pull/152