Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMC log file cannot be created if OpenModelica is running #8

Closed
CSchoel opened this issue Feb 27, 2019 · 1 comment
Closed

OMC log file cannot be created if OpenModelica is running #8

CSchoel opened this issue Feb 27, 2019 · 1 comment

Comments

@CSchoel
Copy link
Member

CSchoel commented Feb 27, 2019

Mo|E (or the OMC?) tries to create the log C:\Users\Username\AppData\Local\Temp\omc_home\omc.log which is already in use if an OMC instance is running that was started by OpenModelica. This causes the server to hang up on the connection to the Atom-plugin.

Tested with OpenModelica version 1.13.0 and Mo|E version 0.6.5.

@njustus
Copy link
Member

njustus commented Feb 27, 2019

Related to #9 ..
Either we are generating a random log file name, or parsing the output so we don't need a log file anymore. May be we should parse the omc stdout and write them into our log file with a specific logger 🤔

njustus pushed a commit that referenced this issue Mar 5, 2019
@njustus njustus closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants