[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
This is fixed in pygame 1.9.3+ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
Hi you can just recompile the pkg cd /tmp sudo apt-get build-dep pygame apt-get source pygame vim pygame-1.9.1release+dfsg/src/joystick.c --> remove or command the printf messages out line 204 and 244 apt-get source --compile pygame sudo dpkg -i python-pygame_1.9.1release+dfsg-9ubuntu1_amd64.deb Greetings Max -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
Thanks in advance. This is still an issue in Q4 2015 and makes it unusable in my case. I require stdout to be clean for my console application. Considering this is nothing more than a recompile with appropriate flags, is there a possibility for a fix soon? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
If I'm not mistaken, there's a compile time debug option for SDL, not in pygame itself. Either way, this issue has been tracked upstream and is reported to be fixed in upstream mercurial repository: https://bitbucket.org/pygame/pygame/issue/63 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
I ran into this bug too... I took a look at the pygame sourcecode, especially the code behind the joystick.get_axis() function and I found this : #ifdef DEBUG /*printf("SDL_JoystickGetAxis value:%d:\n", value);*/ #endif So obviously the pygame package for ubuntu was compiled with the DEBUG flag set, instead of the release version The solution would be to recompile pygame correctly or, if you're after a quick hack, just delete those debug lines altogether and recompile. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pygame (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1023153] Re: Extraneous printing in Joystick.get_axis
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023153 Title: Extraneous printing in Joystick.get_axis To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/1023153/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs