Hi all,
Still at it. I recently upgraded to Windows XP, Python 2.7, wxpython 2.8.12
and pyinstaller 1.5.1
Things worked for python2.5, wxpython 2.8.10 and pyinstaller 1.4-rc1 but have
stopped since.
I have nailed some things down. As being told I created a spec file from
scratch which somehow made the win32api issue disappear.
Now I am having trouble with wxpython 2.8.12 since it incorporates a changes
handling of pubsub.
Here is the relevant bits from GNUmed.
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
and it is used like this ...
wx.lib.pubsub.Publisher().subscribe(listener = self._on_set_statustext_pubsub,
topic = 'statustext')
That works unfrozen but not when being frozen
In outPYZ1.pyz I can see (ArchiveViewer) that some bits of pubsub are included
but nothing with publish.
The I by chance found this hook
http://code.google.com/p/bfplusplus/source/browse/trunk/scripts/hooks/hook-
wx.lib.pubsub.core.py?spec=svn127&r=127
After placing it in the hooks directory I suddenly see more bits of pubsub
appearing including some references to publish.
Still when I start the binary I crashes with the message.
no module named Publish. The code in question is this:
wx.lib.pubsub.Publisher().subscribe(listener = self._on_set_statustext_pubsub,
topic = 'statustext')
It seems Publish() still cannot be called. Maybe there is still some stuff
missing (unpackaged).
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.