Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: exception: access violation writing when creating AliasReactionGlyph #10

Open
dalbabur opened this issue Nov 16, 2024 · 1 comment

Comments

@dalbabur
Copy link

sbmlnetwork 0.4.0, Windows

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
[~\AppData\Local\Temp\ipykernel_8040\115540302.py](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/Diego%20Alba/Documents/GitHub/ECFERS/~/AppData/Local/Temp/ipykernel_8040/115540302.py) in ?()
     16         print(spec)
     17         print(M0.getNumSpeciesGlyphs(spec))
     18 
     19         if matching_keys:
     20             for key_index, key in enumerate(matching_keys):
     21                 if (key_index > 0) and (entry not in rxn_entry_glyph):
 -->22                       M0.createAliasReactionGlyph(rxn_label)

[c:\Users\Diego](file:///C:/Users/Diego) Alba\.conda\envs\ODBM2\lib\site-packages\libsbmlnetwork\libsbmlnetwork.py in ?(self, reaction_id, layout_index)
    451         :Returns:
    452 
    453             true on success and false if the alias ReactionGlyph could not be created
    454         """
--> 455         return lib.c_api_createAliasReactionGlyph(self.sbml_object, str(reaction_id).encode(), layout_index)

OSError: exception: access violation writing 0x000001BFE94F66C0
@adelhpour
Copy link
Member

@dalbabur Thanks for reporting this! Could you share the script or steps you used to reproduce the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants