From: Philip S. <ph...@se...> - 2011-11-04 20:04:28
|
On Oct 31, 2011, at 1:13 PM, Carsten Grohmann wrote: > Hi, > > I published two rc4 installer at http://www.carstengrohmann.de/wxglade/ > > The existing rc3 installer has been "converted" in the standalone edition > installer wxGlade-SAE-0.6.4rc4-setup.exe > > The new installer wxGlade-0.6.4rc4-setup.exe installes the pure wxGlade. > Thereby you need a local Python and wxPython installations to run. And you > need an association between Python and *.pyw files. > > The wxGlade api documentation is published also at > http://www.carstengrohmann.de/wxgalde/htmldocs/index.html > > May you could test both new installer. Hi Carsten, Thanks for your continued work on this. I have some success and some problems to report. This file installed succesfully: http://www.carstengrohmann.de/wxglade/wxGlade-0.6.4rc4-setup.exe However, at the end of the install, I get the same error that Davorin K reported. The setup program offers to run wxGlade as its final step. That fails with the following message: --------------------------- Setup --------------------------- Unable to execute file: C:\Program Files\wxGladeExe\wxglade.pyw CreateProcess failed; code 193. %1 is not a valid Win32 application. --------------------------- OK --------------------------- It's probably for the same reason that the desktop icon doesn't work when I double-click on it, nor does it work if I navigate to Program Files/wxGladeExe and double click on wxglade.pyw. I see an hourglass briefly, and then nothing. I checked the Desktop icon association and it is associated with pythonw. It executes just fine if I navigate to Program Files/wxGladeExe via the command line and type 'pythonw wxglade.pyw'. It finds and loads our custom floatspin and floatspin_multiplier widgets and can load a .wxg file containing those widgets. This file also install OK: http://www.carstengrohmann.de/wxglade/wxGlade-SAE-0.6.4rc4-setup.exe However, when I run it, I get the following: -------------------------------------------------------------------------------- loaded code generator for C++ loaded code generator for lisp loaded code generator for perl loaded code generator for python loaded code generator for XRC "__init__.py" is not a valid code generator module Found widgets listing -> C:\Program Files\wxGladeExe\widgets\widgets.txt loading widget modules: frame dialog panel splitter_window notebook button toggle_button bitmap_button spin_button text_ctrl spin_ctrl slider gauge static_text checkbox radio_button radio_box choice combo_box list_box calendar_ctrl datepicker_ctrl static_line static_bitmap list_ctrl tree_ctrl grid custom_widget menubar toolbar spacer Found widgets listing -> Y:\duke\src\vespa\common\wx_gravy\widgets\widgets.txt loading widget modules: ERROR loading "floatspin" Traceback (most recent call last): File "C:\Dokumente und Einstellungen\carsten\Eigene Dateien\Projekte.hg\wxglade\build\outPYZ1.pyz/common", line 240, in __load_widgets File "Y:\duke\src\vespa\common\wx_gravy\widgets\floatspin\__init__.py", line 8, in initialize import floatspin_editor File "c:\Programme\pyinstaller-1.5.1\iu.py", line 436, in importHook File "c:\Programme\pyinstaller-1.5.1\iu.py", line 521, in doimport File "Y:\duke\src\vespa\common\wx_gravy\widgets\floatspin\floatspin_editor.py", line 10, in <module> from floatspin_property import FloatSpinProperty File "c:\Programme\pyinstaller-1.5.1\iu.py", line 436, in importHook File "c:\Programme\pyinstaller-1.5.1\iu.py", line 521, in doimport File "Y:\duke\src\vespa\common\wx_gravy\widgets\floatspin\floatspin_property.py", line 13, in <module> from wx.lib.agw.floatspin import FloatSpin, EVT_FLOATSPIN File "c:\Programme\pyinstaller-1.5.1\iu.py", line 455, in importHook ImportError: No module named wx.lib.agw.floatspin ERROR loading "floatspin_multiplier" Traceback (most recent call last): File "C:\Dokumente und Einstellungen\carsten\Eigene Dateien\Projekte.hg\wxglade\build\outPYZ1.pyz/common", line 240, in __load_widgets File "Y:\duke\src\vespa\common\wx_gravy\widgets\floatspin_multiplier\__init__.py", line 8, in initialize import floatspin_editor File "c:\Programme\pyinstaller-1.5.1\iu.py", line 436, in importHook File "c:\Programme\pyinstaller-1.5.1\iu.py", line 521, in doimport File "Y:\duke\src\vespa\common\wx_gravy\widgets\floatspin_multiplier\floatspin_editor.py", line 10, in <module> from floatspin_property import FloatSpinProperty File "c:\Programme\pyinstaller-1.5.1\iu.py", line 436, in importHook File "c:\Programme\pyinstaller-1.5.1\iu.py", line 521, in doimport File "Y:\duke\src\vespa\common\wx_gravy\widgets\floatspin_multiplier\floatspin_property.py", line 13, in <module> from wx.lib.agw.floatspin import EVT_FLOATSPIN File "c:\Programme\pyinstaller-1.5.1\iu.py", line 455, in importHook ImportError: No module named wx.lib.agw.floatspin -------------------------------------------------------------------------------- wx.lib.agw.floatspin is available on my machine: C:\>python -c "import wx.lib.agw.floatspin" C:\>python -c "import wx; print wx.__version__" 2.8.11.0 C:\>python Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> ^Z Hope this helps Philip |