Sideband icon indicating copy to clipboard operation
Sideband copied to clipboard

Win 11: Crash during launch

Open jcc10 opened this issue 2 months ago • 1 comments

Describe the Bug Upon attempting to launch sideband.exe, a black portrait window pops up but before populating the following error displays.

Failed to execute script 'main' due to unhandled exception: name 'c_int_p' is not defined.

with the following traceback attached:

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    __debug_build__ = False
    ^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 450, in exec_module
  File "sbapp\main.py", line 298, in <module>
    import sbapp.pyogg as pyogg
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 450, in exec_module
  File "sbapp\pyogg\__init__.py", line 6, in <module>
    from .opus import PYOGG_OPUS_AVAIL, PYOGG_OPUS_FILE_AVAIL, PYOGG_OPUS_ENC_AVAIL
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 450, in exec_module
  File "sbapp\pyogg\opus.py", line 437, in <module>
    libopus.opus_encoder_create.argtypes = [opus_int32, c_int, c_int, c_int_p]
                                                                      ^^^^^^^
NameError: name 'c_int_p' is not defined. Did you mean: 'c_int'?

To Reproduce

  1. Unzip app
  2. Attempt to run sidebar.exe

Expected Behavior The app launches?

Logs & Screenshots Please include any relevant log output. If applicable, also add screenshots to help explain your problem. In most cases, without any relevant log output, we will not be able to determine the cause of the bug, or reproduce it.

Image

System Information

  • OS and version
    • OS: Windows 11 Home
    • Version: 25H2
    • Build: 26200.7019
  • Python version: Not Presently Installed
  • Program version: 1.7.0

Additional context Add any other context about the problem here. I'm downloading python and will try to install that way shortly. But present instructions do not state a python install is required for the standalone executable.

jcc10 avatar Oct 29 '25 21:10 jcc10

Thanks for the report. Looks like a library compatibility issue. Should have it fixed in the next release.

markqvist avatar Oct 30 '25 17:10 markqvist

With the new 1.8.0, this should be fixed due to harmonised library dependencies.

markqvist avatar Nov 08 '25 11:11 markqvist