bkchem-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bkchem-user] Cmd-C (copy) on Mac OS X causes application not responding


From: Bruce
Subject: [Bkchem-user] Cmd-C (copy) on Mac OS X causes application not responding
Date: Thu, 17 Nov 2011 23:23:08 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0

Hi,

I'm running bkchem (both stable and 0.14.0-pre2) on a Mac running 10.7.2
(Lion). If I click on the menus (either within bkchem or at the top
(python) menu to get Edit... Copy, then all is well. If I hit the
keyboard shortcut Cmd-C then python becomes "Application not responding".

Running bkchem.py from a terminal and hitting CTRL-C when it is not
responding produces this backtrace below (hopefully helpful?).

Is this a known bug with a known workaround (apart from don't do that,
the old brain is incapable of learning not to press Cmd-C for copy)?

Or is there anything I can do/change/run to help solve this issue?

Regards, Bruce.

MacBookPro:bkchem-0.14.0-pre2 tbwa$ python bkchem/bkchem.py could not
load module pdf_cairo
could not load module png_cairo
could not load module svg_cairo
could not load module ps_cairo
/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/modes.py:108:
UserWarning: how did we get here?!?
  key = event_to_key( event) # Note: event.state can be used to query CAMS
^C<type 'exceptions.KeyboardInterrupt'> Exception in Tk callback
  Function: <bound method chem_paper.key_pressed of <paper.chem_paper
object at 0x101ebdb50>> (type: <type 'instancemethod'>)
  Args: (<Tkinter.Event instance at 0x101f01878>,)
  Event type: KeyPress (type num: 2)
Traceback (innermost last):
  File "/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/Pmw.py", line
1789, in __call__
    return apply(self.func, args)
  File "/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/paper.py", line
437, in key_pressed
    Store.app.mode.key_pressed( event)
  File "/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/modes.py", line
138, in key_pressed
    self._key_sequences[ self._recent_key_seq]()
  File "/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/misc.py", line
116, in <lambda>
    return lambda: function( *arguments, **attrs)
  File "/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/modes.py", line
676, in _set_name_to_selected
    name = Store.app.editPool.activate( text=text, select=select)
  File "/Users/tbwa/Downloads/bkchem-0.14.0-pre2/bkchem/edit_pool.py",
line 206, in activate
    self.mainloop()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py",
line 1017, in mainloop
    self.tk.mainloop(n)
<type 'exceptions.KeyboardInterrupt'>:

================================================
  Event contents:
    char: c
    delta: 524387
    height: ??
    keycode: 524387
    keysym: c
    keysym_num: 99
    num: ??
    send_event: False
    serial: 13521
    state: 8
    time: -1279141968
    type: 2
    widget: .4327227688.4327228264.4327228552.4327201616
    width: ??
    x: -210
    x_root: 0
    y: -276
    y_root: 0

1.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]