On Wednesday, December 14, 2011 02:27:50 PM Daniel Hyams wrote: > On Wed, Dec 14, 2011 at 2:13 AM, Sebastian Hilbert < > > [email protected]> wrote: > > On Wednesday, December 14, 2011 02:40:44 AM Daniel Hyams wrote: > > > > HI Daniel, > > > > > And as far as converting to api v3, also change any 'topic' keywords to > > > 'topicName'. > > > > I agree with your summary of findings. > > For me that would mean we would need to get pure setupv1 api working with > > pyinstaller. > > > > I have created a test case for it and here is the output after having > > been frozen. > > ========================================== > > > > import wx._gdi_ # dynamically loaded from C: > > \Temp\pubsub\dist\test_wxpubsub_setu > > pv1\wx._gdi_.pyd > > import wx._windows_ # dynamically loaded from C: > > \Temp\pubsub\dist\test_wxpubsub_ > > setupv1\wx._windows_.pyd > > import wx._controls_ # dynamically loaded from C: > > \Temp\pubsub\dist\test_wxpubsub > > _setupv1\wx._controls_.pyd > > import wx._misc_ # dynamically loaded from C: > > \Temp\pubsub\dist\test_wxpubsub_set > > upv1\wx._misc_.pyd > > > > Traceback (most recent call last): > > File "<string>", line 5, in <module> > > File "C:\workplace\pyinstaller-1.5.1\iu.py", line 477, in importHook > > > > mod = self.doimport(nm, ctx, ctx+'.'+nm) > > > > File "C:\workplace\pyinstaller-1.5.1\iu.py", line 521, in doimport > > > > exec co in mod.__dict__ > > > > File "c: > > \Temp\pubsub\build\pyi.win32\test_wxpubsub_setupv1\outPYZ1.pyz/wx.lib. > > pubsub.setupv1", line 16, in <module> > > > > File "c: > > \Temp\pubsub\build\pyi.win32\test_wxpubsub_setupv1\outPYZ1.pyz/wx.lib. > > pubsub.pubsubconf", line 16, in setVersion > > > > File "c: > > \Temp\pubsub\build\pyi.win32\test_wxpubsub_setupv1\outPYZ1.pyz/wx.lib. > > pubsub.pubsubconf", line 51, in setVersion > > AssertionError > > RC: -1 from test_wxpubsub_setupv1 > > OK. > > > > =========================================== > > > > Interestingly (but that really is another problem) when I use the arg1 > > api in > > unfrozen state it works just fine for GNUmed. However when using arg1 in > > frozen > > mode it freezes ok but does not run properly due to complaints about the > > syntax in subscribe() statements. > > Can you post what syntax error you are getting there?
See snippet below. 2011-12-14 11:49:16 DEBUG gm.cfg (C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmCfg2::get() #314): option [internal::debug] found in source [internal] 2011-12-14 11:49:16 DEBUG gm.timers (C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmTimer::__init__() #57): setting up timer: cookie [47499856], delay 2000ms 2011-12-14 11:49:16 DEBUG gm.cfg (C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.pycommon.gmCfg2::get() #314): option [internal::debug] found in source [internal] 2011-12-14 11:49:16 DEBUG gm.main (C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmGuiMain::__register_events() #2984): connected old signal monitor 2011-12-14 11:49:16 DEBUG gm.gui (C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmExceptionHandlingWidgets::handle_uncaught_exception_wx() #160): unhandled exception caught: Traceback (most recent call last): File "<string>", line 549, in <module> File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmGuiMain", line 3357, in main File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/wx._core", line 7981, in __init__ File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/wx._core", line 7555, in _BootstrapApp File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmGuiMain", line 2858, in OnInit File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/Gnumed.wxpython.gmGuiMain", line 2986, in __register_events File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/wx.lib.pubsub.core.publisherbase", line 142, in subscribe File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/wx.lib.pubsub.core.topicobj", line 266, in subscribe File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/wx.lib.pubsub.core.listenerbase", line 185, in validate File "C:\workplace\gnumed- client.1.1.7\build\pyi.win32\setup\outPYZ1.pyz/wx.lib.pubsub.core.listenerimpl", line 66, in _validateArgs ListenerInadequate: Listener "gmApp._signal_debugging_monitor_pubsub" (from module "Gnumed.wxpython.gmGuiMain") inadequate: no args allowed, has (mssg) 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.
