Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Chris Jerdonek
On Nov 16, 2005, at 4:57 PM, Bob Ippolito wrote: > py2app can't detect data dependencies, period. You need to figure out > what data files you need, and explicitly specify them. The referenced > code sure looks like it was looking for a data file, and I don't > recall PIL having any data file

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Bob Ippolito
On Nov 16, 2005, at 4:50 PM, Chris Jerdonek wrote: > On Nov 16, 2005, at 2:14 PM, Bob Ippolito wrote: > > class FreeTypeFont: > "FreeType font wrapper (requires _imagingft service)" > > def __init__(self, file, size, index=0, encoding=""): > # FIXME: use ser

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Chris Jerdonek
On Nov 16, 2005, at 2:14 PM, Bob Ippolito wrote: class FreeTypeFont: "FreeType font wrapper (requires _imagingft service)" def __init__(self, file, size, index=0, encoding=""): # FIXME: use service provider instead import _imagingft (1

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Bob Ippolito
On Nov 16, 2005, at 2:03 PM, Chris Jerdonek wrote: > On Nov 16, 2005, at 1:38 PM, Bob Ippolito wrote: > >>>File "PIL/ImageFont.pyc", line 121, in __init__ >>> IOError: cannot open resource >>> >>> # Wrapper for FreeType fonts. Application code should use the >>> # truetype factory function t

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Chris Jerdonek
On Nov 16, 2005, at 1:38 PM, Bob Ippolito wrote: >>File "PIL/ImageFont.pyc", line 121, in __init__ >> IOError: cannot open resource >> >> # Wrapper for FreeType fonts. Application code should use the >> # truetype factory function to create font objects. >> >> class FreeTypeFont: >> "Fre

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Bob Ippolito
On Nov 16, 2005, at 1:24 PM, Chris Jerdonek wrote: > On Nov 16, 2005, at 12:18 PM, Bob Ippolito wrote: > >> Code helps... > > Not sure which code is most important. I'll go through the Traceback > and intersperse the code. I also inserted line numbers in > parentheses: > > def truetype(filena

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Chris Jerdonek
On Nov 16, 2005, at 12:18 PM, Bob Ippolito wrote: > Code helps... > > -bob Not sure which code is most important. I'll go through the Traceback and intersperse the code. I also inserted line numbers in parentheses: Traceback (most recent call last): File "/Users/chris/Desktop/ER/StoveTo

Re: [Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Bob Ippolito
On Nov 16, 2005, at 11:24 AM, Chris Jerdonek wrote: > I have a python program that uses some commands from the PIL module > (and also wxPython). > > I have PIL installed on my Mac, and the python program works fine when > I run the program from the command line. The application I get from > py2a

[Pythonmac-SIG] py2app and PIL question

2005-11-16 Thread Chris Jerdonek
I have a python program that uses some commands from the PIL module (and also wxPython). I have PIL installed on my Mac, and the python program works fine when I run the program from the command line. The application I get from py2app also works fine -- until I get to a point in the program

[Pythonmac-SIG] "PyObjCPointer created" messages and crash from tooltip handlers

2005-11-16 Thread Michael Glassford
I recently added outlineView_toolTipForCell_rect_tableColumn_item_mouseLocation_() and tableView_toolTipForCell_rect_tableColumn_row_mouseLocation_() handlers to a Py2App-based application and started seeing errors like the following being written to the console log: 2005-11-10 11:08:53.891 Go