AcademySoftwareFoundation / xstudio

xSTUDIO is a modern, high performance and feature rich playback and review application designed for organisations and individuals in the post production, VFX and Animation industries.
Apache License 2.0
642 stars 83 forks source link

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

Open haggi opened 2 months ago

haggi commented 2 months ago

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.