[Pythonmac-SIG] WebKit with PyObjC on Jaguar

2005-05-12 Thread Bob Swerdlow
I'm getting an ImportError trying to import WebKit. My configuration is Jaguar with PyObjC 1.2. I have Safari 1.0.3 installed. As far as I can tell from looking at the PyObjC pages, this should work. Where should I find the WebKit module on my machine? Where can I get the WebKit module if i

[Pythonmac-SIG] EasyDialogs and py2app

2005-05-12 Thread Kevin Dangoor
I have an application that uses EasyDialogs and is packaged up with py2app. When I run it, it seems to have trouble finding dialogs.rsrc: File "EasyDialogs.pyc", line 193, in AskYesNoCancel File "EasyDialogs.pyc", line 49, in _initialize File "macresource.pyc", line 63, in need macresource.R

Re: [Pythonmac-SIG] EasyDialogs and py2app

2005-05-12 Thread Kevin Dangoor
I should clarify: when I ask "what's the right way to point to the file", I mean rather than hardcoding the path to the file in my Python installation, if anyone knows the correct way to get the file path in Python code. (I could do something like EasyDialogs.__file__ and then grab the directory fr

[Pythonmac-SIG] SQLite

2005-05-12 Thread Jan Erik Moström
For various reasons I've always just used the standard installation of python, never installed any non-standard stuff, etc. But now I would like to be able to use SQLite together with python (on Tiger), what is the best way to do this? I've looked around a bit and found the pysqlite project, is t

[Pythonmac-SIG] Problem with a py2app bundle

2005-05-12 Thread Quentin DECAVEL
Hi again, I have compiled pygame 1.6.2 from source on my OS X.2, and then tried again py2app. The created application is working fine, but each time I try to launch a movie the app quits. The error message tells me that a module is missing: 2005-05-12 23:01:36.303 Greenhouse[480] Greenhouse Error

[Pythonmac-SIG] Recursion limit in OS X?

2005-05-12 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm working on a port of Boa Constructor to OS X and one of the most common problems (reported often to the main developer) of Boa on the Mac is recursion limits. The application, when opening or saving a file, freezes and crashes frequently, while out

Re: [Pythonmac-SIG] Recursion limit in OS X?

2005-05-12 Thread Skip Montanaro
Kevin> I ran across this thread: Kevin> http://lists.osafoundation.org/pipermail/commits/2005-February/003813.html Kevin> which indicates to me that conflicts between recursion limits in Kevin> Python and OS X are a known, documented issue. % grep ulimit ~/.bash_profile ulimit

Re: [Pythonmac-SIG] WebKit with PyObjC on Jaguar

2005-05-12 Thread Bob Ippolito
On May 12, 2005, at 12:50 PM, Bob Swerdlow wrote: > I'm getting an ImportError trying to import WebKit. My > configuration is > Jaguar with PyObjC 1.2. I have Safari 1.0.3 installed. As far as > I can > tell from looking at the PyObjC pages, this should work. > > Where should I find the We

Re: [Pythonmac-SIG] EasyDialogs and py2app

2005-05-12 Thread Bob Ippolito
I'll put some hooks into py2app 0.2 to pick these up.. but: from distutils.core import setup import py2app import os import EasyDialogs plat_mac = os.path.dirname(EasyDialogs.__file__) rsrcFile = os.path.join(plat_mac, 'dialogs.rsrc') setup( data_files=[rsrcFile], ... ) On May 12, 2005,

Re: [Pythonmac-SIG] SQLite

2005-05-12 Thread Bob Ippolito
On May 12, 2005, at 4:40 PM, Jan Erik Moström wrote: > For various reasons I've always just used the standard installation of > python, never installed any non-standard stuff, etc. > > But now I would like to be able to use SQLite together with python (on > Tiger), what is the best way to do this

Re: [Pythonmac-SIG] Problem with a py2app bundle

2005-05-12 Thread Bob Ippolito
On May 12, 2005, at 5:15 PM, Quentin DECAVEL wrote: > I have compiled pygame 1.6.2 from source on my OS X.2, and then > tried again > py2app. The created application is working fine, but each time I > try to launch > a movie the app quits. The error message tells me that a module is > mis

Re: [Pythonmac-SIG] EasyDialogs and py2app

2005-05-12 Thread Kevin Dangoor
Thanks! That's what I figured, but I wanted to be sure I wasn't missnig something. On 5/12/05, Bob Ippolito <[EMAIL PROTECTED]> wrote: > I'll put some hooks into py2app 0.2 to pick these up.. but: > > from distutils.core import setup > import py2app > import os > import EasyDialogs > plat_mac = o

Re: [Pythonmac-SIG] [Pythonmac-SIG] Spotlight and Python

2005-05-12 Thread Jonathan Wight
Version 0.7 is now online at: http://toxicsoftware.com/_private/Python%20Metadata%20Importer/Version %200.7/Python%20Metadata%20Importer.dmg Thanks to David Reed for helping me test and iron out the Unicode problems. This version should work for pretty much anyone (famous last words). I've

Re: [Pythonmac-SIG] WebKit with PyObjC on Jaguar

2005-05-12 Thread Ronald Oussoren
On 13-mei-2005, at 2:07, Bob Ippolito wrote: > > Jaguar isn't currently supported in PyObjC, but it might still work. > I highly recommend trying it from svn trunk instead. It isn't supported in the sense that I don't have a machine that's running or even capable of running Jaguar at the moment.

Re: [Pythonmac-SIG] WebKit with PyObjC on Jaguar

2005-05-12 Thread Bob Ippolito
On May 13, 2005, at 1:39 AM, Ronald Oussoren wrote: > > On 13-mei-2005, at 2:07, Bob Ippolito wrote: > >> >> Jaguar isn't currently supported in PyObjC, but it might still work. >> I highly recommend trying it from svn trunk instead. >> > > It isn't supported in the sense that I don't have a mach