Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > [pygame-bug] Pygame.cdrom bug

Reply
Thread Tools

[pygame-bug] Pygame.cdrom bug

 
 
rantingrick
Guest
Posts: n/a
 
      01-30-2011

Hello folks,

Pygame --the best little 2d game engine in Pythoina-- is great for
little 2d one off games and such (or so i've heard). I really don't do
much 2d graphics but pygame has some other helpful modules so i
downloded it about a year or so ago although i had not used it until
today. I just wanted to be ready just incase the 2d bug bit me. So
recently I wanted to do some cdrom automation for one of my Tkinter
scripts and thought... Hey, i finally found a good use for that old
pygame module!

So with much anticipation i moseyed on over to my site-packages folder
and dusted off the old pygame module and docs and i was coding away
just happy as a clam. I had my initialization working well, my
ejections were a breeze, and i even had some boolean testing
functionality all wrapped up nicely. Boy was i on cloud nine! And just
as i was finishing up the interface class with a "close" method i
realized in horror... YOU CAN OPEN THE CD TRAY WITH PYGAME HOWEVER FOR
SOME CRUEL AND UNJUST REASON YOU CANNOT CLOSE IT! WTF?

Yes at this point i realized that without a method to close the cd
tray my little module was useless. Sure i could drop into my OS
functionality and close the cdtray by first setting up a device handle
and calling a few underlying Windows functions however i am convinced
that this basic functionality should be a part of any cdrom interface.
Why would someone create such an interface and leave out such an
important method? Surely this functionality must be available through
the SDL API? What gives pygame developers? What gives?

 
Reply With Quote
 
 
 
 
Benjamin Kaplan
Guest
Posts: n/a
 
      01-30-2011
On Sat, Jan 29, 2011 at 11:25 PM, rantingrick <(E-Mail Removed)> wrote:
>
> Hello folks,
>
> Pygame *--the best little 2d game engine in Pythoina-- is great for
> little 2d one off games and such (or so i've heard). I really don't do
> much 2d graphics but pygame has some other helpful modules so i
> downloded it about a year or so ago although i had not used it until
> today. I just wanted to be ready just incase the 2d bug bit me. So
> recently I wanted to do some cdrom automation for one of my Tkinter
> scripts and thought... Hey, i finally found a good use for that old
> pygame module!
>
> So with much anticipation i moseyed on over to my site-packages folder
> and dusted off the old pygame module and docs and i was coding away
> just happy as a clam. I had my initialization working well, my
> ejections were a breeze, and i even had some boolean testing
> functionality all wrapped up nicely. Boy was i on cloud nine! And just
> as i was finishing up the interface class with a "close" method i
> realized in horror... YOU CAN OPEN THE CD TRAY WITH PYGAME HOWEVER FOR
> SOME CRUEL AND UNJUST REASON YOU CANNOT CLOSE IT! *WTF?
>
> Yes at this point i realized that without a method to close the cd
> tray my little module was useless. Sure i could drop into my OS
> functionality and close the cdtray by first setting up a device handle
> and calling a few underlying Windows functions however i am convinced
> that this basic functionality should be a part of any cdrom interface.
> Why would someone create such an interface and leave out such an
> important method? Surely this functionality must be available through
> the SDL API? What gives pygame developers? What gives?
>
> --


1) That's a feature request (something isn't there that should be
there), not a bug (something that doesn't follow documented behaviors)

2) If you have a feature request or bug for a 3rd party package,
moaning about it here won't do anything. Try asking nicely either on
the project's mailing list or on the project's bug tracker.
http://www.pygame.org/wiki/patchesandbugs
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
ASP.NET Login control bug or SQL 2005 bug? RedEye ASP .Net 2 12-13-2005 10:57 AM
Re: BUG? OR NOT A BUG? John ASP .Net 2 09-21-2005 10:31 AM
Bug Parade Bug 4953793 Michel Joly de Lotbiniere Java 4 12-02-2003 05:05 AM
how to report bug to g++ ? got a bug and fixed up source code DarkSpy C++ 4 06-27-2003 09:05 AM



Advertisments