Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > wxPython problem with freeze.py

Reply
Thread Tools

wxPython problem with freeze.py

 
 
=?iso-8859-1?B?aWFuYXLp?=
Guest
Posts: n/a
 
      04-05-2006
I have a wxPython application that i can run no problem from source,
now i want to freeze it for distribution. I tried the freeze.py script
and got the following output:

<snip>
freezing Frame1 ...
freezing UserDict ...
freezing __main__ ...
freezing codecs ...
freezing copy ...
freezing copy_reg ...
freezing dis ...
freezing distutils ...
freezing distutils.dep_util ...
freezing distutils.errors ...
freezing distutils.log ...
freezing distutils.spawn ...
freezing distutils.util ...
freezing dummy_thread ...
freezing encodings ...
freezing encodings.aliases ...
freezing inspect ...
freezing linecache ...
freezing locale ...
freezing macpath ...
freezing ntpath ...
freezing opcode ...
freezing os ...
freezing os2emxpath ...
freezing popen2 ...
freezing posixpath ...
freezing py_compile ...
freezing random ...
freezing re ...
freezing repr ...
freezing site ...
freezing sitecustomize ...
freezing sre ...
freezing sre_compile ...
freezing sre_constants ...
freezing sre_parse ...
freezing stat ...
freezing string ...
freezing tempfile ...
freezing token ...
freezing tokenize ...
freezing traceback ...
freezing types ...
freezing warnings ...
freezing wx ...
freezing wx.__version__ ...
freezing wx._controls ...
freezing wx._core ...
freezing wx._gdi ...
freezing wx._misc ...
freezing wx._windows ...
generating table of frozen modules
Warning: unknown modules remain: _locale _random array binascii fcntl
itertools math pwd strop time wx._controls_ wx._core_ wx._gdi_
wx._misc_ wx._windows_
Now run "make" in frozen to build the target: csv_generator


What's going on? says it's freezing then says it can't find it ?!?
Anyway continued and ran make, no errors. When I run the application I
get:


Traceback (most recent call last):
File "csv_generator.py", line 4, in ?
File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py",
line 42, in ?
from wx._core import *
File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 4, in ?
import _core_
ImportError: No module named _core_


Can someone help with this? Running OpenSuSE 10, all relevant packages
installed through YaST.
TIA!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wx/wxPython/wxPython.h & python24_d.lib problem Jolley Python 1 11-23-2006 08:02 AM
[wxPython-users] Web based applications are possible with wxPython? Ruben Charles Python 6 10-25-2005 09:41 PM
wxPython - wx package (new style wxPython?) Logan Python 5 12-11-2003 04:12 PM
[PY GUI] interest function in python GUI(wxpython,pyqt) program.wxpython,pyqt ulysses Python 4 10-22-2003 03:28 PM
wxPython looses function "wxPython.wx.miscc" Anand Python 1 07-23-2003 01:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57