Bugs item #3425892, was opened at 2011-10-19 13:38
Message generated for change (Tracker Item Submitted) made by ssorgatem
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3425892&group_id=40728

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: File Translation
Group: 2.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ssorgatem (ssorgatem)
Assigned to: Nobody/Anonymous (nobody)
Summary: InChi ti InChiKey gives segmentation fault on 2.3.1

Initial Comment:
When trying to convert a molecule from inchi to inchikey I get a segmentation 
fault. For example:

Python 2.7.2+ (default, Oct  4 2011, 20:06:09) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import openbabel
>>> conv = openbabel.OBConversion()
>>> conv.SetInAndOutFormats("inchi", "inchikey")
True
>>> mol = openbabel.OBMol()
>>> conv.ReadString(mol, 
>>> "InChI=1S/C22H29FO5/c1-12-8-16-15-5-4-13-9-14(25)6-7-19(13,2)21(15,23)17(26)10-20(16,3)22(12,28)18(27)11-24/h6-7,9,12,15-17,24,26,28H,4-5,8,10-11H2,1-3H3/t12-,15+,16+,17+,19+,20+,21+,22+/m1/s1")
True
>>> conv.WriteString(mol)
Violació de segment

(Violació de segment = Segmentation fault)

The same happens from pybel and the same also happens when using the old 
conv.SetInAndOutFormats("inchi", "inchi") and conv.SetOptions("K", 
conv.OUTOPTIONS) approach.

I'm running ubuntu 11.10 amd64 and OpenBabel 2.3.1 built from source.

Adrià Cereto-Massagué  <adrian.cer...@gmail.com>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3425892&group_id=40728

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to