Tue 26 Feb 2008 05:32:43 PM UTC, original submission:
When drawing a molecule that has an atom label which is broader than the bonds that goes to the right side, and exporting this drawing as openoffice 2.0 drawing, the following error occurs:
Error: 4
<class '_tkinter.TclError'> Exception in Tk callback
Function: <function <lambda> at 0x1767a28> (type: <type 'function'>)
Args: ()
Traceback (innermost last):
File "/usr/lib/python2.5/site-packages/bkchem/Pmw.py", line 1788, in _call_
return apply(self.func, args)
File "/usr/lib/python2.5/site-packages/bkchem/misc.py", line 114, in <lambda>
return lambda: apply( function, arguments)
File "/usr/lib/python2.5/site-packages/bkchem/main.py", line 1127, in plugin_export
doc = exporter.write_to_file( a)
File "/usr/lib/python2.5/site-packages/bkchem/plugins/odf.py", line 90, in write_to_file
self.add_bond( b, group)
File "/usr/lib/python2.5/site-packages/bkchem/plugins/odf.py", line 144, in add_bond
coords = map( Screen.px_to_cm, self.paper.coords( i))
File "lib-tk/Tkinter.py", line 2137, in coords
self.tk.call((self._w, 'coords') + args)))
<class '_tkinter.TclError'>: wrong # args: should be ".16526656.16527160.35502632.26545424 coords tagOrId ?x y x y ...?"
|