Comments (7)
Your workaround works fine for me! Libsoup 2.74 which provides libsoup-2.4 was already installed so I only need to change the line of code in your extension.
from hue-lights.
Can confirm the issue, and yes, the temporary fix is working :)
from hue-lights.
Hi @sam9032! Thank you for reporting the issue! I can confirm the issue. As I can see, Arch Linux has just updated the libsoup2.4 to the new libsoup3. It brings major changes and backward incompatibilities. I am going to fix it as soon as possible (depends on my free time). Unfortunately, It requires a significant amount of work.
from hue-lights.
@sam9032 I have a workaround for you or others with the same issue... You can install the package libsoup 2 like this:
sudo pacman -S libsoup
and run following command:
sed -i '/const Soup = imports.gi.Soup;/i imports.gi.versions.Soup = "2.4";' ~/.local/share/gnome-shell/extensions/hue-lights\@chlumskyvaclav.gmail.com/*.js
...and logout and login
from hue-lights.
Hi @vchlum,
thank you! I'll try that tomorrow, but had the same thought, to force the use of the older libsoup version.
Your extension looks really cool, so that would be amazing!
Thank you for your time.
from hue-lights.
I did some research. libsoup 3 seems to be very rare in Linux distributions yet. Seems like Arch and ALT provide it only (today), and the libsoup 2 is not removed yet. I added the preference to use version 2.4 and partial implementation of libsoup 3.
Seems like libsoup 3 can be used only in the settings, which works with the last patch. In the extension menu, I wasn't able to use and debug libsoup 3 even with imports.gi.versions.Soup = "3.0"
. It uses version 2 anyway. (on arch linux)
The libsoup 3 proper support will come once needed. For now, this is resolved. I will keep an eye on libsoup 3 spreading. Thanks again for reporting.
from hue-lights.
Fixed in version 16.
from hue-lights.
Related Issues (20)
- Sync is not working HOT 2
- Odd flickering when going full screen on Linux HOT 2
- Gnome 44 is out and hue-lights is marked as incompatible HOT 2
- The sliders are always black instead of the color of the lights HOT 1
- Right clicking on a light broke the app HOT 2
- Allow changing color of an entire zone at once HOT 2
- Add a GitHub link to the "`About`" page HOT 1
- Ubuntu 22.04.3 LTS can't install hue-lights after apt upgrade or git pull HOT 1
- [Suggestion] Improvements to the display/screen sync HOT 2
- Single Screen Selection (1 / Primary Monitor) doesn't work for me.
- Invalid yt link in README.md HOT 1
- Consider using libadwaita? HOT 1
- Gradient lightstrip support HOT 4
- Manual installation suddenly not showing in ubuntu HOT 1
- sync with wayland
- Very unresponsive HOT 1
- JS ERROR: ReferenceError: Utils is not defined HOT 1
- Sync with song HOT 1
- Change Colors when Music Syncing HOT 2
- [Feature request] Custom Scenes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hue-lights.