Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » python segmentation fault accessing listOfCompartments () [0]
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Paul Shannon


Posts: 3
Registered:
September 2003
python segmentation fault accessing listOfCompartments () [0] 13 Apr '11 14:32 Go to previous message

Dear smbl-interoperability,

I have been chewing on this for a while, and having failed to get any insight, turn to you for help.

>>> filename = 'enzymaticReaction.xml'
>>> m = readModel (filename) # <libsbml.Model; proxy of <Swig Object of type 'Model_t *' at 0x10062f150> >
>>> c = m.getListOfCompartments () # <libsbml.ListOfCompartments; proxy of <Swig Object of type 'ListOfCompartments *' at 0x100616fc0> >
>>> len (c) # 1
>>> c [0] # Segmentation fault; c.get (0) segfaults also

context:

MacBook Pro
Mac OS X 10.6.7
libSBML 4.3.1
python 2.6.1

I will be very grateful for any suggestions!

- Paul Shannon
Institute for Systems Biology
Seattle
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability

For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   python segmentation fault accessing listOfCompartm...  Paul Shannon13 Apr '11 14:32
Read Message   Re: python segmentation fault accessing listOfComp... fbergman13 Apr '11 15:06
Read Message   Re: python segmentation fault accessing listOfComp... Paul Shannon13 Apr '11 15:35
Previous Topic:libsbml-5.0.0 + Matlab bindings
Next Topic:Mapping MIRIAM annotations for reactions
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.