Application Error with wxPython
DP
pennedinil at excite.com
Sat Dec 14 05:41:51 EST 2002
More information about the Python-list mailing list
Sat Dec 14 05:41:51 EST 2002
- Previous message (by thread): Application Error with wxPython
- Next message (by thread): Application Error with wxPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This is (barely) related to a previous question I posted a few days ago. When I run - from wxPython.wx import * chooser = wxDirDialog(None) if chooser.ShowModal() == wxID_OK: choice = chooser.GetPath() print choice else: print "Cancelled" (Yes, that is the whole program. For now) I get the expected directory choice dialog and a printout of my choice on the console. When I run - from wxPython.wx import * chooser = wxFileDialog(None) if chooser.ShowModal() == wxID_OK: choice = chooser.GetPath() print choice else: print "Cancelled" I get an "python.exe - Application Error: Memory at _____ could not be read" etc. and the application closes. The same thing happens if I try any of the other controls in place of wxFileDialog, e.g., wxTextEntryDialog. I've tried number of different combinations, basically variations of the above, but always get the same result -- an application error. I'm hoping someone on this list can tell me if they're getting the same application error, or if I'm unique in this. If it's the former case, what should I be doing different? And if it's the latter, that this problem is unique to me, what can I do to fix it? I'm using WinXP Pro. And all of the demo that came with wxPython runs fine. Thanks in advance. Dinil =========================================== included -- all output from running python -v <py script> until application crashes (in case helpful) =========================================== C:\> python -V Python 2.2.1 C:\> python -v choose-file.py # C:\Python\lib\site.pyc matches C:\Python\lib\site.py import site # precompiled from C:\Python\lib\site.pyc # C:\Python\lib\os.pyc matches C:\Python\lib\os.py import os # precompiled from C:\Python\lib\os.pyc import nt # builtin # C:\Python\lib\ntpath.pyc matches C:\Python\lib\ntpath.py import ntpath # precompiled from C:\Python\lib\ntpath.pyc # C:\Python\lib\stat.pyc matches C:\Python\lib\stat.py import stat # precompiled from C:\Python\lib\stat.pyc # C:\Python\lib\UserDict.pyc matches C:\Python\lib\UserDict.py import UserDict # precompiled from C:\Python\lib\UserDict.pyc # C:\Python\lib\copy_reg.pyc matches C:\Python\lib\copy_reg.py import copy_reg # precompiled from C:\Python\lib\copy_reg.pyc # C:\Python\lib\types.pyc matches C:\Python\lib\types.py import types # precompiled from C:\Python\lib\types.pyc # C:\Python\lib\__future__.pyc matches C:\Python\lib\__future__.py import __future__ # precompiled from C:\Python\lib\__future__.pyc ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. import wxPython # directory C:\Python\lib\site-packages\wxPython # C:\Python\lib\site-packages\wxPython\__init__.pyc matches C:\Python\lib\site-packages\wxPython\__init__.py import wxPython # precompiled from C:\Python\lib\site-packages\wxPython\__init__.pyc # C:\Python\lib\site-packages\wxPython\__version__.pyc matches C:\Python\lib\site-packages\wxPython\__version__.py import wxPython.__version__ # precompiled from C:\Python\lib\site-packages\wxPython\__version__.pyc import wxPython.wxc # dynamically loaded from C:\Python\lib\site-packages\wxPython\wxc.pyd # C:\Python\lib\site-packages\wxPython\wx.pyc matches C:\Python\lib\site-packages\wxPython\wx.py import wxPython.wx # precompiled from C:\Python\lib\site-packages\wxPython\wx.pyc # C:\Python\lib\site-packages\wxPython\misc.pyc matches C:\Python\lib\site-packages\wxPython\misc.py import wxPython.misc # precompiled from C:\Python\lib\site-packages\wxPython\misc.pyc # C:\Python\lib\site-packages\wxPython\misc2.pyc matches C:\Python\lib\site-packages\wxPython\misc2.py import wxPython.misc2 # precompiled from C:\Python\lib\site-packages\wxPython\misc2.pyc # C:\Python\lib\site-packages\wxPython\windows.pyc matches C:\Python\lib\site-packages\wxPython\windows.py import wxPython.windows # precompiled from C:\Python\lib\site-packages\wxPython\windows.pyc # C:\Python\lib\site-packages\wxPython\gdi.pyc matches C:\Python\lib\site-packages\wxPython\gdi.py import wxPython.gdi # precompiled from C:\Python\lib\site-packages\wxPython\gdi.pyc # C:\Python\lib\site-packages\wxPython\fonts.pyc matches C:\Python\lib\site-packages\wxPython\fonts.py import wxPython.fonts # precompiled from C:\Python\lib\site-packages\wxPython\fonts.pyc # C:\Python\lib\site-packages\wxPython\clip_dnd.pyc matches C:\Python\lib\site-packages\wxPython\clip_dnd.py import wxPython.clip_dnd # precompiled from C:\Python\lib\site-packages\wxPython\clip_dnd.pyc # C:\Python\lib\site-packages\wxPython\events.pyc matches C:\Python\lib\site-packages\wxPython\events.py import wxPython.events # precompiled from C:\Python\lib\site-packages\wxPython\events.pyc # C:\Python\lib\site-packages\wxPython\streams.pyc matches C:\Python\lib\site-packages\wxPython\streams.py import wxPython.streams # precompiled from C:\Python\lib\site-packages\wxPython\streams.pyc # C:\Python\lib\string.pyc matches C:\Python\lib\string.py import string # precompiled from C:\Python\lib\string.pyc import strop # builtin # C:\Python\lib\site-packages\wxPython\utils.pyc matches C:\Python\lib\site-packages\wxPython\utils.py import wxPython.utils # precompiled from C:\Python\lib\site-packages\wxPython\utils.pyc # C:\Python\lib\site-packages\wxPython\mdi.pyc matches C:\Python\lib\site-packages\wxPython\mdi.py import wxPython.mdi # precompiled from C:\Python\lib\site-packages\wxPython\mdi.pyc # C:\Python\lib\site-packages\wxPython\frames.pyc matches C:\Python\lib\site-packages\wxPython\frames.py import wxPython.frames # precompiled from C:\Python\lib\site-packages\wxPython\frames.pyc # C:\Python\lib\site-packages\wxPython\stattool.pyc matches C:\Python\lib\site-packages\wxPython\stattool.py import wxPython.stattool # precompiled from C:\Python\lib\site-packages\wxPython\stattool.pyc # C:\Python\lib\site-packages\wxPython\controls.pyc matches C:\Python\lib\site-packages\wxPython\controls.py import wxPython.controls # precompiled from C:\Python\lib\site-packages\wxPython\controls.pyc # C:\Python\lib\site-packages\wxPython\controls2.pyc matches C:\Python\lib\site-packages\wxPython\controls2.py import wxPython.controls2 # precompiled from C:\Python\lib\site-packages\wxPython\controls2.pyc # C:\Python\lib\site-packages\wxPython\windows2.pyc matches C:\Python\lib\site-packages\wxPython\windows2.py import wxPython.windows2 # precompiled from C:\Python\lib\site-packages\wxPython\windows2.pyc # C:\Python\lib\site-packages\wxPython\cmndlgs.pyc matches C:\Python\lib\site-packages\wxPython\cmndlgs.py import wxPython.cmndlgs # precompiled from C:\Python\lib\site-packages\wxPython\cmndlgs.pyc # C:\Python\lib\site-packages\wxPython\windows3.pyc matches C:\Python\lib\site-packages\wxPython\windows3.py import wxPython.windows3 # precompiled from C:\Python\lib\site-packages\wxPython\windows3.pyc # C:\Python\lib\site-packages\wxPython\image.pyc matches C:\Python\lib\site-packages\wxPython\image.py import wxPython.image # precompiled from C:\Python\lib\site-packages\wxPython\image.pyc # C:\Python\lib\site-packages\wxPython\printfw.pyc matches C:\Python\lib\site-packages\wxPython\printfw.py import wxPython.printfw # precompiled from C:\Python\lib\site-packages\wxPython\printfw.pyc # C:\Python\lib\site-packages\wxPython\sizers.pyc matches C:\Python\lib\site-packages\wxPython\sizers.py import wxPython.sizers # precompiled from C:\Python\lib\site-packages\wxPython\sizers.pyc # C:\Python\lib\site-packages\wxPython\filesys.pyc matches C:\Python\lib\site-packages\wxPython\filesys.py import wxPython.filesys # precompiled from C:\Python\lib\site-packages\wxPython\filesys.pyc
- Previous message (by thread): Application Error with wxPython
- Next message (by thread): Application Error with wxPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list