Re: SystemError: error return without exception set

2017-12-07 Thread Natalie Leung
On Thursday, December 7, 2017 at 11:00:37 AM UTC-5, Thomas Nyberg wrote: > On 12/07/2017 04:36 PM, Natalie Leung wrote: > > The code stops at "py_send(openModel)" with an error message that reads: > > Traceback (most recent call last): File "[my file path]",

SystemError: error return without exception set

2017-12-07 Thread Natalie Leung
I am trying to use Python to communicate and send commands in MSC Marc. A part of the code looks something like this: from py_mentat import* directory = '[specified the file path to my model]' marcModel = '[name of my model]' py_echo(0) openModel = '*new_model yes *open_model "'+ directory +