Open ctyler2621 opened 4 months ago
Temporary workaround... Just don't change pages too quickly and you will not run into this issue.
This might be fixed by 5174a8f0d76a8925d3f5504a95a9b8b070a97f65. Can you please try the source version? Installation instructions
Can't get it to run. I get errors on 'pip install -r requirements.txt'... Output below.
Here is what python outputs after that...
$ python3 main.py
Traceback (most recent call last):
File "/home/ctyler/bin/StreamController/main.py", line 16, in
...Here is the output from pip install...
$ pip install -r requirements.txt Collecting annotated-types==0.6.0 (from -r requirements.txt (line 1)) Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting async-lru==2.0.4 (from -r requirements.txt (line 2)) Downloading async_lru-2.0.4-py3-none-any.whl.metadata (4.5 kB) Collecting cairocffi==1.6.1 (from -r requirements.txt (line 3)) Using cached cairocffi-1.6.1-py3-none-any.whl.metadata (3.3 kB) Collecting CairoSVG==2.7.1 (from -r requirements.txt (line 4)) Using cached CairoSVG-2.7.1-py3-none-any.whl.metadata (2.7 kB) Collecting certifi==2024.2.2 (from -r requirements.txt (line 5)) Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) Collecting cffi==1.16.0 (from -r requirements.txt (line 6)) Downloading cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting charset-normalizer==3.3.2 (from -r requirements.txt (line 7)) Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting click==8.1.7 (from -r requirements.txt (line 8)) Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting colorama==0.4.6 (from -r requirements.txt (line 9)) Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting contourpy==1.2.0 (from -r requirements.txt (line 10)) Downloading contourpy-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.8 kB) Collecting cssselect2==0.7.0 (from -r requirements.txt (line 11)) Using cached cssselect2-0.7.0-py3-none-any.whl.metadata (2.9 kB) Collecting cycler==0.12.1 (from -r requirements.txt (line 12)) Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting dbus-python==1.3.2 (from -r requirements.txt (line 13)) Downloading dbus-python-1.3.2.tar.gz (605 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 605.5/605.5 kB 15.2 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [94 lines of output]
meson setup /tmp/pip-install-wmx8kadb/dbus-python_11561b2666f648eb8e45661ad29bcf6b /tmp/pip-install-wmx8kadb/dbus-python_11561b2666f648eb8e45661ad29bcf6b/.mesonpy-raz96xoq -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-wmx8kadb/dbus-python_11561b2666f648eb8e45661ad29bcf6b/.mesonpy-raz96xoq/meson-python-native-file.ini The Meson build system Version: 1.4.0 Source dir: /tmp/pip-install-wmx8kadb/dbus-python_11561b2666f648eb8e45661ad29bcf6b Build dir: /tmp/pip-install-wmx8kadb/dbus-python_11561b2666f648eb8e45661ad29bcf6b/.mesonpy-raz96xoq Build type: native build Project name: dbus-python Project version: 1.3.2 C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7)") C linker for the host machine: cc ld.bfd 2.40-14 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-declaration-after-statement: YES Compiler for C supports arguments -Wno-inline: YES Compiler for C supports arguments -Wno-redundant-decls: YES Compiler for C supports arguments -Wno-switch-default: YES Compiler for C supports arguments -Wno-write-strings: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wdouble-promotion: YES Compiler for C supports arguments -Wduplicated-cond: YES Compiler for C supports arguments -Wfloat-equal: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wnull-dereference: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wjump-misses-init: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-sign: YES Compiler for C supports arguments -Wstrict-prototypes: YES Configuring _dbus-python-config.h using configuration
Executing subproject dbus-gmain
dbus-gmain| Project name: dbus-gmain dbus-gmain| Project version: undefined dbus-gmain| C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20240316 (Red Hat 13.2.1-7)") dbus-gmain| C linker for the host machine: cc ld.bfd 2.40-14 dbus-gmain| Compiler for C supports arguments -fno-common: YES (cached) dbus-gmain| Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached) dbus-gmain| Compiler for C supports arguments -Wcast-align: YES (cached) dbus-gmain| Compiler for C supports arguments -Wdouble-promotion: YES (cached) dbus-gmain| Compiler for C supports arguments -Wduplicated-branches: YES dbus-gmain| Compiler for C supports arguments -Wduplicated-cond: YES (cached) dbus-gmain| Compiler for C supports arguments -Wfloat-equal: YES (cached) dbus-gmain| Compiler for C supports arguments -Wformat-nonliteral: YES (cached) dbus-gmain| Compiler for C supports arguments -Wformat-security: YES (cached) dbus-gmain| Compiler for C supports arguments -Wformat=2: YES (cached) dbus-gmain| Compiler for C supports arguments -Winit-self: YES (cached) dbus-gmain| Compiler for C supports arguments -Wlogical-op: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-declarations: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-format-attribute: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-include-dirs: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-noreturn: YES (cached) dbus-gmain| Compiler for C supports arguments -Wnull-dereference: YES (cached) dbus-gmain| Compiler for C supports arguments -Wpacked: YES (cached) dbus-gmain| Compiler for C supports arguments -Wpointer-arith: YES (cached) dbus-gmain| Compiler for C supports arguments -Wredundant-decls: YES dbus-gmain| Compiler for C supports arguments -Wshadow: YES (cached) dbus-gmain| Compiler for C supports arguments -Wswitch-default: YES dbus-gmain| Compiler for C supports arguments -Wswitch-enum: YES (cached) dbus-gmain| Compiler for C supports arguments -Wundef: YES (cached) dbus-gmain| Compiler for C supports arguments -Wunused-but-set-variable: YES (cached) dbus-gmain| Compiler for C supports arguments -Wwrite-strings: YES dbus-gmain| Compiler for C supports arguments -Wdeclaration-after-statement: YES dbus-gmain| Compiler for C supports arguments -Wjump-misses-init: YES (cached) dbus-gmain| Compiler for C supports arguments -Wmissing-prototypes: YES (cached) dbus-gmain| Compiler for C supports arguments -Wnested-externs: YES (cached) dbus-gmain| Compiler for C supports arguments -Wold-style-definition: YES (cached) dbus-gmain| Compiler for C supports arguments -Wpointer-sign: YES (cached) dbus-gmain| Compiler for C supports arguments -Wstrict-prototypes: YES (cached) dbus-gmain| Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 dbus-gmain| Did not find CMake 'cmake' dbus-gmain| Found CMake: NO dbus-gmain| Run-time dependency dbus-1 found: NO (tried pkgconfig)
../subprojects/dbus-gmain/meson.build:107:11: ERROR: Dependency "dbus-1" not found, tried pkgconfig
A full log can be found at /tmp/pip-install-wmx8kadb/dbus-python_11561b2666f648eb8e45661ad29bcf6b/.mesonpy-raz96xoq/meson-logs/meson-log.txt [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
That's unfortunate, but the Flatpak will be updated in a couple of hours, so you just test it there
No problem. Not in any rush.
Still persists on the newest Flatpak Version 1.5.0-beta.4. Tested it with my Streamdeck XL Only the UI gets desynced, actions and other things are loaded correctly. When you press an action that changes the label the whole button updates correctly again, but only the pressed button
Describe the bug If you get the StreamDeck into a de-synchronized state where the deck is still technically working, it recognizes button presses but the button images will not update. Then attempt to change the page using the dropdown in the app, it causes the app to hang and the process must be manually killed from a virtual console.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots StreamController_screencap2.webm
Additional context The Application switcher (Alt-Tab) doesn't work once the app freezes, and you can't click on anything with the mouse, but you can switch to a virtual console (Alt-F3) to then be able to kill the StreamController process which gets the desktop back to a working state.