Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

module 'psspy' has no attribute 'aswshntbusint'

When I try to use the

ierr, carray = aswshntbuschar(sid, flag, string)

that was introduced with the release of 35.0.0, I get the following error message:

ierr, res = psspy.aswshntbusint(sid, 5, "NUMBER")

Traceback (most recent call last):
File "< string>", line 2, in < module >

AttributeError: module 'psspy' has no attribute 'aswshntbusint'

Python Exception raised!

PS: The sid subsystem has been defined and used successfully with other functions like aloadchar before running this function.

I run this from within the PSSE v35.3.0 prompt. I run a PSSE installation that has previously been updated from v33, could my psspy-module be outdated from the PSSE version? I hope anyone has experience with what might be wrong and how to fix it.