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 - pygame.image reports 'Surface has no palette to get' after upgrade to sdl_image 1.2.11
Summary: pygame.image reports 'Surface has no palette to get' after upgrade to sdl_ima...
Status: RESOLVED FIXED
Alias: None
Product: SDL_image
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 11:03 UTC by krshnam
Modified: 2012-01-20 17:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.