Re: Python, Mac OS X 10.5.5 and CoreGraphics
Re: Python, Mac OS X 10.5.5 and CoreGraphics
- Subject: Re: Python, Mac OS X 10.5.5 and CoreGraphics
- From: Ronny Reichmann <email@hidden>
- Date: Sat, 4 Oct 2008 02:02:32 +0200
Hello there,
unfortunately none of the examples in /Developer/Examples/Quartz/
Python/ work anymore. I don't know if recently, I just encountered it
today. According to your answer, there should be wrappers as part of
PyObjC. Unfortunately the graphics examples from the PyObjC-website
don't work either. In order to know what is wrong I would like to find
out, if I'm probably having something running that's preventing my
code and those examples from working properly. Especially before
filing a bug, of course.
Kind regards,
Ronny
Am 04.10.2008 um 01:23 schrieb Bill Bumgarner:
On Oct 3, 2008, at 3:55 PM, Ronny Reichmann wrote:
to make it short: Does anyone "accidentally" know why CoreGraphics
doesn't
work any more on conjunction with Python? The directory that
contains the
CoreGraphics bindings is still there, but not in the PYTHONPATH
anymore.
Setting it by hand and trying to import CoreGraphics leads to a
Fatal Python
error: Interpreter not initialized (version mismatch?)
I was trying to use CoreAnimation from Python. But without
CoreGraphics
porting the simplest examples just doesn't work. So where is the
bug in my
thinking? Did something change significantly since 10.4, when this
was
working without difficulty?
There are two different bits of CoreGraphics binding. The SWIG
generated bindings that were primarily used for processing PDF
within the printing pipeline and the framework wrappers included
with PyObjC.
Both should still work.
If you have a simple example script that does not work on 10.5.5,
but worked on previous versions of the OS, file a bug and send me
the #, please.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden