creewick / MontereyRainmeter

MacOS style widget pack for Windows
Other
337 stars 39 forks source link

WeatherCode0 in the weather widget #89

Open dvdgitman opened 1 year ago

dvdgitman commented 1 year ago

image

llingy commented 1 year ago

image

dimak222 commented 1 year ago

image

GatoCRM commented 1 year ago

Captura de pantalla 2023-10-06 200155

GatoCRM commented 1 year ago

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 commented 1 year ago

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

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.

dvdgitman commented 1 year ago

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