raiguard / ModernGadgets

Sleek, minimalist, information-dense gadgets for the modern desktop. Inspired by the AddGadgets.com system monitoring gadgets. Built on the Rainmeter platform.
MIT License
300 stars 32 forks source link

[Diskmeter] ImageName: Unable to open warning.png #244

Closed HulkSmashBurgers closed 3 years ago

HulkSmashBurgers commented 3 years ago

Rainmeter shows this in the log every second.

ImageName: Unable to open: D:\Documents\Rainmeter\Skins\ModernGadgets\@Resources\Assets\Images\warning.png (ModernGadgets\DisksMeter\DisksMeter.ini)

SilverAzide commented 3 years ago

This is a known issue: https://forum.rainmeter.net/viewtopic.php?f=130&t=24381&start=480#p189735

The work-around is to place a small transparent image in the location mentioned in the error message. Here is a 1x1 png you can use.

warning.zip

raiguard commented 3 years ago

Yeah, I need to make time to fix all the issues and redo the HWiNFO integration. Unfortunately, this project has dropped to the bottom of my priority list (I don't even use Windows any more), but I promise I'll make time for it sometime soon.

Thanks for being on top of things SA! ❤️

HulkSmashBurgers commented 3 years ago

OK. Fixed it. Thanks for the great skin.

Not sure if it matters to the bug report, but I currently have 4 drives and haven't gotten close to the 10 drive limit.

Tweekme commented 3 years ago

I have this same issue after updating a working suite of Rainmeter/ HWiNFO64/ ModernGadgets. I only have two internal hard drives. I have no errors in the log as I cannot pull it up due to Rainmeter not being able to launch after activating Disks Meter.

I tried adding the warning.png file (there was no /Assets/Images folder, so I created them). This did not solve my issue. All other skins work until I try and activate the Disks Meter, then Rainmeter freezes and quits. It cannot be relaunched. The only fix is to reinstall ModernGadgets and setup skins again without adding Disks Meter. I am using ModernGadgets_1.7.0, hwi_710, Rainmeter-4.5.1

Please help! Thank you.

HulkSmashBurgers commented 3 years ago

Same issue here with DisksMeter.

DisksMeter can be disabled without reinstalling or reconfiguring ModernGadgets.

C:\Users\username\AppData\Roaming\Rainmeter\Rainmeter.ini

Remove the [ModernGadgets\DisksMeter] settings, save the file and launch Rainmeter.

Tweekme commented 3 years ago

Same issue here with DisksMeter.

DisksMeter can be disabled without reinstalling or reconfiguring ModernGadgets.

C:\Users\username\AppData\Roaming\Rainmeter\Rainmeter.ini

Remove the [ModernGadgets\DisksMeter] settings, save the file and launch Rainmeter.

Thanks for the reply. I do have it disabled currently (thank you for that tip!) and all other gadgets work perfect. I would like to get Disks Meter going again though. Have you found a solution? Thank you!

SilverAzide commented 3 years ago

@Tweekme, @unknownsoldierx, The Disks Meter crashing issue you are referring to has nothing to do with the missing warning.png file. See issue #247. It is caused by a bug in Rainmeter 4.5.1.

Tweekme commented 3 years ago

Thank you @SilverAzide . This indeed fixed the issue!

raiguard commented 3 years ago

This was fixed in 35e88fd8 for the next version.