Package Details: streamdeck-ui 4.1.3-1

Git Clone URL: https://aur.archlinux.org/streamdeck-ui.git (read-only, click to copy)
Package Base: streamdeck-ui
Description: A Linux compatible UI for the Elgato Stream Deck
Upstream URL: https://streamdeck-linux-gui.github.io/streamdeck-linux-gui/
Keywords: deck elgato streamdeck streamer streaming
Licenses: MIT
Provides: streamdeck-ui
Submitter: GI_Jack
Maintainer: dhtseany
Last Packager: dhtseany
Votes: 9
Popularity: 0.24
First Submitted: 2021-05-14 15:27 (UTC)
Last Updated: 2024-07-23 14:37 (UTC)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

inVader commented on 2024-07-22 23:26 (UTC) (edited on 2024-07-22 23:28 (UTC) by inVader)

Sure, thank you for the quick reply.

In the meantime, I have slightly modified the patch below, editing my earlier comment, to make it easier to apply to the source and already tested in combination with your PKGBUILD myself. Here is a step-by-step run down:

  1. Include the patch below as a file named "image_filter.patch".
  2. Add "image_filter.patch" and its checksum to the PKGBUILD source and sha512sums arrays, respectively.
  3. Increase the "pkgrel" by 1.
  4. In the build() section, right before running "python -m build" apply the patch like:
    build() {
      cd "${gitname}-${pkgver}"
      patch -p0 < ../image_filter.patch
      DISABLE_CONAN=ON python -m build --wheel --no-isolation --skip-dependency-check
    }
    

That should be all that is required. Please test on your end. If there's anything else I can assist you with, just let me know.

dhtseany commented on 2024-07-22 20:58 (UTC)

@invader thanks for the patch, I need to do a bit of testing to implement it, give me a couple of days and I'll get it uploaded.

inVader commented on 2024-07-22 15:15 (UTC) (edited on 2024-07-22 23:34 (UTC) by inVader)

The issue is originating from bad coding style/practice in streamdeck-ui. The older version of PIL was forgiving enough but the new one apparently isn't anymore and makes it break. Still, the problem lies within streamdeck-ui and is related to the use of generators where lists should be used.

As long as the upstream source remains unfixed, please include the following patch as a source file and apply it to "streamdeck_ui/display/image_filter.py" during package build:

--- streamdeck_ui/display/image_filter.py   2024-07-23 01:00:16.878521378 +0200
+++ fixed/display/image_filter.py   2024-07-22 17:04:47.312980809 +0200
@@ -87,7 +87,7 @@
                 except BaseException:
                     pass
             scale_factor = min(size[0] / frame.size[0], size[1] / frame.size[1])
-            frame = frame.resize((int(v * scale_factor) for v in frame.size), Image.LANCZOS)
+            frame = frame.resize([int(v * scale_factor) for v in frame.size], Image.LANCZOS)
             self.frames.append((frame, milliseconds, hashcode))

         self.frame_cycle = itertools.cycle(self.frames)

The patch basically does nothing more than replacing one set of paranthesis (generator comprehension) with a corresponding set of brackets (turning it into a list comprehension instead).

dhtseany commented on 2024-07-17 22:36 (UTC)

@kaiser-sosa please make sure you're clean-building upon Python updates and if you're catching errors you weren't expecting please paste the error out here for me to review.

dhtseany commented on 2024-07-08 20:48 (UTC) (edited on 2024-07-08 20:49 (UTC) by dhtseany)

I too can confirm a downgrade of python-pillow to 10.3.0-2 works to restore the app functionality as well. Hopefully it's just a python-pillow bug.

Run this command for the downgrade: wget https://archive.archlinux.org/packages/p/python-pillow/python-pillow-10.3.0-2-x86_64.pkg.tar.zst && sudo pacman -U python-pillow-10.3.0-2-x86_64.pkg.tar.zst

43615 commented on 2024-07-04 01:20 (UTC)

@Rubble1278 same issue here. Visual detail: the device list in the config GUI is empty. Downgrading python-pillow to 10.3.0 fixed it for me as well.

Rubble1278 commented on 2024-07-02 20:34 (UTC) (edited on 2024-07-02 20:35 (UTC) by Rubble1278)

Looks like python-pillow 10.4.0-1 breaks Streamdeck-ui. I tried reinstalling streamdeck-ui without any luck. I have downgraded to python-pillow 10.3.0-2 for now.

Anyone else experiencing issues?

dhtseany commented on 2024-04-28 17:42 (UTC) (edited on 2024-04-28 17:44 (UTC) by dhtseany)

"I'm sorry but this code no longer works and is out of date. I'm sorry if you don't like it but it's a waste of users time to download broken code."

@Rockslide7912 I appreciate your constructive attitude towards a volunteer package maintainer however if you'd read the Arch rules you only use the Out of Date flag when the upstream source updates beyond the versioning or commit used by a given package, and since upstream's release version is still 4.1.2 this PKGBUILD is not out of date. This issue has been discussed at length in different discussion forums for package maintenance on the AUR and it's not to be used because the package fails to work for you as an individual. Additionally, I'm only here to provide a working installation path; if you want support for the code-side of things you need to go to the upstream github repo and file a bug report.

Finally, the fix has already been given since the first time you flagged it: You have to clean-build both streamdeck-ui as well as python-elgato-streamdeck which then solves the problem.

I've confirmed the package works fine and no further action is warranted on my part.

If you have further problems please email the Arch User Repository mailing list for more information on how to clean build a package. Thanks.

dhtseany commented on 2024-04-28 16:35 (UTC)

Thanks @chriz, you put me back on the right path. I had to cleanbuild both streamdeck-ui as well as python-elgato-streamdeck which then solved the problem. Appreciate your help!