Re: [Tkinter-discuss] Segfault in Image.PhotoImage on OS X

2012-11-14 Thread Kevin Walzer
On 11/14/12 1:51 PM, mohsen jadidi wrote: Can you explain in more detail? what is wrong with my install_name_tool? what do you mean by offending library? On Wed, Nov 14, 2012 at 7:48 PM, Kevin Walzer mailto:k...@codebykevin.com>> wrote: It's likely that a Tk or Python library is linking ag

Re: [Tkinter-discuss] Segfault in Image.PhotoImage on OS X

2012-11-14 Thread Kevin Walzer
It's likely that a Tk or Python library is linking against one framework and Tk itself links against another. You'll have to run install_name_tool on the offending library. Sent from my iPhone On Nov 14, 2012, at 10:29 AM, llvllj wrote: > I still have problem with this issue and I don't know

Re: [Tkinter-discuss] Segfault in Image.PhotoImage on OS X

2012-11-14 Thread llvllj
I still have problem with this issue and I don't know what I'm doing wrong. objc[1296]: Class TKApplication is implemented in both /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk and /Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined. ob

Re: [Tkinter-discuss] Segfault in Image.PhotoImage on OS X

2012-04-27 Thread Russell E. Owen
In article , Marc Culler wrote: > This was reported here in February, but no debugging information was > provided by the reporter: > http://stackoverflow.com/questions/9142786/python-imagetk-photoimage-segfault > http://stackoverflow.com/questions/9142786/python-imagetk-photoim > age-segfault>

Re: [Tkinter-discuss] Segfault in Image.PhotoImage on OS X

2012-04-26 Thread Marc Culler
Kevin Walzer wrote: > Sometimes Tk extension libraries will link against > /System/Library/Frameworks instead of /Library/Frameworks when they are > being compiled--this can cause the kinds of conflicts and crashes that > you are seeing. The install_name_tool tool can re-link a binary to the > cor

Re: [Tkinter-discuss] Segfault in Image.PhotoImage on OS X

2012-04-26 Thread Kevin Walzer
On 4/26/12 11:50 AM, Marc Culler wrote: Guessing that PIL was finding the System/Library/Frameworks/Tk.Framework instead of /Library/Frameworks/Tk.Framework, I tried hiding the system Tcl and Tk frameworks by renaming them. I was then able to create the PhotoImage and display it. I don't know