We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1384

Summary: pygame.image reports 'Surface has no palette to get' after upgrade to sdl_image 1.2.11
Product: SDL_image Reporter: krshnam
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86   
OS: Linux   

Description krshnam 2012-01-20 11:03:07 UTC
After upgrade to the recent sdl_image 1.2.11, pygame.image reports error on img.get_palette():


>>> import pygame
>>> img = pygame.image.load('/usr/share/solarwolf/data/fire.png')
>>> pal = img.get_palette()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
error: Surface has no palette to get

As a result the game solarwolf is no longer playable.
Comment 1 Sam Lantinga 2012-01-20 17:05:09 UTC
This is fixed in 1.2.12 which is being released shortly.