[Pythonmac-SIG] timeout of connection?

2009-12-15 Thread Jon Christopher
I'm the developer of PyeTV (http://code.google.com/p/pyetv/), a Front Row plugin for EyeTV. I'm experiencing some weird behavior that I'd like to ask the experts here about. Essentially all PyeTV does is communicate with EyeTV via appscript and throw up a few menu options in Front Row. When the u

Re: [Pythonmac-SIG] Problems with py2app and qt

2009-12-15 Thread aditya bhargava
Brilliant...it turned out that the Qt libraries were being loaded *twice* – once from inside the bundle and once from the libraries on my computer. The hack fix was to create a qt.conf file inside Contents/Resources and give it a bad path...this way only the libraries inside the bundle are being l

Re: [Pythonmac-SIG] coercing to text (Adam Morris)

2009-12-15 Thread has
Adam Morris wrote: > ASTranslate tells me that > tell application "Pages" to tell front document to get selection as text > should be > app(u'Pages').documents[1].selection.get(resulttype=k.unicode_text) > > but that doesn't return what I want (a reference? ... hardly useful!). Yet: > > app('Pag

Re: [Pythonmac-SIG] Problems with py2app and qt

2009-12-15 Thread Emanuele Santos
Maybe your app is loading the wrong libs? Try running from the terminal and printing the libs that are being loaded: $ cd /path/to/your/bundle.app/Contents/MacOS $ DYLD_PRINT_LIBRARIES=1 ./your_app Check if all the Qt and PyQt libraries loaded are in your bundle. -- Emanuele. On Dec 15, 200

Re: [Pythonmac-SIG] Problems with py2app and qt

2009-12-15 Thread aditya bhargava
It's a memory issue with Qt I think. The other interesting thing is, this problem doesn't occur if I build the app in alias mode with the -A flag...but of course that's not too useful if I want to distribute applications. Here's the issue I get: Exception: EXC_BAD_ACCESS (0x0001) Codes: KE

Re: [Pythonmac-SIG] Problems with py2app and qt

2009-12-15 Thread Brad Howes
On Dec 15, 2009, at 12:17 AM, aditya bhargava wrote: > I'm getting some strange results running py2app on my machine. It works fine > with most scripts, but any time I use it with a script that uses PyQt, the > built application immediately quits and gives me an "unexpectedly quit" > message. I

Re: [Pythonmac-SIG] coercing to text (Adam Morris)

2009-12-15 Thread Adam Morris
ASTranslate tells me that tell application "Pages" to tell front document to get selection as text should be app(u'Pages').documents[1].selection.get(resulttype=k.unicode_text) but that doesn't return what I want (a reference? ... hardly useful!). Yet: app('Pages').documents[1].selection()() ret