xstudio icon indicating copy to clipboard operation
xstudio copied to clipboard

No way to set remote API port

Open abbec opened this issue 1 year ago • 3 comments

The python user docs here say that you should launch xstudio with the --port argument and then use XSTUDIO.connect_remote(host="127.0.0.1", port=<port-from-above>). However, --port only seems to set the port for a remote session and does not affect the port that the Remote API uses.

abbec avatar Mar 22 '23 10:03 abbec

This is configured via the preferences files. It's not exposed in the application.

The defaults are in the share/preference

https://github.com/AcademySoftwareFoundation/xstudio/blob/main/share/preference/core_api.json

alatdneg avatar Mar 22 '23 10:03 alatdneg

At some point we'll fully expose all of these inside the application.

alatdneg avatar Mar 22 '23 10:03 alatdneg

Thanks, then we read the code correctly :). I guess the Python docs should be updated to remove/change the reference to --port since that does something different than described there.

abbec avatar Mar 23 '23 07:03 abbec