#93 error when pressing <Control+Q>

closed-works-for-me
nobody
None
5
2007-04-11
2005-06-04
Cédric Delfosse
No

http://bugs.debian.org/310388
Version: 3.10.13

Start drpython, and then press <Control+Q>
Traceback (most recent call last):
File "/usr/share/drpython/drNotebook.py", line 705,
in OnKeyDown
self.grandparent.RunShortcuts(event)
AttributeError: 'drMainPanel' object has no attribute
RunShortcuts'

Discussion

  • Logged In: YES
    user_id=772872

    Hello, I think, the line 705 should be replaced by:
    def OnKeyDown(self, event):
    self.grandparent.GetParent().RunShortcuts(event)

     
  • Logged In: YES
    user_id=796750

    Might I get some more info please?
    I am unable to duplicate this.

     
    • status: open --> open-works-for-me
     
  • Logged In: YES
    user_id=290465

    This bug happened with drpython 3.10.13, on Linux.
    Just start drpython and press control + q.
    Maybe this is fixed in drpython 160 or 161, I did not try it.

     
  • Logged In: YES
    user_id=290465

    I have a patch for this bug, with drpython version 161.

     
  • Logged In: YES
    user_id=290465

    And the other part of the patch.

     
  • Logged In: YES
    user_id=772872
    Originator: NO

    thanks, applied your patch in DrPython 1.66.

     
    • status: open-works-for-me --> closed-works-for-me