On Monday, December 12, 2011 11:48:28 AM Sebastian Hilbert wrote:

Hi all,

I have for test purposes modified the GNUmed code from

> 
> try:
>       import wx
>       import wx.lib.pubsub
> 
> except ImportError:
>       print "GNUmed startup: Cannot import wxPython library."
>       print "GNUmed startup: Make sure wxPython is installed."
>       print 'CRITICAL ERROR: Error importing wxPython. Halted.'
>       raise
> 
> 

> 
 try:
        import wx
        import wx.lib.pubsub
        from wx.lib.pubsub import pub as Publisher

 except ImportError:
        print "GNUmed startup: Cannot import wxPython library."

And further down

>wx.lib.pubsub.Publisher().subscribe(listener = 
self._on_set_statustext_pubsub, topic = 'statustext')

to

Publisher.subscribe(listener = self._on_set_statustext_pubsub, topic = 
'statustext')

Now it runs frozen but when hitting the above line it says:

subscribe got an unexpected keyword 'topic'

I am lost. Any help is appreciated.
 
Sebastian

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to