[Pythonmac-SIG] Which version of python on OSX Lion 10.7.2

2011-12-11 Thread Erik van Blokland
somehow a freak version, or are there really multiple versions floating around? Thanks! Erik van Blokland ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] improving interactivity in scripts

2011-05-04 Thread Erik van Blokland
On 4 mei 2011, at 11:41, Adam Morris wrote: > Could you suggest a package or different packages to use to get me > things like checkboxes in my simple dialog boxes that also ask for > input? I've found the Vanilla library easy to work with to build simple dialogs, but more complex stuff as well

Re: [Pythonmac-SIG] OS X compatibility of Appscript

2010-11-20 Thread Erik van Blokland
On Nov 19, 2010, at 11:47 PM, Mark Johannessen wrote: > I think I've tracked down this error to the use of a python Appscript call: > > The process has forked and you cannot use this CoreFoundation > functionality safely. You MUST exec(). > Break on > __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE

[Pythonmac-SIG] __import__('pkg_resources').declare_namespace(__name__)

2010-11-10 Thread Erik van Blokland
Hi, Once more looking at the problem that keeps on giving. In short: http://code.activestate.com/lists/pythonmac-sig/4/ Hard crash flagged with: USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER Background: A helpful person on the twisted.web list found that loading sp

Re: [Pythonmac-SIG] __import__('pkg_resources').declare_namespace(__name__)

2010-11-06 Thread Erik van Blokland
I've found something interesting. When using setuptools-0.6c11-py2.6.egg importing pkg_resources causes Carbon and PyObjCTools to be loaded. With setuptools-0.6c9-py2.6.egg this is not the case. This is relevant in situations where one doesn't want to import OSX API modules before daemonising a

[Pythonmac-SIG] Fwd: [Twisted-Python] _twistd_unix.py / daemonize() / OSX / USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER

2010-10-13 Thread Erik van Blokland
MANAGERReply-To: Twisted general discussion <twisted-pyt...@twistedmatrix.com>On Oct 13, 2010, at 12:05 PM, Erik van Blokland wrote:On Oct 13, 2010, at 5:52 PM, Phil Mayers wrote:Other info indicates this is Apple trying to be clever and "protect" applications from some signal hand

[Pythonmac-SIG] USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER

2010-10-13 Thread Erik van Blokland
Hi, This question is about issues with Twisted on OSX. It might be too twistd specific, the issue has popped up in other OSX 10.6 / python contexts. So I will give it a shot. Last year I struggled with crashes in a process using twisted.web, Quartz and OSX 10.6: http://mail.python.org/pi

Re: [Pythonmac-SIG] Installing Python 2.6.4 alongside stock python 2.6.1 on SnowLeopard

2009-12-07 Thread Erik van Blokland
On 7 dec 2009, at 19:55, Ned Deily wrote: >> Leopard. Any pointers are welcome. > > You need to install the optional 10.4u SDK. It is included in the Xcode > installer (on the Snow Leopard DVD) but, by default, is not selected for > installation. Ai caramba! I had indeed not installed it fr

[Pythonmac-SIG] Installing Python 2.6.4 alongside stock python 2.6.1 on SnowLeopard

2009-12-07 Thread Erik van Blokland
Hi, sorry to bother, but I've run into a spot of trouble in an area I'm not familiar with. (Ronald, this is a follow up of the post I sent yesterday, I'm sorry for the moving target. I'm stuck.) I installed python 2.6.4 on Snow Leopard 10.6.2. I used the prepackaged .dmg installer from python.

Re: [Pythonmac-SIG] Quartz, twisted.web and CGBitmapContextCreate

2009-11-26 Thread Erik van Blokland
Ronald, Orestis, Here's a small script that reproduces the crash. Stock Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51), current twistd. Background: an earlier version of my app uses CoreGraphics rather than Quartz and has been very reliable in twisted, python 2.3.5, OSX 10.4. CoreGraphics in

[Pythonmac-SIG] Quartz, twisted.web and CGBitmapContextCreate

2009-11-25 Thread Erik van Blokland
Hi all, I'm hesitant to write this mail, but after a day of fruitless debugging, I need a reality check. OSX 10.6.2, stock Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51). At the center is a python object intended to generate a bitmap image. It uses CGBitmapContextCreate to make a new context

Re: [Pythonmac-SIG] CoreGraphics, 10.5

2008-02-18 Thread Erik van Blokland
for 1 component and 8 bits, but I don't know whether the mask itself should. I've posted the updated test script here: http://erik.letterror.com/cg/cgMaskTestPost.py Thanks for looking though! :) Erik >> On 16-Feb-2008, at 13:45 , Erik van Blokland wrote: >> >

[Pythonmac-SIG] CoreGraphics, 10.5

2008-02-16 Thread Erik van Blokland
his anywhere close to how it needs to be done? Any pointers are most welcome, thanks! Erik van Blokland #! /usr/bin/python2.5 from CoreGraphics import * import os def test(): testWidth = 1000 testHeight = 500 fileName = 'picture.png'

[Pythonmac-SIG] Installing Twisted-1.3.0

2004-12-21 Thread Erik van Blokland
Hi, this question might be more appropriate for a twisted forum. But before I throw myself to the wild animals, perhaps someone on this list has a clue for me. I'm attempting to install Twisted-1.3.0 on a G4 powerbook. I have installed the same version of twisted on a different G4 with OSX