[Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-09 Thread Paul Wiseman
Hey, When building an app that is using sqlalchemy I get this error: creating python loader for extension 'sqlalchemy.cprocessors' error: /Users/paul/Source/Python/build/bdist.macosx-10.6-intel/python2.7-standalone/app/temp/sqlalchemy/cprocessors.py: No such file or directory I took a look in si

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-12 Thread Paul Wiseman
On 10 September 2012 13:18, Ronald Oussoren wrote: > > On 9 Sep, 2012, at 20:34, Paul Wiseman wrote: > > Hey, > > When building an app that is using sqlalchemy I get this error: > > creating python loader for extension 'sqlalchemy.cprocessors' > err

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-12 Thread Paul Wiseman
On 12 September 2012 18:13, Michael McCracken wrote: > On Wed, Sep 12, 2012 at 4:08 AM, Paul Wiseman wrote: > > On 10 September 2012 13:18, Ronald Oussoren > wrote: > >> > >> > >> On 9 Sep, 2012, at 20:34, Paul Wiseman wrote: > >> > &

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 07:18, Ronald Oussoren wrote: > > On 10 Sep, 2012, at 16:37, Paul Wiseman wrote: > > Ah, > > I've found out how to recreate the error > > If I create a main.py with nothing but 'import sqlalchemy' > > then use the followi

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 12 September 2012 19:27, Michael McCracken wrote: > On Wed, Sep 12, 2012 at 10:54 AM, Paul Wiseman wrote: > > On 12 September 2012 18:13, Michael McCracken < > michael.mccrac...@gmail.com> > > wrote: > >> > >> On Wed, Sep 12, 2012 at 4:08 AM, Paul Wis

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 10:33, Paul Wiseman wrote: > On 12 September 2012 19:27, Michael McCracken > wrote: > >> On Wed, Sep 12, 2012 at 10:54 AM, Paul Wiseman wrote: >> > On 12 September 2012 18:13, Michael McCracken < >> michael.mccrac...@gmail.com> >>

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 12:13, Ronald Oussoren wrote: > >>> >> I checked out the latest trunk ( >> http://svn.pythonmac.org/py2app/py2app/trunk/), installed that and the >> problem has gone :) >> >> Not sure which version I had before, but I only built this mac a week ago >> or so, so think it's may

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 13:26, Ronald Oussoren wrote: > > On 13 Sep, 2012, at 14:17, Paul Wiseman wrote: > > On 13 September 2012 12:13, Ronald Oussoren wrote: > >> >>>> >>> I checked out the latest trunk ( >>> http://svn.pythonmac.org/py2app/py2

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 14:17, Paul Wiseman wrote: > On 13 September 2012 13:26, Ronald Oussoren wrote: > >> >> On 13 Sep, 2012, at 14:17, Paul Wiseman wrote: >> >> On 13 September 2012 12:13, Ronald Oussoren wrote: >> >>> >>>>> >>

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 14:25, Paul Wiseman wrote: > On 13 September 2012 14:17, Paul Wiseman wrote: > >> On 13 September 2012 13:26, Ronald Oussoren wrote: >> >>> >>> On 13 Sep, 2012, at 14:17, Paul Wiseman wrote: >>> >>> On 13 September 2012

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
etty similar to what I do, I'm interested to know though how you do this tough 'each call has a unique directory sent in the setup options "bdist_base" and "dist_dir"', that might solve my problem. > > On Thu, Sep 13, 2012 at 1:53 AM, Ronald Oussoren > wro

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
On 13 September 2012 14:36, Ronald Oussoren wrote: > > On 13 Sep, 2012, at 15:17, Paul Wiseman wrote: > > On 13 September 2012 13:26, Ronald Oussoren wrote: > >> >> On 13 Sep, 2012, at 14:17, Paul Wiseman wrote: >> >> On 13 September 2012 12:13, Ron

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.maxsize 2147483647 my python interpreter is 32-bit and I ran 'python se

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-13 Thread Paul Wiseman
to the > > main app's directory > > > But anyway, this is a nice model for what py2app could so for us. > > Thanks, > -Chris > > > NOTE: this will ignore any packages in > > sub.app/Contents/Resources/lib/python*/ that aren't in the > > site-package

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-14 Thread Paul Wiseman
On 14 September 2012 07:51, Ronald Oussoren wrote: > > On 13 Sep, 2012, at 23:41, Paul Wiseman wrote: > > On 13 September 2012 19:56, Michael McCracken > wrote: > >> Paul, it's like this: >> setup(blah, options={"py2app": = {"bdist_base"

Re: [Pythonmac-SIG] py2app unable to find cprocessors.so

2012-09-14 Thread Paul Wiseman
On 14 September 2012 11:35, Ronald Oussoren wrote: > > On 14 Sep, 2012, at 12:26, Paul Wiseman wrote: > > > > Ah, yea I am indeed using the VERSIONER variable, I got myself confused > because I was checking this, > > > > pauls-mac-pro:Python paul$ type python

[Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

2012-09-17 Thread Paul Wiseman
This app runs fine on 10.6 and 10.7, but when I run it on 10.5 I an apple error report, and the following error in console Traceback (most recent call last): ImportError: dlopen(/Applications/TestApp.app/Contents/Resources/lib/python2.7/lib-dynload/_librsync.so, 2): Library not loaded: @executa

Re: [Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

2012-09-17 Thread Paul Wiseman
On 17 September 2012 18:13, Paul Wiseman wrote: > This app runs fine on 10.6 and 10.7, but when I run it on 10.5 I an apple > error report, and the following error in console > > Traceback (most recent call last): > > ImportError: > dlopen(/Applications/TestApp.app/C

Re: [Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

2012-09-18 Thread Paul Wiseman
On 17 September 2012 22:11, David Brooks wrote: > > On 18/09/12 6:03 AM, Paul Wiseman wrote: > > On 17 September 2012 18:13, Paul Wiseman wrote: > >> This app runs fine on 10.6 and 10.7, but when I run it on 10.5 I an apple >> error report, and the following error

Re: [Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

2012-09-18 Thread Paul Wiseman
On 18 September 2012 12:30, David Brooks wrote: > > On 18/09/12 8:51 PM, Paul Wiseman wrote: > > On 17 September 2012 22:11, David Brooks wrote: > >> >> On 18/09/12 6:03 AM, Paul Wiseman wrote: >> >> On 17 September 2012 18:13, Paul Wiseman wrote: >

Re: [Pythonmac-SIG] uniformative Error when launching app

2012-09-24 Thread Paul Wiseman
On 24 September 2012 18:02, Ronald Oussoren wrote: > > On 24 Sep, 2012, at 18:39, Geoffrey Irving wrote: > > > On Mon, Sep 24, 2012 at 12:21 AM, Ronald Oussoren > > wrote: > >> > >> On 21 Sep, 2012, at 21:36, Geoffrey Irving wrote: > >> > >>> I am trying to package up a mixed Python/C++ applic

[Pythonmac-SIG] Environment variable issues running py2app application

2013-04-24 Thread Paul Wiseman
Hey, I've never seen this problem before but one user seems to be experiencing this issue and I'm at a bit of a loss as to what the cause could be One part of the app runs this: subprocess.Popen(['/usr/bin/env', 'system_profiler', 'SPUSBDataType', '-xml']) I've never seen a problem running this,

Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-25 Thread Paul Wiseman
On 24 April 2013 19:29, Ned Deily wrote: > In article > , > Paul Wiseman wrote: > > I've never seen this problem before but one user seems to be experiencing > > this issue and I'm at a bit of a loss as to what the cause could be > > > > One part of

Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-25 Thread Paul Wiseman
On 25 April 2013 13:08, Ronald Oussoren wrote: > > On 25 Apr, 2013, at 10:41, Paul Wiseman wrote: > > > On 24 April 2013 19:29, Ned Deily wrote: > > In article > > , > > Paul Wiseman wrote: > > > I've never seen this problem before but one user

Re: [Pythonmac-SIG] app won't quit?

2013-05-28 Thread Paul Wiseman
On 27 May 2013 16:26, Charles Hartman wrote: > I'm coming back to all of this after years away, so I'm sure I'm missing > something simple. I've brought an old app into the current world: > >Python 2.7.5 >OS 10.8.3 >wxPython 2.9.4.0 >py2app 0.7.3 > > and I rebuilt my setup.py to

[Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Paul Wiseman
I'm looking to make a cross platform application, and I'm looking into different languages and options to get an understanding of the strengths and limitations before I put significant effort in a particular direction. One option I'm considering is using python with QT and PySide. Maybe this isn'

Re: [Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Paul Wiseman
On 9 July 2013 14:08, Ronald Oussoren wrote: > > On 9 Jul, 2013, at 14:56, Kevin Walzer wrote: > > > On 7/9/13 5:46 AM, Paul Wiseman wrote: > > > >> But would anyone know if it would be possible to implement these > >> platform specific bits whilst

Re: [Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Paul Wiseman
On 9 July 2013 14:50, Kevin Walzer wrote: > On 7/9/13 9:15 AM, Paul Wiseman wrote: > >> It looks like you can get the native window handle which is promising: >> https://deptinfo-ensip.univ-**poitiers.fr/ENS/pyside-docs/** >> PySide/QtGui/QWidget.html#**PySide.QtGui.PySi

Re: [Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Paul Wiseman
On 9 July 2013 15:41, Kevin Walzer wrote: > On 7/9/13 10:34 AM, Paul Wiseman wrote: > >> Nope, they had a release today in fact (v1.2.0) so it's very much still >> active. >> > > But it supports Qt 4.8. Digia has just released Qt 5.1. Qt5 has some huge >

Re: [Pythonmac-SIG] Fwd: Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-10 Thread Paul Wiseman
On 9 July 2013 17:12, Chris Barker - NOAA Federal wrote: > oops, sent only to Paul the first time > > -- Forwarded message -- > From: Chris Barker - NOAA Federal > > Paul, > > > Qt looks great from my first impressions but one thing I'm not too sure > > about is how native it

[Pythonmac-SIG] Displaying messages through notification centre

2014-11-19 Thread Paul Wiseman
I've got an app which at the moment displays custom drawn tray style notifications. The app targets OSX 10.5+. I want to start looking at showing these messages/notifications through the native notification centre for users on systems that support it (10.8+). I have a few questions on how to do t

[Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-01 Thread Paul Wiseman
I have a frozen app installed (built on a different machine using python 2.7.8 32/ppc) I Installed python 2.7.9rc1 (32/pcc python.org installer) and I started seeing errors from the built app on startup the error occurred from import hashlib File "/Library/Frameworks/Python.framework/Versions/

Re: [Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-01 Thread Paul Wiseman
installed 2.7.9 and the frozen app started throwing this error, then after reverting back to 2.7.8 the frozen app was working again (I should stress that the frozen app was never rebuilt and remained as-is) > On Dec 1, 2014, at 7:29 AM, Paul Wiseman wrote: > > I have a frozen app installed

Re: [Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-01 Thread Paul Wiseman
s. Installing 2.7.8 again hides the issue because whichever hashlib it uses would have the same behaviour because they'll be identical (both from v2.7.8) > > In any case, a fresh install seems to have solved the problem. > > On Dec 1, 2014, at 7:29 AM, Paul Wiseman wrote: >

Re: [Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-01 Thread Paul Wiseman
On 1 December 2014 at 23:57, Ned Deily wrote: > [duplicate reply as the first seems to have disappeared] > > In article > , > Paul Wiseman wrote: > > I don't think it's either of those. I think that hashlib.py must have > > chang

Re: [Pythonmac-SIG] Installing python 2.7.9rc1 caused my frozen apps problems

2014-12-02 Thread Paul Wiseman
On 2 December 2014 at 00:17, Ned Deily wrote: > In article > , > Paul Wiseman wrote: > > > On 1 December 2014 at 23:57, Ned Deily wrote: > > > > > [duplicate reply as the first seems to have disappeared] > > > > > > In article > > &