I am attempting to use Python with MSC Marc. As I am using "py_send" to open a model file on Marc, I get an error saying "SystemError: error return without exception set". The bottom of the screen reads "General: Document Open Failed:: Failed to open document 'C:\Program Files (x86)\Wing IDE 101 6.0\bin\x-wingide-python-shell:\97113032\2". I am unsure what it all means; I also checked my files and I do not seem to have the specified file location displayed at the bottom of the screen. I do have the py_mentat module imported and thus I do not think it is a module issue.
This exception occurs when there is a bug in a C extension module. Since this exception occurs outside of Wing, it is probably not related to Wing. I recommend that you contact the author of the C extension module with a reproducible test case that does not involve Wing and ask them to fix it.