Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-28 Thread Christian Tismer
Hi Ronald, On 11/26/12 10:28 AM, Ronald Oussoren wrote: On 26 Nov, 2012, at 0:18, Christian Tismer wrote: Hi Ronald, I have run my install in Wing IDE and found out that the error was introduced by my wrong usage of MachOStandalone.py. I simply ran MachOStandalone.run(path) on the path of m

Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-26 Thread Ronald Oussoren
On 26 Nov, 2012, at 0:18, Christian Tismer wrote: > Hi Ronald, > > I have run my install in Wing IDE and found out that the error was > introduced by my wrong usage of MachOStandalone.py. > > I simply ran MachOStandalone.run(path) on the path of my pyside > build, assuming that everything work

Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-25 Thread Christian Tismer
Hi Ronald, I have run my install in Wing IDE and found out that the error was introduced by my wrong usage of MachOStandalone.py. I simply ran MachOStandalone.run(path) on the path of my pyside build, assuming that everything works from alone. I was not aware that MachOStandalone assumes that a

Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-25 Thread Ronald Oussoren
I'm the maintainer of macholib as well (and the rest of the py2app stack) Ronald Sent from my iPad On 25 nov. 2012, at 21:02, Christian Tismer wrote: > Hi Ronald, > > maybe my way to reply to this thread was the wrong approach. > I thought I had found the reason why Michael had problems, > be

Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-25 Thread Christian Tismer
Hi Ronald, maybe my way to reply to this thread was the wrong approach. I thought I had found the reason why Michael had problems, because I hit that, too. But it was not a py2app question at all that I wanted to ask. Instead I thought you are the current maintainer of macholib, and I wanted to

Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-25 Thread Ronald Oussoren
On 24 Nov, 2012, at 21:50, Christian Tismer wrote: > Howdy, > > On 31.05.12 21:46, Michael McCracken wrote: >> New user, so new thread, in reference to "(PyQt and py2app) Gui starts >> in IDLE but not as app". >> >> This happens when Qt loads image plugins from the >> system location (likely s

Re: [Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-11-24 Thread Christian Tismer
Howdy, On 31.05.12 21:46, Michael McCracken wrote: New user, so new thread, in reference to "(PyQt and py2app) Gui starts in IDLE but not as app". This happens when Qt loads image plugins from the system location (likely set during Qt's configure), which then load the system Qt. The problem an

[Pythonmac-SIG] py2app and PyQt: QT plugins cause loading multiple QT library versions

2012-05-31 Thread Michael McCracken
New user, so new thread, in reference to "(PyQt and py2app) Gui starts in IDLE but not as app". This happens when Qt loads image plugins from the system location (likely set during Qt's configure), which then load the system Qt. The problem and a workaround are described here: http://lists.trollt

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-20 Thread Eddie L
Ronald Oussoren wrote: > > > The file is generated by code in the module py2app.build_app, from > fragments in py2app.bootstrap. > > Thank you, that solved my problem. I went into the bootstrap folder and added the line into build_app.py, now it's always included in my apps -Eddie -- View

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-20 Thread Christopher Barker
Ronald Oussoren wrote: On Thursday, January 15, 2009, at 06:20PM, "Christopher Barker" wrote: Eddie L wrote: Christopher Barker wrote: yes, I meant I have no idea where in the Py2app code, py2app actually generates the __boot__.py file, so I can't see where to add a patch... The file is

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-16 Thread Ronald Oussoren
On Thursday, January 15, 2009, at 06:20PM, "Christopher Barker" wrote: >Eddie L wrote: >> >> Christopher Barker wrote: >>> Some quick poking did not make it clear to me where py2app builds the >>> __boot.__py >>> file though. >>> >> >> If you create an app with py2app then right click on it

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-15 Thread Christopher Barker
Eddie L wrote: Christopher Barker wrote: Some quick poking did not make it clear to me where py2app builds the __boot.__py file though. If you create an app with py2app then right click on it and click show package contents then you can browse the app's contents. __boot__.py is located in

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-15 Thread Eddie L
Christopher Barker wrote: > > Some quick poking did not make it clear to me where py2app builds the > __boot.__py > file though. > If you create an app with py2app then right click on it and click show package contents then you can browse the app's contents. __boot__.py is located in Content/

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-13 Thread Christopher Barker
Eddie L wrote: I had the exact same problem and fixed it adding that line to the __boot__.py file in the app's package contents, but I was wondering if there was a way to tell py2app to do this automatically in the setup script because otherwise I'd have to do it manually every time I build my pr

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-12 Thread Eddie L
I had the exact same problem and fixed it adding that line to the __boot__.py file in the app's package contents, but I was wondering if there was a way to tell py2app to do this automatically in the setup script because otherwise I'd have to do it manually every time I build my project. Py2exe ha

Re: [Pythonmac-SIG] Py2App and PyQT

2008-10-28 Thread kelsolaar_fool
Ok the QtCore.so problem got solved by adding this line into the __boot__.py : sys.path = [os.path.join(os.environ['RESOURCEPATH'], 'lib', 'python2.5', 'lib-dynload')] + sys.path Now I'm facing another really annoying problem : I need at some point to load jpeg images into my program and Qt jpe

[Pythonmac-SIG] Py2App and PyQT

2008-10-26 Thread kelsolaar_fool
Hello, Now that I have my application running and packaged on Windows and Linux, I'm trying to get it working under Mac Os X ( Leopard 10.5.5 ). Everything seem to be fine on compilation side, but when I launch my application I'm getting : Traceback (most recent call last): File "/Volumes/sI