bugBKChem - Bugs: bug #22426, ODG Export fails if bond is hidden...


bug #22426: ODG Export fails if bond is hidden behind atom label

Submitted by:  None
Submitted on:  Tue 26 Feb 2008 05:32:43 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: exportStatus: In Progress
Privacy: PublicAssigned to: Beda Kosata <beda>
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 ...?"



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by beda (Updated the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 27 Feb 2008 02:19:44 PM UTCbedaStatusNone=>In Progress
      Assigned toNone=>beda

    Back to the top

    Powered by Savane 3.1-cleanup1