Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

WeatherCode0 in the weather widget #89

Open
dvdgitman opened this issue Sep 29, 2023 · 6 comments · May be fixed by #91
Open

WeatherCode0 in the weather widget #89

dvdgitman opened this issue Sep 29, 2023 · 6 comments · May be fixed by #91

Comments

@dvdgitman
Copy link

image

@llingy
Copy link

llingy commented Oct 5, 2023

image

@dimak222
Copy link

dimak222 commented Oct 6, 2023

image

@GatoCRM
Copy link

GatoCRM commented Oct 7, 2023

Captura de pantalla 2023-10-06 200155

@GatoCRM
Copy link

GatoCRM commented Oct 9, 2023

Captura de pantalla 2023-10-09 132333
Ok I have found the source of the problem, the OpenMeteoParser when reading from the URL is adding an extra } at the end of the code therefore making the widget search for icons and descriptions that doesnt match. If someone has any idea of how to remove that extra symbol at the end of the string would make everything run as normal.

@GatoCRM
Copy link

GatoCRM commented Oct 9, 2023

Temporary Fix
Open the following files with notepad:
My Documents\Rainmeter\Skins\Monterey@Resources\Languages\en\Widgets\Weather.inc

  • There are 4 folders inside Languages: de (deutsch); en (english); ru (russian); ua (ukrainian); open the one according to your settings selection.

My Documents\Rainmeter\Skins\Monterey@Resources\Scripts\Widgets\Weather.inc
Make a copy of the orginal files as a backup in case something doesnt work.

Inside the file on languages you need to find the lines containing tWeatherCode and add the symbol } after each number as seen in the image below:
Captura de pantalla 2023-10-09 134138

In the file in the script folder you need to find the section titled [Variables] and under IconName add the symbol } after each number as seen in the image below:
Captura de pantalla 2023-10-09 134225

Go to Rainmeter and update the skin and it should all be working fine now until the skin is properly fixed in the future.

@amzon-ex amzon-ex linked a pull request Oct 9, 2023 that will close this issue
@dvdgitman
Copy link
Author

Temporary Fix Open the following files with notepad: My Documents\Rainmeter\Skins\Monterey@Resources\Languages\en\Widgets\Weather.inc

  • There are 4 folders inside Languages: de (deutsch); en (english); ru (russian); ua (ukrainian); open the one according to your settings selection.

My Documents\Rainmeter\Skins\Monterey@Resources\Scripts\Widgets\Weather.inc Make a copy of the orginal files as a backup in case something doesnt work.

Inside the file on languages you need to find the lines containing tWeatherCode and add the symbol } after each number as seen in the image below: Captura de pantalla 2023-10-09 134138

In the file in the script folder you need to find the section titled [Variables] and under IconName add the symbol } after each number as seen in the image below: Captura de pantalla 2023-10-09 134225

Go to Rainmeter and update the skin and it should all be working fine now until the skin is properly fixed in the future.

That did the trick! thanks man

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants