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

Error Loading Transformation #166

Open
SienNuy opened this issue Aug 22, 2023 · 1 comment
Open

Error Loading Transformation #166

SienNuy opened this issue Aug 22, 2023 · 1 comment

Comments

@SienNuy
Copy link

SienNuy commented Aug 22, 2023

I'm running both processes (on MacOS) without any issue to start up AToMPM version 0.9.0:

  • node httpwsd.js
  • python3 mt/main.py

But when I want to load in a transformation I receive the following error

500:could not connect to model transformation worker!
please ensure the worker is running!

However when I go to http://localhost:8125/ I do see the message

missing worker id

This means that I can connect to the python process however something still seems to be blocked so that I can't load a transformation.

@BentleyJOakes
Copy link
Member

BentleyJOakes commented Aug 23, 2023

Hi,

Sorry to hear about this trouble. I don't have a Mac handy to debug, and I don't know off-hand what the issue could be.

A few things to try:

  • Could you try running node httpwsd.js --log=DEBUG?
  • In the mt folder, in the Python files, could you change any lines with level=logging.INFO to level=logging.DEBUG?
  • In mt/ws.py, could you change the two False values on line 39 to True?
  • The right url is http://localhost:8125/atompm. Without the last part, the page always gives that error. Edit: Ah yes this is the Python process. I've never tried to connect this way. Nevermind this.

If you let me know any suspicious logs, we can proceed from there.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants