Hello!
I think i found a Rainmeter bug. I have checked up the code many times. I have cleaned up the code and mess left after many reviews and fixes. The skin runs quite well and its performance and behavior aren't affected in any form due to the error that is thrown over the log report window at each load and refresh time.
Rainmeter attempts to open an unnamed png file even though there isn't any pictures file to load and no instructions to do so in any Metere or Measure. The skin generates only icon files working as expected.
I post the skin and the font that has to be placed into fonts folder due to size limitation rule.
Thank you for developing this great software!
It is currently October 9th, 2024, 3:24 pm
[Bug] Rainmeter trying to open a non existent png file that hasn't been called
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
[Bug] Rainmeter trying to open a non existent png file that hasn't been called
You do not have the required permissions to view the files attached to this post.
Last edited by Jaime Méndez on December 2nd, 2022, 5:22 pm, edited 1 time in total.
-
- Rainmeter Sage
- Posts: 5538
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
I think this message is associated with this change:
Not sure you can avoid this message; as you noticed, it does not affect the skin functions.
I may be mistaken, but I believe it appears when the FileView plugin recreates the icons when a new path is applied.Change History wrote: Image meter:Fixed a long standing bug where dynamically changing an image from a valid file to a non-existent file would not reset the detected size of the meter. Also added an error in the log when this happens.
Not sure you can avoid this message; as you noticed, it does not affect the skin functions.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 523
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
I was getting this error message a while ago too.
As a workaround: create one empty (1x1) ".png" file in the directory
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring...
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
You are right, I don't thing I could avoid the error. I might be a bug related to FileView rather than to Rainmeter itself. I may be a case for the developers.
You are right, I don't thing I could avoid the error. I might be a bug related to FileView rather than to Rainmeter itself. I may be a case for the developers.
You are right, I don't thing I could avoid the error. I might be a bug related to FileView rather than to Rainmeter itself. I may be a case for the developers.
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
It works but the problem is that I'd have to place an empty file in all PC directories and subdirectories in order to get rid of the bug. The Skin is a directory browser that reads files and folders every where and represents its icon files and thumbnails pictures.
-
- Posts: 523
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
Understood. Maybe someone can offer you another solution.Jaime Méndez wrote: ↑December 2nd, 2022, 2:36 pm It works but the problem is that I'd have to place an empty file in all PC directories and subdirectories in order to get rid of the bug. The Skin is a directory browser that reads files and folders every where and represents its icon files and thumbnails pictures.
I don't know where i going from here, but i promise it won't be boring...
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
Thank you anyway for your help
-
- Posts: 523
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
I don't know where i going from here, but i promise it won't be boring...
-
- Rainmeter Sage
- Posts: 8395
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
Jaime Méndez wrote: ↑December 2nd, 2022, 2:36 pm It works but the problem is that I'd have to place an empty file in all PC directories and subdirectories in order to get rid of the bug. The Skin is a directory browser that reads files and folders every where and represents its icon files and thumbnails pictures.
This is not a bug, just an annoyance. A while ago, I reported a somewhat unrelated bug regarding image files (too lazy to search and link it here now), which resulted in the developers making checking for the image file existence more strict than before, apart from fixing the reported bug. So that's all there is to it: in the past, Rainmeter used to ignore if image files missed (i.e. silently failing), now it makes noise every time such files are missing (i.e. the "errors" in the log).
I don't like this annoyance either, but I understand that from a strictly technical point of view, if one tries to use an image that doesn't exist, some kind of message should pop up in the log. From my point of view, a warning is preferable to an error, because it doesn't alert the users so much and can be easily hidden in the log without any concerns that you miss some essential info.
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: [Bug] Rainmeter trying to open a non existent png file that hasn't been called
Thank you for your response, but I still don't understand why my code is still warning for missing png file after doing a code deep clean up, I couldn't find any instruction for such an operation. Skin is much faster an smooth now than posted here down those days when first post.
You can check it out the latest version if you want: https://forum.rainmeter.net/viewtopic.php?t=41394