AcademySoftwareFoundation / AcademySoftwareFoundation/xstudio
embedded_python error on windows build at startup
- Dominant language
- C++
- Stars
- 769
- Forks
- 129
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 4
Description
When I run xstudio.exe I come against this error on the prompt window.
```
[2024-01-16 09:55:30.174] [xstudio] [warning] void __cdecl xstudio::embedded_python::EmbeddedPython::setup(void) Failed to setup API : ModuleNotFoundError: No module named 'xstudio'
At:
(3):
[2024-01-16 09:55:30.176] [xstudio] [warning] void __cdecl xstudio::embedded_python::EmbeddedPython::setup(void) Failed to setup API : ModuleNotFoundError: No module named 'xstudio'
At:
(3):
[2024-01-16 09:55:30.176] [xstudio] [warning] bool __cdecl xstudio::embedded_python::EmbeddedPython::connect(const int) Failed to init API : NameError: name 'Connection' is not defined
At:
(3):
[2024-01-16 09:55:30.176] [xstudio] [warning] Connected failed false
[2024-01-16 09:55:32.421] [xstudio] [warning] void __cdecl xstudio::ui::viewport::Viewport::get_colour_pipeline(void) error("create_colour_pipeline failed, invalid colour pipeline name.")
[2024-01-16 09:55:32.454] [xstudio] [warning] void __cdecl xstudio::ui::viewport::Viewport::get_colour_pipeline(void) error("create_colour_pipeline failed, invalid colour pipeline name.")
[2024-01-16 09:55:35.505] [xstudio] [info] XStudio UI launched.
```
Contributor guide
Research direction
Start by reproducing the Windows startup failure with xstudio.exe and inspect the reported EmbeddedPython::setup and EmbeddedPython::connect paths. The issue is resolved when the embedded API loads without the xstudio ModuleNotFoundError or Connection NameError during startup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100