userdebug-20210227-01: issues #48

Closed
opened 2021-02-27 10:33:42 +00:00 by arwagner · 12 comments

First impression: yeah! Impressive! Cool stuff! :)

  • I seem not be able to add widgets with this release. Adding the bold one paints the frame but as soon as I leave the adding nothing is added. Adding the clock widget gives a dark widget without display.
  • Menu: for whatever reason the Text item is black on dark grey again. All others display nicely white on dark grey. (IOW #27 comes back but just for one menu item.)
  • Text displays: I guess the icon in the lower right should collate similar reports to show only the most recent one. This does not work for Flugwetterberatung (However: all of them show the same date/timestamp)
First impression: yeah! Impressive! Cool stuff! :) - [ ] I seem not be able to add widgets with this release. Adding the `bold` one paints the frame but as soon as I leave the adding nothing is added. Adding the clock widget gives a dark widget without display. - [ ] Menu: for whatever reason the `Text` item is black on dark grey again. All others display nicely white on dark grey. (IOW #27 comes back but just for one menu item.) - [ ] Text displays: I guess the icon in the lower right should collate similar reports to show only the most recent one. This does not work for `Flugwetterberatung` (However: all of them show the same date/timestamp)

1: I cannot reproduce this. Please reboot the phone and retry. Sometimes app install/uninstall while widgets are visible seems to brick widget placing functionality until the next phone reboot. This seems to have nothing to do with my app. Please let me know if the error persists!

2: fixed: 59ffe177e1

3: the dwd has articles that I call "features", they usually keep 1-3 of them published on their homepage. They are more or lees freestyle texts about something that has to do with weather. As they always cover different topics, they are excluded from this filter by purpose, and you always see all of them. They are fun to read and should be all visible. 😄

1: I cannot reproduce this. Please reboot the phone and retry. Sometimes app install/uninstall while widgets are visible seems to brick widget placing functionality until the next phone reboot. This seems to have nothing to do with my app. Please let me know if the error persists! 2: fixed: https://codeberg.org/Starfish/TinyWeatherForecastGermany/commit/59ffe177e1409b7415ddfaae8dff2f655d0c7733 3: the dwd has articles that I call "features", they usually keep 1-3 of them published on their homepage. They are more or lees freestyle texts about something that has to do with weather. As they always cover different topics, they are *excluded* from this filter by purpose, and you always see all of them. They are fun to read and should be all visible. 😄

You can try a new userdebug...

You can try a new userdebug...

1: I cannot reproduce this. Please reboot the phone and retry. Sometimes app install/uninstall while widgets are visible seems to brick widget placing functionality until the next phone reboot. This seems to have nothing to do with my app. Please let me know if the error persists!

Indeed, rebooting sort of cured things. Could have thought of that myself. Sorry.

  • Remove the app
  • Reboot
  • Install the userdebug again
  • Start the app => Hamburg Innenstadt all seems fine
  • Add widgets: I added all of them to cross check, all seems fine
  • Change the location slightly southwards to Finkenwerder
  • The widgets went into ? mode as expected
  • Clicking a widget: The application keeps crashing

I guess crashing report happend as it was still fetching data in the background and something was uninitialized. Wild guess, but it would explain why this cured itself. So now I'm basically back to the old setup with the cool new stuff.

userdebug-20210227-02 indeed cures issue 2 :) (Got it right away, now that I have a procedure.)

As for 3: understood. I didn't dive into the flight weather so I was missled by the title. Great idea to fetch them as well!

> 1: I cannot reproduce this. Please reboot the phone and retry. Sometimes app install/uninstall while widgets are visible seems to brick widget placing functionality until the next phone reboot. This seems to have nothing to do with my app. Please let me know if the error persists! Indeed, rebooting sort of cured things. Could have thought of that myself. Sorry. - Remove the app - Reboot - Install the userdebug again - Start the app => `Hamburg Innenstadt` all seems fine - Add widgets: I added all of them to cross check, all seems fine - Change the location slightly southwards to `Finkenwerder` - The widgets went into `?` mode as expected - Clicking a widget: `The application keeps crashing` I guess crashing report happend as it was still fetching data in the background and something was uninitialized. Wild guess, but it would explain why this _cured itself_. So now I'm basically back to the old setup with the cool new stuff. userdebug-20210227-02 indeed cures issue 2 :) (Got it right away, now that I have a procedure.) As for 3: understood. I didn't dive into the _flight weather_ so I was missled by the title. Great idea to fetch them as well!

Ok, I have to fix this widget issue before release.... thanks!

