Skip to content

Please give full error context on errors #169

@apalazzi

Description

@apalazzi

When I try to use openseespy in my own environment I sometimes get errors like the following:

Traceback (most recent call last):
  File "my_file.py", line 350, in <module>
    ops.element('elasticBeamColumn',
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
                el_tag_counter, n1, n2,
                ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
                transfTag,
                ^^^^^^^^^^
    )
    ^
opensees.OpenSeesError: See stderr output

which doesn't help at all in finding what's the issue... the full error should instead be printed to stderr to give people as much context as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions