On Tuesday, December 13, 2011 03:53:03 PM Daniel Hyams wrote: > So GNUmed is explicitly using > > from wx.lib.pubsub import setupv1 > from wx.lib.pubsub import pub > Got me there. Only using.
from wx.lib.pubsub import Publisher which supposedly initiates version 1. Will try the other syntax now. Sebastian > ? > > On Tue, Dec 13, 2011 at 7:26 AM, Sebastian Hilbert < > > [email protected]> wrote: > > On Tuesday, December 13, 2011 01:21:51 PM Daniel Hyams wrote: > > > > Hi, > > > > > Hmm, strange. Differences that we hIt ave are that I'm using wxPython > > > 2.9.1.1, Python 2.6.6, and Windows 7. Best guess is that wxPython 2.9 > > > series ships with a different version of pubsub than 2.8? > > > > That could very well be possible. I have seen reports where people have > > replace the included pubsub with something from sourceforge. > > > > I will try 2.9 on Windows then. Let's see what happens :-) > > > > > It is possible, too, that I hacked my own pubsub a long time ago and > > > > forgot > > > > > about it...I did a lot of fussing a year ago to try to make the > > > freezing work and was never successful. I'll try the test suite on a > > > fresh linux install and see what happens. > > > > That would be excellent. Could even be the case that my system is screwed > > up. > > > > As I mentioned. version 3 api works ok. v1 api fails with > > > > ImportError: cannot import name Publisher > > RC: -1 from gnumed > > OK. > > > > Thanks for your effort. > > > > Sebastian > > > > > On Tue, Dec 13, 2011 at 2:57 AM, Sebastian Hilbert < > > > > > > [email protected]> wrote: > > > > On Tuesday, December 13, 2011 01:21:36 AM Daniel Hyams wrote: > > > > > > > > Hi Daniel, > > > > > > > > Thanks a lot for looking into this. > > > > > > > > I have tested your attached files and copied the hooks to the hooks > > > > directory. > > > > > > > > Unfortunately on my Windows XP installation with wxpython 2.8.12.1 > > > > (python 2.7) things still don't quite work out. > > > > > > > > the arg1 version freezes ok and fails when running with a message: > > > > > > > > ========================================== > > > > > > > > import errno # builtin > > > > import _weakref # builtin > > > > import _sre # builtin > > > > import operator # builtin > > > > import _functools # builtin > > > > import _locale # builtin > > > > import wx._gdi_ # dynamically loaded from C: > > > > \Temp\pubsub\dist\test_wxpubsub_arg > > > > \wx._gdi_.pyd > > > > import wx._windows_ # dynamically loaded from C: > > > > \Temp\pubsub\dist\test_wxpubsub > > > > arg1\wx._windows_.pyd > > > > import wx._controls_ # dynamically loaded from C: > > > > \Temp\pubsub\dist\test_wxpubsu > > > > _arg1\wx._controls_.pyd > > > > import wx._misc_ # dynamically loaded from C: > > > > \Temp\pubsub\dist\test_wxpubsub_ar > > > > 1\wx._misc_.pyd > > > > > > > > Traceback (most recent call last): > > > > File "<string>", line 1, in <module> > > > > > > > > ImportError: cannot import name Publisher > > > > RC: -1 from test_wxpubsub_arg1 > > > > OK. > > > > > > > > C:\Temp\pubsub> > > > > > > > > ============================= > > > > > > > > your kwargs version now freezes ok and runs ok. > > > > > > > > Thanks for that. > > > > > > > > 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. > > > > -- > > 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. -- 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.