Ok, I have to fix this widget issue before release.... thanks!

I do it exactly as you told and it does not crash... not good....

I do it exactly as you told and it does *not* crash... not good....

BTW: your approach in display is pretty similar to what I did for a simple program parsing the RTTY transmissions from Pinneberg for coastal and sea weather (which will take the better part of the day and involves funny stuff like an HF radio with SSB mode, 3.5mm audio cable, the sound card and fldigi. Just to get the stuff in you just added to your app ;)

In my simple tool used a different sorting:

    msgpriority = [
        # Warnings
        ['WODL45', 'WWXX60', 'WOEN69', 'WOEN88', 'WOBQ61', 'NODL40', 'NODL61'],
        
        # Coastal weather
        ['FQEN51', 'FQEN71'],
        
        # Sea weather
        [
            'FQEN70', 'FQEN50',
            'FQMM80', 'FQMM60',
            'STFI42',
        ],
        
        # Station reports (encoded)
        [ 'SXEN40', 'SXMM41', 'SMVX41', 'SMVX41-45', 'SIVX41-45', 'SMVX25-27' ],
        
        # Timelines
        [
            'FEBQ72', 'FEBQ52',
            'FEEN73', 'FEEN53',
            'FEMM74', 'FEMM54',
            'FQEN75', 'FEAE55',
            'FAEA75', 'FQEN55',
            'FQNT76', 'FQNT56',
            'FQEQ77', 'FQEW57',
            'FQMM78', 'FQMM58',
            'FQMM79', 'FQMM59',
         ]
    ]

And I added msg -> title translations like

    type2name = {
        'FQEN70': 'Seewetter Nord- und Ostsee',
        'FQEN71': 'Küstenwetter Nord- und Ostsee',
        'FEBQ72': 'Mittelfrist Ostsee, 5d',
        'FEEN73': 'Mittelfrist Nordsee, 5d',
        'FEMM74': 'Mittelfrist Mittelmeer, für 5d',
        'FQEN75': 'Mittelfrist Norwegische See & Ostsee',
        'FAEA75': 'Mittelfrist E-Atlantik, 5d',
        'FQNT76': 'Mittelfrist N-Atlantik (Pentlands bis Südwestgrönland), 2d',
        'FQEQ77': 'Mittelfrist W-europ. Gewässer (S-Irland bis Kanaren S), 2d',
        'FQMM78': 'Mittelfrist W-Mittelmeer (Alboran bis Tunis), 2d',
        'FQMM79': 'Mittelfrist E-Mittelmeer (E Tunis bis Rhodos/Zypern), 2d',
        'FQMM80': 'Seewetter Mittelmeer',
        'SMVX41-45': 'Schiffswettermeldungen: Nordatlantik und EG-Meer ',
        'SIVX41-45': 'Schiffswettermeldungen: Nordatlantik und EG-Meer ',
        'SMVX25-27': 'Bojenwettermeldungen: Atlantik und Nordpolarmeer',
        'NOXX70': 'Hinweis auf Datennutzung',
        'NODL61': 'Hinweise zu Störungen und Ausfällen',

        'FQEN50': 'Seewetter Nord- und Ostsee',
        'FQEN51': 'Küstenwetter Nord- und Ostsee',
        'FEBQ52': 'Mittelfrist Ostsee, Prognosen 5d',
        'FEEN53': 'Mittelfrist Nordsee, Prognosen 5d',
        'FEMM54': 'Mittelfrist Mittelmeer, Prognosen 5d',
        'FEAE55': 'Mittelfrist E-Atlantik, Prognosen 5d',
        'FQEN55': 'Mittelfrist Norwegische See & Ostsee',
        'FQNT56': 'Mittelfrist N-Atlantik (Pentlands bis SW-Grönland), Prognosen 2d',
        'FQEW57': 'Mittelfrist W-europ. Gewässer (S-Irland bis Kanaren S), Prognosen 2d',
        'FQMM58': 'Mittelfrist W-Mittelmeer (Alboran bis Tunis), Prognosen 2d',
        'FQMM59': 'Mittelfrist E-Mittelmeer (E Tunis bis Rhodos/Zypern), Prognosen 2d',
        'FQMM60': 'Seewetter Mittelmeer',
        'SXEN40': 'Stationsmeldungen Nordsee / Ostsee',
        'SXMM41': 'Stationsmeldungen Mittelmeer',
        'SMVX41': 'Schiffswettermeldungen: Nordatlantik und EG-Meer ',
        'NOXX50': 'Hinweis auf Datennutzung',
        'NODL40': 'Hinweise zu Störungen und Ausfällen',

        'WODL45': 'Warnungen: Starkwind & Sturm',
        'WOBQ61': 'Warnungen: Ostsee',
        'WOEN69': 'Warnungen: Nord- und Ostsee',
        'WOEN88': 'Warnungen: Wetter',
        'WWXX60': 'Nautische Warnnachrichten',
        # Other
        'STFI42': 'Finnish Ice Report',
    }

