This pull request addresses an issue where PySpice incorrectly handles certain stderr outputs from libngspice version 43, specifically messages like "Using SPARSE 1.3 as Direct Linear Solver". These messages, while appearing on stderr, are informational and not indicative of errors.
Changes:
Modified the _send_char callback in Spice/NgSpice/Shared.py to specifically handle messages starting with "Using".
These messages are now treated as debug output instead of errors, preventing the self._error_in_stderr flag from being set and avoiding the NgSpiceCommandError.
Fixes #379
This pull request addresses an issue where PySpice incorrectly handles certain stderr outputs from libngspice version 43, specifically messages like "Using SPARSE 1.3 as Direct Linear Solver". These messages, while appearing on stderr, are informational and not indicative of errors.
Changes:
_send_char
callback inSpice/NgSpice/Shared.py
to specifically handle messages starting with "Using".self._error_in_stderr
flag from being set and avoiding theNgSpiceCommandError
.