ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
[pygame] [BUG] pygame-ctypes -- some flags issue...
by Phil Hassey other posts by this author
Aug 21 2006 7:19AM messages near this date
[pygame] [BUG] pygame-ctypes -- integration with c-modules | [pygame] [BUG] pygame-ctypes -- audio and font problems
Hey,
 
 It appears that the flags going into convert() are None instead of 0...
 
   File "flames.py", line 12, in __init__
     self.tmp1 = pygame.Surface((w,h+16)).convert(8)
   File "/usr/lib/python2.4/site-packages/pygame/surface.py", line 253, in convert
     if flags & SDL_SRCALPHA:
 TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
 
 Phil
 
 		
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved