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

xstudio python module not found, python console does not work. #113

Open
haggi opened this issue Sep 1, 2024 · 0 comments
Open

xstudio python module not found, python console does not work. #113

haggi opened this issue Sep 1, 2024 · 0 comments

Comments

@haggi
Copy link

haggi commented Sep 1, 2024

Hi, I could sucessfully build xstudio on windows.

Now if I start xstudio.exe, I get these warnings:

[2024-08-31 14:42:51.709] [xstudio] [info] XStudio logging started.
[2024-08-31 14:42:52.069] [xstudio] [warning] void __cdecl xstudio::embedded_python::EmbeddedPython::setup(void) Failed to setup API : ModuleNotFoundError: No module named 'xstudio'
At:
  <string>(3): <module>
[2024-08-31 14:42:52.071] [xstudio] [info] API enabled on 127.0.0.1:45500, session name default0
[2024-08-31 14:42:52.072] [xstudio] [warning] void __cdecl xstudio::embedded_python::EmbeddedPython::setup(void) Failed to setup API : ModuleNotFoundError: No module named 'xstudio'
At:
  <string>(3): <module>
[2024-08-31 14:42:52.072] [xstudio] [warning] bool __cdecl xstudio::embedded_python::EmbeddedPython::connect(const int) Failed to init API : NameError: name 'Connection' is not defined
At:
  <string>(3): <module>
[2024-08-31 14:42:52.073] [xstudio] [warning] Connected failed false
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0xa0f49ecfd8), parent's thread is QThread(0x26e38c67630), current thread is QThread(0x26e38c51290)
qrc:/widgets/XsLoopWidget.qml:12: TypeError: Cannot read property 'icon' of undefined

Looks a bit strange that the xstudio module could not be found. If I try to start a python console I get this messages:

NameError: name 'InteractiveSession' is not defined
At:
  <string>(2): <module>
[2024-08-31 14:46:35.046] [xstudio] [warning] class caf::result<struct xstudio::utility::Uuid> __cdecl xstudio::embedded_python::EmbeddedPythonActor::act::<lambda_4>::operator ()(struct xstudio::embedded_python::python_create_session_atom,const bool) const Python error NameError: name 'InteractiveSession' is not defined
At:
  <string>(2): <module>
[2024-08-31 14:46:35.046] [xstudio] [warning] class QUuid __cdecl xstudio::ui::qml::EmbeddedPythonUI::createSession(void) error("NameError: name 'InteractiveSession' is not defined\n\nAt:\n  <string>(2): <module>\n")

And the python console stays empty. The python 3.11 is the only version I have installed on my system.

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

1 participant