landscape icon indicating copy to clipboard operation
landscape copied to clipboard

Console errors in dojo about failing to parse URL

Open ynx0 opened this issue 4 years ago • 3 comments

Describe the bug

Infrequent but persistent dojo console errors about failing to parse weather URL:

cttp: unable to parse url:
    https://wttr.in/Seattle, WA?format=j1
kick: lost %request on /http-client/0va.4se39

To Reproduce Don't know

Operating context

  • OS: ubuntu focal
  • Browser: brave
  • Landscape Version: jcqnf
  • kids cz: dp9mg

ynx0 avatar Nov 25 '21 01:11 ynx0

I think your location needs to not have spaces in it, from memory? Try entering it as Seattle,WA (no space) instead.

lycurgus avatar Nov 25 '21 10:11 lycurgus

I think your location needs to not have spaces in it, from memory? Try entering it as Seattle,WA (no space) instead.

The weather module itself seems to work though, and the underlying API (wttr.in) appears to accept the url with the space just fine

ynx0 avatar Nov 25 '21 14:11 ynx0

Should look into this when we move the weather component

arthyn avatar Feb 03 '22 19:02 arthyn