[pygame-bug] Pygame.cdrom bug

Discussion in 'Python' started by rantingrick, Jan 30, 2011.

  1. rantingrick

    rantingrick Guest

    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?
     
    rantingrick, Jan 30, 2011
    #1
    1. Advertising

  2. On Sat, Jan 29, 2011 at 11:25 PM, rantingrick <> 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
     
    Benjamin Kaplan, Jan 30, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QXJpc3RlaWRpcyBCYW1wYWtvcw==?=

    CDROM path

    =?Utf-8?B?QXJpc3RlaWRpcyBCYW1wYWtvcw==?=, Jun 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,963
    Hugo Wetterberg
    Jun 24, 2004
  2. Phil Winstanley [Microsoft MVP ASP.NET]

    Re: CDROM path

    Phil Winstanley [Microsoft MVP ASP.NET], Jun 24, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    417
    Phil Winstanley [Microsoft MVP ASP.NET]
    Jun 24, 2004
  3. ChauTu

    FTP & Writing to CDROM

    ChauTu, Nov 9, 2003, in forum: Java
    Replies:
    5
    Views:
    409
  4. ChauTu

    CDROM

    ChauTu, Nov 9, 2003, in forum: Java
    Replies:
    1
    Views:
    610
    Roedy Green
    Nov 10, 2003
  5. ChauTu

    Writing to CDROM

    ChauTu, Nov 11, 2003, in forum: Java
    Replies:
    2
    Views:
    375
    Andy Fish
    Nov 11, 2003
Loading...

Share This Page