AFAIK, the codes (dict keys) correspond to the file names in opendata.

From this I can create a static html like that expands upon clicking.

image

BTW: your approach in display is pretty similar to what I did for a simple program parsing the RTTY transmissions from Pinneberg for coastal and sea weather (which will take the better part of the day and involves funny stuff like an HF radio with SSB mode, 3.5mm audio cable, the sound card and fldigi. Just to get the stuff in you just added to your app ;) In my simple tool used a different sorting: ```python msgpriority = [ # Warnings ['WODL45', 'WWXX60', 'WOEN69', 'WOEN88', 'WOBQ61', 'NODL40', 'NODL61'], # Coastal weather ['FQEN51', 'FQEN71'], # Sea weather [ 'FQEN70', 'FQEN50', 'FQMM80', 'FQMM60', 'STFI42', ], # Station reports (encoded) [ 'SXEN40', 'SXMM41', 'SMVX41', 'SMVX41-45', 'SIVX41-45', 'SMVX25-27' ], # Timelines [ 'FEBQ72', 'FEBQ52', 'FEEN73', 'FEEN53', 'FEMM74', 'FEMM54', 'FQEN75', 'FEAE55', 'FAEA75', 'FQEN55', 'FQNT76', 'FQNT56', 'FQEQ77', 'FQEW57', 'FQMM78', 'FQMM58', 'FQMM79', 'FQMM59', ] ] ``` And I added msg -> title translations like ```python type2name = { 'FQEN70': 'Seewetter Nord- und Ostsee', 'FQEN71': 'Küstenwetter Nord- und Ostsee', 'FEBQ72': 'Mittelfrist Ostsee, 5d', 'FEEN73': 'Mittelfrist Nordsee, 5d', 'FEMM74': 'Mittelfrist Mittelmeer, für 5d', 'FQEN75': 'Mittelfrist Norwegische See & Ostsee', 'FAEA75': 'Mittelfrist E-Atlantik, 5d', 'FQNT76': 'Mittelfrist N-Atlantik (Pentlands bis Südwestgrönland), 2d', 'FQEQ77': 'Mittelfrist W-europ. Gewässer (S-Irland bis Kanaren S), 2d', 'FQMM78': 'Mittelfrist W-Mittelmeer (Alboran bis Tunis), 2d', 'FQMM79': 'Mittelfrist E-Mittelmeer (E Tunis bis Rhodos/Zypern), 2d', 'FQMM80': 'Seewetter Mittelmeer', 'SMVX41-45': 'Schiffswettermeldungen: Nordatlantik und EG-Meer ', 'SIVX41-45': 'Schiffswettermeldungen: Nordatlantik und EG-Meer ', 'SMVX25-27': 'Bojenwettermeldungen: Atlantik und Nordpolarmeer', 'NOXX70': 'Hinweis auf Datennutzung', 'NODL61': 'Hinweise zu Störungen und Ausfällen', 'FQEN50': 'Seewetter Nord- und Ostsee', 'FQEN51': 'Küstenwetter Nord- und Ostsee', 'FEBQ52': 'Mittelfrist Ostsee, Prognosen 5d', 'FEEN53': 'Mittelfrist Nordsee, Prognosen 5d', 'FEMM54': 'Mittelfrist Mittelmeer, Prognosen 5d', 'FEAE55': 'Mittelfrist E-Atlantik, Prognosen 5d', 'FQEN55': 'Mittelfrist Norwegische See & Ostsee', 'FQNT56': 'Mittelfrist N-Atlantik (Pentlands bis SW-Grönland), Prognosen 2d', 'FQEW57': 'Mittelfrist W-europ. Gewässer (S-Irland bis Kanaren S), Prognosen 2d', 'FQMM58': 'Mittelfrist W-Mittelmeer (Alboran bis Tunis), Prognosen 2d', 'FQMM59': 'Mittelfrist E-Mittelmeer (E Tunis bis Rhodos/Zypern), Prognosen 2d', 'FQMM60': 'Seewetter Mittelmeer', 'SXEN40': 'Stationsmeldungen Nordsee / Ostsee', 'SXMM41': 'Stationsmeldungen Mittelmeer', 'SMVX41': 'Schiffswettermeldungen: Nordatlantik und EG-Meer ', 'NOXX50': 'Hinweis auf Datennutzung', 'NODL40': 'Hinweise zu Störungen und Ausfällen', 'WODL45': 'Warnungen: Starkwind & Sturm', 'WOBQ61': 'Warnungen: Ostsee', 'WOEN69': 'Warnungen: Nord- und Ostsee', 'WOEN88': 'Warnungen: Wetter', 'WWXX60': 'Nautische Warnnachrichten', # Other 'STFI42': 'Finnish Ice Report', } ``` AFAIK, the `codes` (dict keys) correspond to the file names in opendata. From this I can create a static html like that expands upon clicking. ![image](/attachments/2991d3e2-aa68-4542-882f-62069d7671d4)

