Menu

#1 Error in Starting semantext.py

open
nobody
None
5
2003-01-02
2003-01-02
No

Dear sir/madam,

I have installed the following in my pc:
Python 2.1
wxPython WIN32 for Python 2.1
PyXML-0.8.1.win32-py2.1.exe

When I execute "python semantext.py", the following
error messages appear:

C:\Python21\SemanText>python semantext.py
Traceback (most recent call last):
File "semantext.py", line 2277, in ?
app = SemanText(0)
File "C:\Python21\wxPython\wx.py", line 1744, in
__init__
_wxStart(self.OnInit)
File "semantext.py", line 2219, in OnInit
frame = SemanTextFrame(None, -1, "SemanText v. "
+ CURRENT_VERSION)
File "semantext.py", line 221, in __init__
menu = MakeMenu()
File "semantextMisc.py", line 194, in MakeMenu
optionsMenu.Append
(OPTIONS_ACTIVATE_LEARN_MODE_ID, 'Activate
&Learning Mode'
, 'Enable real-time creation of new associations',
checkable=TRUE)
File "C:\Python21\wxPython\windows.py", line 812, in
Append
val = apply(windowsc.wxMenu_Append,(self,) +
_args, _kwargs)
TypeError: checkable is an invalid keyword argument for
this function
21:32:12: Debug: e:\projects\wx\src\msw\app.cpp
(439): 'UnregisterClass(canvas)'
failed with error 0x00000584 (class still has open
windows.).

Could this be due to incompatibility of the software
installed? I have tried to install in both Win2000 and
Windows XP, both don't work.

Please advise. Thank You.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.