https://bugs.kde.org/show_bug.cgi?id=514053

            Bug ID: 514053
           Summary: Environment Canada (envcan) weather provider broken.
                    API structure changed!
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Weather widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

The Environment Canada weather data provider has stopped working. Investigation
shows Environment Canada restructured their data distribution server
(dd.weather.gc.ca).

Old URL format (no longer works, returns 404):
https://dd.weather.gc.ca/citypage_weather/xml/ON/s0000458_e.xml

New URL format (works, confirmed):
https://dd.weather.gc.ca/today/citypage_weather/ON/{HH}/YYYYMMDDTHHMMSS.xxxZ_MSC_CitypageWeather_s0000458_en.xml

Key changes:
1. Added /today/ prefix
2. Removed /xml/ subdirectory
3. Added hourly subdirectories (/00/ through /23/)
4. Filename changed from {stationId}_e.xml to timestamped
{timestamp}_MSC_CitypageWeather_{stationId}_en.xml

The envcan ion at /usr/lib64/qt6/plugins/plasma/weather_ions/envcan.so needs to
be updated to use the new API structure.

Steps to reproduce:
1. Add Weather Report widget
2. Configure with Environment Canada provider and any Canadian location (I've
used Toronto)
3. Widget fails to fetch data

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to