Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28016 - [sdl-image] After upgrade to sdl_image 1.2.11, pygame.image reports 'surface has no palette to get'

Attached to Project: Arch Linux
Opened by Jagadish R (jarav) - Friday, 20 January 2012, 19:08 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 21 January 2012, 18:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrade to sdl_image 1.2.11, pygame.image reports 'surface has no palette to get' on img.get_palette().

Additional info:
* package version(s)
* config and/or log files etc.

As a result the game solarwolf is no longer playable.

Steps to reproduce:
>>> 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
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 21 January 2012, 18:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  sdl_image 1.2.12
Comment by Jagadish R (jarav) - Saturday, 21 January 2012, 07:56 GMT
Submitted a bug report to sdl_image. Apparently this will be fixed in sdl_image 1.2.12.
http://bugzilla.libsdl.org/show_bug.cgi?id=1384

Loading...