Forums

Couldn't load PNG image - file is corrupted or not enough memory

Auteur Réponses
Jump to the page: 1 - 2
ManuelV Mercredi 8 Mai 2013 à 21:59
ManuelVAnonymous

Hi there.

I just wrote an install script for Plants vs. Zombies. Installing and playing the game works perfectly fine. But when highlighting the game in the game list the following error occurs:

Couldn't load PNG image - file is corrupted or not enough memory
Extra compressed data

The icon of the Game is being displayed anyway.

I am using
Ubuntu 12.10
POL 4.2.1
Wine 1.5.29

Any ideas how to fix this?

Thank you,
Manuel Vögele
Ronin DUSETTE Mercredi 8 Mai 2013 à 22:16
Ronin DUSETTE

Im not sure. I have not seen that error. It could literally be a corrupt copy of that icon. Have you tried to reinstall it?

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
ManuelV Mercredi 8 Mai 2013 à 22:59
ManuelVAnonymous

Yes I already tried to reinstall it. Meanwhile I also tried installing it on a different machine getting the same result. (The other machine however has almost the same configuration)
Ronin DUSETTE Mercredi 8 Mai 2013 à 23:10
Ronin DUSETTE

Hmm. I wonder what is special about that image that causes it? Can you post a screenshot?

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
ManuelV Mercredi 8 Mai 2013 à 23:38
ManuelVAnonymous




Ronin DUSETTE Jeudi 9 Mai 2013 à 0:35
Ronin DUSETTE

I dont think that is a literal error from PlayOnLinux. I think its from Unity or Gnome or whatever you are using.

Im curious what the extra compressed data is.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Daerandin Jeudi 9 Mai 2013 à 18:12
DaerandinAnonymous

I just did a manual install of steam for the purpose of testing a specific game in my steam catalogue. I just noticed that when I highlight it on the game list, I get a similar message. I am using xfce4, which may account for the message being displayed differently. The warning I get say:

IDAT: Extra compressed data

There is no option to view details here. I have not encountered this previously, so I am a little at a loss as to what may cause this. I tried to chance the icon, but I still get the same message. Perhaps it is related to the icon displayed to right of the game list as that did not change with the icon on the game list.
ManuelV Jeudi 9 Mai 2013 à 20:30
ManuelVAnonymous

I researched a little and the error seems to be thrown by libpng. It occurs when the image is already loaded but the data stream hasn't reached it's end yet. Thus the error will likely happen when the image is created / saved. What I don't understand yet is why the error occures when the game is hilighted instead of when its image is loaded.
Daerandin Jeudi 9 Mai 2013 à 20:39
DaerandinAnonymous

ManuelV, did you try to change the icon just to check if you still get the warning? I am curious if this particular error could be related to the icon showing on the right side in the action tab. That image only displays when you highlight the game in question.

The similar warning I got still appeared after changing the icon in the game list.
ManuelV Jeudi 9 Mai 2013 à 21:04
ManuelVAnonymous

The error persists after changing the icon in POL. Whats strange about this is that there is no icon displayed on the right side. Since there is also no icon for a game installed via an almost identical script I assume there just is no icon?!
booman Jeudi 9 Mai 2013 à 21:09
booman

I get this error all the time. I just click "OK" and continue to launch my game.
It would be nice to get rid of the error, but this is the first I have heard someone else with the same problem.

I wonder if we go and delete the steam icons, from the system, if it would fix the problem?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Daerandin Jeudi 9 Mai 2013 à 21:35
DaerandinAnonymous

I want to point out that I also have steam installed via the offical installation script, and that produces no warning message. And I have done many other manual installations without any such warning appearing. I even did another manual install just now of another game to check if it produced such an warning message, but nothing.

So far I have only seen this warning message with the manual install I did of Steam.
booman Jeudi 9 Mai 2013 à 22:25
booman

Same here.
I have installed Steam many other times and didn't get this error.
Recently I installed Steam and Lost Planet: Extreme Conditions and got that error when I select the Steam shortcut or Lost Planet shortcut

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Codemonkey1991 Jeudi 11 Juillet 2013 à 20:03
Codemonkey1991Anonymous

Google searches for this issue only results in this thread. Has anybody figured out a workaround? Any time I select "Steam" I get this error. I manually installed Steam on Wine 1.5.31
booman Jeudi 11 Juillet 2013 à 20:04
booman

Nope, but if you just click "ok" everything still works fine.
Its just kinda annoying.

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Bladeforce Samedi 31 Aoüt 2013 à 22:26
BladeforceAnonymous

Hi, I was starting to get this error and back tracked what i did and think it may be something to do with an icon that has large dimension within the .plyonlinux/icones folder. The app giving me grief was Plant vs Zombies which extracted an icon into the above folder with a 256x256 dimension. After resizing it to 32x32 and re-saving it over the original icon the error doesnt appear for me anymore. Hope it helps others :)
petch Samedi 31 Aoüt 2013 à 22:33
petch

Could be the resaving that helped, rather than a size issue:
http://www.playonmac.com/en/topic-10442-New_Warning_Message_on_startup.html
booman Dimanche 1 September 2013 à 16:09
booman

I'm curious, does PlayOnLinux use the .local/share/icons or .PlayOnLinux/icones for the shortcut icons?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Bladeforce Jeudi 5 September 2013 à 21:57
BladeforceAnonymous

I would say the .PlayOnLinux/icones folder as the other doesnt have anywhere near as many icons as what i have installed
booman Jeudi 5 September 2013 à 23:35
booman

Me too. I only noticed icons for current and previous games I have installed.

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com