unihd-cag / skillbridge

A seamless python to Cadence Virtuoso Skill interface
https://unihd-cag.github.io/skillbridge/
GNU Lesser General Public License v3.0
185 stars 39 forks source link

Why did I encounter the "RuntimeError: The server unexpectedly died" error? #257

Closed zephyruswqs closed 7 months ago

zephyruswqs commented 7 months ago

I am testing using outputting() to receive strings output by virtuoso. According to the example in virtuoso's function documentation, I need to use close() to close the port of oustring() after using getOutstring().

The problem now is that after testing in Python, it was found that using close() to close oustring() would result in a "RuntimeError: The server unexpectedly died" error. May I ask if there is a problem with my operation?

*My code: image

*Error message: image

nielsbuwen commented 7 months ago

This seems to be indeed a bug on our side. I'm investigating the issue.

Thank you for reporting this.

nielsbuwen commented 7 months ago

The command for the close(...) function call was mistaken for an internal close command which shuts down the connection of the Workspace with the server. The linked PR fixes this.

When it is merged, we will deploy a release

TM90 commented 7 months ago

Fixed in skillbridge 1.7.1 release

To update use pip install --upgrade skillbridge

nielsbuwen commented 7 months ago

The release has been deployed as version 1.7.1

zephyruswqs commented 7 months ago

The command for the close(...) function call was mistaken for an internal close command which shuts down the connection of the Workspace with the server. The linked PR fixes this.

When it is merged, we will deploy a release

Okay, thank you. It's working normally now.