1) I downloaded wxPython 2.9.4.exe for 32 bit Windows/Python 2.7 and
installed it. I then also downloaded the latest 2.9 Demo. I run the
Demo and it opens a CMD window briefly then closes. My platform is
WinXP, using Python 2.7 when using 2.9.x branch...at least I think it
is set up to use Python 2.7 with wx2.9.x.
Do you see any more info if you start the demo from a command-line
prompt using "c:\path\to\python27\python.exe demo.py"?
2) Trying to run my own code with wx2.9.4 and it is getting stuck at
any import of Publisher, such as like this:
from wx.lib.pubsub import PublisherImportError: cannot import name Publisher
I saw the release note that said "In order to continue using the
original "arg1" API you will need to import wx.lib.pubsub.setuparg1
before importing any other pubsub modules." and so, in case that was
the issue, did that, like so:import wx.lib.pubsub.setuparg1
from wx.lib.pubsub import Publisherbut I get the same error. Seems this is unrelated to the note; is the
Publisher class renamed?
See
http://pubsub.sourceforge.net/recipes/upgrade_v1tov3.html#label-upgrade-for-wx
See step 3.3, it looks like you need to change Publisher to pub.
···
On 7/27/12 2:35 PM, C M wrote:
--
Robin Dunn
Software Craftsman
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en