|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Le 21 oct. 09 à 01:51, Jeff Laing a écrit :
This is a long shot, but I know in Snow Leopard, python has been recompiled as a 64-bit binary, which broke a number of things.
Have you tried setting the environment variable:
VERSIONER_PYTHON_PREFER_32_BIT=yes
to use the 32-bit python binary, as described in the python(1) manual page?
Yes, I found that one already and no, it does not make the script work.
I was thinking that perhaps this 64-bit thing has confused the binding mechanism. If you look at the error,
TypeError: in method 'CGBitmapContextCreateWithColor', argument 4 of type 'CGFloat const [5]'
the suggestion that the fourth argument is supposed to be a FIVE element array is just weird - it's an RGBA color specifier - what does that fifth element specify? Passing in an additional zero didn't help either.
Alternately, is it possible that I need to pass in a fully fledged object (of some CG class) at that point rather than a tuple of reals? ie, is CGFloat no longer bindable to Python?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@anazys.com
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartz-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >Snow Leopard breaks Python binding to CGBitmapContextCreateWithColor (From: Jeff Laing <email@hidden>) | |
| >Re: Snow Leopard breaks Python binding to CGBitmapContextCreateWithColor (From: Ben Gertzfield <email@hidden>) | |
| >RE: Snow Leopard breaks Python binding to CGBitmapContextCreateWithColor (From: Jeff Laing <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.