[Bug 472978] Re: Save to pgm actually saves to pnm
Apparently PIL saves PGM internally as PPM unless you convert the image to grayscale first. Add proper check for format to fix the issue (perhaps to imtools save?). Here's a test case I used to verify this behavior: from Image import open im = open('Lenna.png') gim = im.convert('L') gim.save('Lenna1.pgm') im.save('Lenna2.pgm') im.save('Lenna3.ppm') -- Save to pgm actually saves to pnm https://bugs.launchpad.net/bugs/472978 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 289925] Re: Segmentation fault on amd64 in glutInitDisplayMode()
Mike C. Fletcher wrote: We could work around it by disabling GLUT error checking entirely, but that seems a bit of a nuclear option, as it would change the API. Instead I'm thinking we'll disable error checking *just* for the GLUT functions commonly called before the GLUT context is created. I've checked in changes to bzr head to implement this. Please do the following and report whether the bug is fixed for you: bzr branch lp:pyopengl # add pyopengl/OpenGL to your PYTHONPATH then run the test script. I just tested this and it still results in the same backtrace as before (I added pyopengl/OpenGL to Python path using export PYTHONPATH=path to branch/pyopengl/OpenGL on terminal.). Interestingly pyglet (http://www.pyglet.org/) gives the exact same backtrace! I tested this importing (import hello_world) the Hello World! example (http://www.pyglet.org/doc/programming_guide/hello_world.py) from Pyglet documentation into my gdb Python session. -- Segmentation fault on amd64 in glutInitDisplayMode() https://bugs.launchpad.net/bugs/289925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 289925] Re: Segmentation fault on amd64 in glutInitDisplayMode()
I just tested the package provided by Robert. It still gives segfault. It gives the same backtrace as before in https://bugs.launchpad.net/debian/+source/pyopengl/+bug/289925/comments/12 . I'm using Jaunty i386 with Mobility Radeon 9700 (64MB) here. Note that it worked just fine in Hardy using fglrx driver. -- Segmentation fault on amd64 in glutInitDisplayMode() https://bugs.launchpad.net/bugs/289925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs