CiscoDevNet / ydk-gen

Generate model-driven APIs from YANG models
http://ciscodevnet.github.io/ydk-gen/
Apache License 2.0
136 stars 74 forks source link

Segmentaion fault with pybind11::error_already_set #1074

Closed jayapr closed 1 year ago

jayapr commented 1 year ago

Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.

Expected Behavior

Run gets interrupted when we instantiate non-top-level containers!

Current Behavior

Aborted (core dumped) Segmentaion fault with pybind11::error_already_set

Steps to Reproduce

Your Script

Logs

Enable logging and post the logs below

terminate called after throwing an instance of 'pybind11::error_already_set'
  what():  TypeError: '>=' not supported between instances of 'int' and 'NoneType'

At:
  /usr/cisco/packages/python/python-3.6.7/lib/python3.6/logging/__init__.py(1548): isEnabledFor
  /usr/cisco/packages/python/python-3.6.7/lib/python3.6/logging/__init__.py(1307): info

Aborted (core dumped)

System Information

ygorelik commented 1 year ago

This issue might be potentially fixed with #1050, which is yet to be tested.

ygorelik commented 1 year ago

Could not reproduce the issue. Hence closing.