#2 Traceback on Launch 2.2.7

closed-fixed
nobody
None
5
2004-02-23
2004-02-22
Stephen Anderson
No

No problems with 2.2.6 Running WinXP:

C:\Programming\drpython>drpython.py
Traceback (most recent call last):
File "C:\Programming\drpython\drpython.py", line 2716, in ?
app = DrApp(0)
File "C:\PROGRA~2\Python\lib\site-packages\wxPython\wx.py", line 1808, in __init__
_wxStart(self.OnInit)
File "C:\Programming\drpython\drpython.py", line 2709, in OnInit
frame = DrFrame(None, 101, "DrPython - Untitled")
File "C:\Programming\drpython\drpython.py", line 293, in __init__
self.LoadShortcuts()
File "C:\Programming\drpython\drpython.py", line 940, in LoadShortcuts
self.Shortcuts, self.KeycodeArray, self.ShortcutsIgnoreString =
drShortcutsFile.GetDefaultShortcuts()
File "C:\Programming\drpython\drShortcutsFile.py", line 93, in
GetDefaultShortcuts
l = len(ShortcutList)
NameError: global name 'ShortcutList' is not defined
14:57:46: Debug: e:\projects\wx\src\msw\app.cpp(439): 'UnregisterClass(canvas)'
failed with error 0x00000584 (class still has open windows.).

Discussion

  • Logged In: NO

    Oops. Thanks. It is fixed now (I just inserted
    ShortcutList = GetShortcutList() on line 92).

    I have uploaded the changes to cvs.

    I should probably make this a release, since this kills it
    for folks who are new to the program.

     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=796750

    Oops. Thanks. It is fixed now (I just inserted
    ShortcutList = GetShortcutList() on line 92).

    I have uploaded the changes to cvs.

    I should probably make this a release, since this kills it
    for folks who are new to the program. It will be 2.2.8