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:  None Severity:  3 - Normal
Item Group:  export Status:  In Progress
Privacy:  Public Assigned 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 ...?"

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-27 beda StatusNone => In Progress
        Assigned toNone => beda

    Back to the top


    Powered by Savane 3.3