Funny, did not know that they do such a broadcast 👍

Funny, did not know that they do such a broadcast 👍

I do it exactly as you told and it does not crash... not good....

Hm. Just went through all my steps above again, everything is fine now here as well. So, I can not force it again. I hate those... I'll add it to my observation list and see if it happens ever again.

What I see that did come back however, on the last cycle is the repeated entry from the features. I'm not sure if this is intended that way:

image

I think I should see all articles with the violet dot, so the article about the fliegende Teleskop and also the article about Stratosphärenerwärmung but each only once. Right now I have both of them 4 times.

> I do it exactly as you told and it does not crash... not good.... Hm. Just went through all my steps above again, everything is fine now here as well. So, I can not force it again. I hate those... I'll add it to my observation list and see if it happens ever again. What I see that did come back however, on the last cycle is the repeated entry from the features. I'm not sure if this is intended that way: ![image](/attachments/e7d37165-2d56-403a-8eb9-5b949fa7d4f1) I think I should see all articles with the violet dot, so the article about the `fliegende Teleskop` and also the article about `Stratosphärenerwärmung` but each only once. Right now I have both of them 4 times.

Funny, did not know that they do such a broadcast 👍

Its a bit like time travel: you're back in the really early days of digital data. Single sideband transmissions on HF at 50 baud, in 5 bit encoding. There are also forecast maps transmitted as FAX. But you can receive that out there, way beyond the coverage of mobile phones.

cf. https://www.dwd.de/DE/fachnutzer/schifffahrt/funkausstrahlung/node.html

> Funny, did not know that they do such a broadcast 👍 Its a bit like time travel: you're back in the _really early days_ of digital data. Single sideband transmissions on HF at 50 baud, in 5 bit encoding. There are also forecast maps transmitted as FAX. But you can receive that out there, way beyond the coverage of mobile phones. cf. https://www.dwd.de/DE/fachnutzer/schifffahrt/funkausstrahlung/node.html

This one was tricky, but is fixed: e222246b3c

This one was tricky, but is fixed: https://codeberg.org/Starfish/TinyWeatherForecastGermany/commit/e222246b3c30f7cb94c55aeed87ede7a783a4b54

Just installed the RC1 and it looks good :)

The costal report lacks a title. Maybe missing from the original file?

I also just noticed, turning the phone to landscape, that there is an icon for the text forecasts right of the warnings icon. Obviously, my screen is too small to display it in portrait. As we got some fog warnings today, I also noticed the yellow marker next to the actual weather hour display and I can even click it to see the actual warning. Nice :)

This made me think: we get the warnings shortcut icon if warnings are enabled in the settings. Then we now also get the icons in the general weather bar. Would it make sense to swap text forecast and warnings short cuts, simply as on a small screen I'd see the warnings now anyway and on larger displays it wouldn't matter?

Just installed the RC1 and it looks good :) The costal report lacks a title. Maybe missing from the original file? I also just noticed, turning the phone to landscape, that there is an icon for the text forecasts right of the warnings icon. Obviously, my screen is too small to display it in portrait. As we got some fog warnings today, I also noticed the yellow marker next to the actual weather hour display and I can even click it to see the actual warning. Nice :) This made me think: we get the warnings shortcut icon if warnings are enabled in the settings. Then we now also get the icons in the general weather bar. Would it make sense to swap text forecast and warnings short cuts, simply as on a small screen I'd see the warnings now anyway and on larger displays it wouldn't matter?

Just noticed you built a release. Moved the missing translation to a new issue.

Just noticed you built a release. Moved the missing translation to a new issue.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Starfish/TinyWeatherForecastGermany#48
There is no content yet.