Does wxPython work on Mac OS X Lion?

674 views
Skip to first unread message

Frank Niessink

unread,
Jul 21, 2011, 4:27:17 PM7/21/11
to wxpython-users
Hi all,

Subject says it all really. Did someone try already?

Thanks, Frank

Nat Echols

unread,
Jul 21, 2011, 4:42:26 PM7/21/11
to wxpytho...@googlegroups.com
On Thu, Jul 21, 2011 at 1:27 PM, Frank Niessink <fr...@niessink.com> wrote:
Subject says it all really. Did someone try already?

My boss said he tried the 64-bit build of our program on Lion this morning and it appeared to run fine (it was compiled on Snow Leopard).  We're using Python 2.7.2, wxPython 2.9.1 (Cocoa version) for this; I haven't checked whether the 32-bit build using 2.8.12 (and compiled on Tiger) also works.

-Nat

jmagnusson

unread,
Jul 23, 2011, 3:36:25 PM7/23/11
to wxpytho...@googlegroups.com
Is it possible to use wxPython2.9-osx-2.9.1.1-cocoa-py2.7.dmg from the site? I'm wondering because winpdb isn't able to find wxPython on my Lion installation. It gives me this error:
wxPython was not found.
wxPython 2.6 or higher is required to run the winpdb GUI.
 (I haven't used either wxPython or winpdb previously so please don't shoot me.)

Robin Dunn

unread,
Jul 23, 2011, 6:30:04 PM7/23/11
to wxpytho...@googlegroups.com

Are you using the Python provided by Apple or the one from python.org?
I did some hackery to be able to get one wxPython install to work with
both Apple's Py26 and Python.org's Py26 on 10.5 and 10.6, but I would
not be surprised if Apple changed something in how they do their install
and import paths which causes my hackery to break. Try installing and
using Python.org's Python 2.7 instead. If you've already done that then
I'm not sure what the problem could be and will need more information to
be able to make my shots in the dark more accurate. (I don't have a
10.7 machine yet.)


--
Robin Dunn
Software Craftsman
http://wxPython.org

Frank Niessink

unread,
Jul 24, 2011, 8:54:40 AM7/24/11
to wxpytho...@googlegroups.com
2011/7/21 Nat Echols <nathanie...@gmail.com>:

I installed Lion and Python 2.7 plus wxPython 2.8.12.0 work fine.

Thanks, Frank

Craig

unread,
Jul 24, 2011, 11:26:10 AM7/24/11
to wxPython-users
I get the following warning when a wx.TextCtrl is drawn:

CFURLCreateWithString was passed this invalid URL string: '/System/
Library/CoreServices/CommonCocoaPanels.bundle' (a file system path
instead of an URL string). The URL created will not work with most
file URL functions. CFURLCreateWithFileSystemPath or
CFURLCreateWithFileSystemPathRelativeToBase should be used instead.

The control draws but the warning is printed.

Craig

Frank Niessink

unread,
Jul 24, 2011, 5:42:24 PM7/24/11
to wxpytho...@googlegroups.com
2011/7/24 Craig <caho...@earthlink.net>:

I see that too while running the unittests for Task Coach. Funny thing
is that I see it only once, though we have over 4400 unittests. I'm
pretty sure we have more than one unittest that draws a TextCtrl :-)
Maybe some initialization issue?

Cheers, Frank

Paul Dubois

unread,
Jul 29, 2011, 1:37:43 PM7/29/11
to wxPython-users
Me too; just once, and it happens very, very early.

On Jul 24, 2:42 pm, Frank Niessink <fr...@niessink.com> wrote:
> 2011/7/24 Craig <cahow...@earthlink.net>:
Reply all
Reply to author
Forward
0 new messages