6666 2.9.4 Demo not working for me / 2.9.4 PubSub issue

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 Publisher

ImportError: 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 Publisher

but 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

Robin,

Where are these numbers coming from that are appearing in the subject (6666 for example)? Just wondering,

Mike

···

On Sunday, July 29, 2012 12:32:18 PM UTC-5, Robin Dunn wrote:

On 7/27/12 2:35 PM, C M wrote:

  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”?

  1. 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 Publisher

ImportError: 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 Publisher

but 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.


Robin Dunn

Software Craftsman

http://wxPython.org


To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

I don't know. I'm thinking it was probably some sort of glitch at google groups that caused that message to be resent with the extra numbers in the subjects.

···

On 7/30/12 7:46 AM, Mike Driscoll wrote:

Robin,

Where are these numbers coming from that are appearing in the subject
(6666 for example)? Just wondering,

--
Robin Dunn
Software Craftsman

Aw! I was hoping it was some kind of apocalyptic message about the rise of the Phoenix! :wink:

  • Mike
···

On Monday, July 30, 2012 11:42:01 AM UTC-5, Robin Dunn wrote:

On 7/30/12 7:46 AM, Mike Driscoll wrote:

Robin,

Where are these numbers coming from that are appearing in the subject

(6666 for example)? Just wondering,

I don’t know. I’m thinking it was probably some sort of glitch at
google groups that caused that message to be resent with the extra
numbers in the subjects.


Robin Dunn

Software Craftsman

http://wxPython.org