|
Hi Patma,
the problem is that semanticSBML currently works only with libsbml2.x.x
libsbml3.x is not backwards compatible, and this is why you experience
this error.
I am currently working on a new version that works with libsbml3 however
it is not ready yet.
Depending on which functions you want to use I could give you a working
copy of the current development version.
Please contact me directly if you want to use the development version so
we can discuss if it could work for you.
Falko
On Tue, 25 Sep 2007 18:27:58 +0200, Padma.P <pammy_choudary@yahoo.co.in>
wrote:
>
> Hi
>
> I got problems in installing libsbml 3.0.0 (for semanticSBML)in windows
> using python 2.5
>
> I have followed the suggestions in these posts...given by Brett Olivier
> ...
>
> """The following seems to work with both Python2.5 expat/xerces versions
> of libsbml-3.0. In both cases I install the library and manually copy
> libsbml.py and _libsbml.dll to site-packages.
>
> While I'm not sure why, it seems as if Python2.5 doesn't like the .dll
> extension, renaming _libsbml.dll to _libsbml.pyd fixes the problem.I'd
> be interested to see if this works with your configuration? """""
>
> previously i used to get """error: no module named libsbml"""
>
> I have copied the libsbml.py and _libsbml.dll to python\Lib and tried
> to run semanticSBML but still i am getting errors like this.
> ////////////
> C:\SBMLmerge>semanticsbml_gui.py
> Traceback (most recent call last):
> File "C:\SBMLmerge\semanticsbml_gui.py", line 615, in <module>
> main(sys.argv)
> File "C:\SBMLmerge\semanticsbml_gui.py", line 585, in main
> gui = SemanticSbmlGui_app(options,args)
> File "C:\SBMLmerge\semanticsbml_gui.py", line 49, in __init__
> self.i2sview = Id2Sbml_view(self.ui.mainTabWidget,self)
> File "C:\SBMLmerge\semanticSBML\gui_views.py", line 346, in __init__
> self._document=SemanticSbmlGui_doc()
> File "C:\SBMLmerge\semanticSBML\docmanager.py", line 232, in __init__
> self.model = Model(model)
> File "C:\SBMLmerge\semanticSBML\Model.py", line 55, in __new__
> if not isinstance(model.document, libsbml.SBMLDocumentPtr) and not
> isinstance(model.document, libsbml.SBMLDocument):#marvin we hacked
> again, let's better check if this is really correct
> AttributeError: 'module' object has no attribute SBMLDocumentPtr'
> /////////////
>
> any idea !!
>
> thanks in advance
>
> ____________________________________________________________
> To manage your libsbml-discuss list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss
>
> For a web interface to the libsbml-discuss mailing list, visit
> http://sbml.org/forums/
>
> For questions or feedback about the libsbml-discuss list,
> contact sbml-team@caltech.edu.
____________________________________________________________
To manage your libsbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss
For a web interface to the libsbml-discuss mailing list, visit
http://sbml.org/forums/
For questions or feedback about the libsbml-discuss list,
contact sbml-team@caltech.edu.
|