Mon 13 Feb 2006 10:31:14 PM UTC, original submission:
An aside: thanks for the great program!
On to the problem:
- bkchem-0.11.2 on Fedora Core 4
- cutting and pasting problem:
Steps to reproduce:
1. start bkchem:
[root@alanoffice bkchem-0.11.2]# python /home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/bkchem.py &
2. load D-glyceraldehyde-3-phosphate.svg (attached)
3. Edit -> Select All
4. Edit -> Copy
5. File -> New
6. Move to new tab
7. Edit -> Paste
note: there probably is another bug buried somewhere because sometimes Paste is active and sometimes its inactivated in this pulldown (if it's inactivated, bug can be reproduced by going back, selecting and copying again and then returning to the new tab)
Error: 1
cannot remove non-existing edge Exception in Tk callback
Function: <function <lambda> at 0xb77f2f44> (type: <type 'function'>)
Args: ()
Traceback (innermost last):
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/Pmw.py", line 1788, in _call_
return apply(self.func, args)
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/main.py", line 209, in <lambda>
( ("Edit"), 'command', ('Paste'), '(C-y)', _("Paste the content of clipboard to current paper"), lambda : self.paper.paste_clipboard( None), lambda : self._clipboard),
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/paper.py", line 1097, in paste_clipboard
self.handle_overlap()
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/paper.py", line 820, in handle_overlap
deleted.extend( mol.handle_overlap())
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/molecule.py", line 455, in handle_overlap
self.delete_bond( b)
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/molecule.py", line 277, in delete_bond
self.disconnect_edge( item)
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/oasa/oasa/graph/graph.py", line 170, in disconnect_edge
v2.remove_edge_and_neighbor( e)
File "/home/thomp/downloads/chemistry/bkchem-0.11.2/bkchem/oasa/oasa/graph/vertex.py", line 67, in remove_edge_and_neighbor
raise "cannot remove non-existing edge", e
cannot remove non-existing edge: bond between atom96218 atom96218
|