- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » omniORB break
omniORB break
omniORB break
I deleted the OpenModelica files in the tmp directory during use. When I then do om = OMCSession(), new files are made, but when I do om.execute(...) I get
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/OMPython/__init__.py", line 213, in execute
result = self._omc.sendExpression(command)
File "/usr/lib/python2.7/dist-packages/OMPythonIDL/omc_communication_idl.py", line 47, in sendExpression
return _omnipy.invoke(self, "sendExpression", _0__OMCIDL.OmcCommunication._d_sendExpression, args)
omniORB.CORBA.COMM_FAILURE: CORBA.COMM_FAILURE(omniORB.COMM_FAILURE_WaitingForReply, CORBA.COMPLETED_MAYBE)
How to fix the system?
Re: omniORB break
Exit python and run killall omc should clean up enough.
- sjoelund.se
- 1700 Posts
Re: omniORB break
It might be that your model triggers omc to crash. A segmentation fault or so.
- sjoelund.se
- 1700 Posts
Re: omniORB break
Maybe a clue is given by the message I get when I quit python:
Exception omniORB.CORBA.TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO) in <bound method OMCSession.__del__ of <OMPython.OMCSession object at 0x7f607a4c9a10>>
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » omniORB break