Crash at (Weather has :getSunrise)

Hi,

I just released an updated taking advantage of some system5 features, like body battery and sunrise.

I saw some crashes in production and immediately tested on simulator on those devices. The crash is when checking for  (Weather has :getSunrise), didn't check for the others yet.

Error Name: Symbol Not Found Error
Occurrences: 95
First Occurrence: 2022-03-31
Last Occurrence: 2022-04-05
Devices:
fēnix® 5S Plus: 14.00, 18.00
fēnix® 5 Plus: 18.00
Instinct® 2 / Solar / Dual Power / dēzl Edition: 4.02
fēnix® 5X Plus: 18.00

 

The devices are all from the list of 'coming soon' here https://forums.garmin.com/developer/connect-iq/b/news-announcements/posts/connect-iq-system-5-sdk-now-available?_ga=2.269327736.803789313.1649088522-1222388448.1642749015

From this list i own a 6s pro solar and i do not see this crash in simulator or device. In simulator i can reproduce only on the 5 series. What is going on here, how can i avoid it? My project is set to use sdk 3.2.0 (if i increase it i have to remove some supported devices which i don't want and don't believe this is the reason anyway).

  • (updated with more details)

    The fenix 5 and fenix 5+ devices don't have Toybox.Weather.  You want to do "Toybox has :Weather" first. Devices used by the sim may not have been updated, and the watch fw may not have System 5 yet "Coming soon"

    The current firmware on the Instinct 2 is 7.03 for WW devices so it looks like the device with 4.02 is outdated, but the same has check for Weather should prevent that from crashing 

    Here's the Fenix devices with weather:

    • fēnix® 6 / 6 Solar / 6 Dual Power
    • fēnix® 6 Pro / 6 Sapphire / 6 Pro Solar / 6 Pro Dual Power / quatix® 6
    • fēnix® 6 Pro System 5 Preview
    • fēnix® 6S / 6S Solar / 6S Dual Power
    • fēnix® 6S Pro / 6S Sapphire / 6S Pro Solar / 6S Pro Dual Power
    • fēnix® 6X Pro / 6X Sapphire / 6X Pro Solar / tactix® Delta Sapphire / Delta Solar / Delta Solar - Ballistics Edition / quatix® 6X / 6X Solar / 6X Dual Power
    • fēnix® 7
    • fēnix® 7S
    • fēnix® 7X