Welcome, Guest. Please login or register.
Did you miss your activation email?

Recent Posts

Pages: [1] 2 3 ... 10
1
Installation - Support / Re: VBox Guest Additions Installation Errors
« Last post by Rienniev on Yesterday at 17:06:26 »
Ugh, that's a compiler mismatch.  The Guest Additions are trying to use a slightly different GCC version than what built your kernel.  Happens more often than you'd think.  Try this:  see if you can find a package for the exact GCC version your kernel was compiled with (gcc-14 (Debian 14.2.0-11) in your case) and install it before trying the Guest Additions again.  That might fix the incompatibility.  If not, you might need to rebuild your kernel (not fun, but sometimes necessary).
2
Installation - Support / Re: Freezes
« Last post by Rienniev on Yesterday at 17:03:27 »
Look at /var/log/syslog and /var/log/messages for any error messages around the time of the freeze.

3
If you're using KVM, try disabling it. You can do this by blacklisting the kvm module. Just add kvm to /etc/modprobe.d/blacklist.conf and reboot.
It seems like the VirtualBox kernel modules are not installed correctly. Try reinstalling VirtualBox and the virtualbox-dkms package. After reinstalling, load the modules manually. If you have Secure Boot enabled, you might need to sign the kernel modules. Check your Linux distro's documentation for how to do this.
4
Upgrade Warnings / Re: Streamtuner2 not working after python3 upgrade
« Last post by charlyheinz on Yesterday at 15:01:52 »
thx xerol
Sttreamtuner is working again with your advice.
Are you using mopidy/snapcast just for listening or are you providing streams?
I like streamtuner2 because it is very easy to listen and search audio-streams all over the world on different platforms.

Thanks a lot for your hint and stay tuned ;-)
5
Upgrade Warnings / Re: Streamtuner2 not working after python3 upgrade
« Last post by xerol on Yesterday at 10:41:48 »
As expeced: after upgrading to 3.13.1-2 still the same issue.

Dos it make sence to put Python3 on hold or how do I implement the changes into Python3 as xerol told to.
No. You may put it on hold termporarly, but in the long run putting python3 on hold will break many packages which are essential for the system.
As mentioned above, you should download the the sources, create a python3.12 environment and run it from there.

As an alternative, this command is an ugly quick fix:
Code: [Select]
sudo sed -i "s/pipes/shlex/" /usr/share/streamtuner2/action.py

As I am distributing  syncronized audio streams in my house with  mopidy/snapcast, I do not use streamtuner2. I just did a short test run.
6
Upgrade Warnings / Re: Problem upgrading samba on multiarch
« Last post by finotti on Yesterday at 01:27:35 »
It was fixed today. The hplip issue is something different: https://release.debian.org/transitions/html/python3.13-default.html

Indeed it was fixed.  I could dist-upgrade without problems.
7
I've just booted the last Siduction ISO "shine on" on my laptop and installed streamtuner2 on it and it's running nicely with the following Python packages which have been installed during the installation process:

python3-pyquery,  python3-webob

I do not know what will happen if I upgrade this Version when it is installed and if it is neccesary to stat this python3 plugs on hold?

My mistake: it is running 'cause it's still Python3 3.12.7-1 and not the upgraded 3.13.1-2.  Sorry !!

As expeced: after upgrading to 3.13.1-2 still the same issue.

Dos it make sence to put Python3 on hold or how do I implement the changes into Python3 as xerol told to.

And again: this ISO / distri everytime is lovely. Thanks to all the people who are involved!!
8
Upgrade Warnings / Re: Streamtuner2 not working after python3 upgrade
« Last post by DeepDayze on 2025/01/15, 13:46:36 »
Guess there's no other Python 3 module that replaces the pipes module or one that provides the necessary functionality.
As mentioned in the link posted by mdmarmer, pipes can be replaced with shlex.

pipes only apears in two places in files action.py and st2subprocess.py:

Code: [Select]
diff -Nru streamtuner2/action.py streamtuner2_py313/action.py
--- streamtuner2/action.py 2018-12-31 12:14:17.000000000 +0100
+++ streamtuner2_py313/action.py 2025-01-15 09:08:21.289321876 +0100
@@ -37,7 +37,7 @@
 import platform
 import copy
 import json
-import subprocess, pipes
+import subprocess, shlex
 from datetime import datetime
 from xml.sax.saxutils import escape as xmlentities, unescape as xmlunescape
 
@@ -206,7 +206,7 @@
         if re.match("^\w[\w.:/\-]+$", ins):
             return ins
         else:
-            return pipes.quote(ins)
+            return shlex.quote(ins)
     #return "%r" % ins
 
 
diff -Nru streamtuner2/contrib/st2subprocess.py streamtuner2_py313/contrib/st2subprocess.py
--- streamtuner2/contrib/st2subprocess.py 2017-10-17 00:23:14.000000000 +0200
+++ streamtuner2_py313/contrib/st2subprocess.py 2025-01-15 09:08:43.537435156 +0100
@@ -50,7 +50,6 @@
 import subprocess
 import os
 import shlex
-import pipes
 import re
 from config import *
 from channels import FeaturePlugin
@@ -100,7 +99,7 @@
         if conf.cmd_spawn in ("system", "default", "win32api") or type(ins) is list:
             return orig_quote(ins)
         # only Posix-style shell quoting
-        return pipes.quote(ins)
+        return shlex.quote(ins)
     
 
     # override for action.run (os.system exec method)

Nice find and does Streamtuner2 work with that change? Was also wondering if the arguments to shlex the same as for pipes and if so that should be a quick little hack to get ST2 working again considering pipes was used in just 2 places in the code.
9
Dank Dir. Das ist nun deutlich besser versteckt ;-)

Hat noch jemand eine Idee bei Punkt 1?
10
Upgrade Warnings / Re: Streamtuner2 not working after python3 upgrade
« Last post by xerol on 2025/01/15, 09:55:30 »
Guess there's no other Python 3 module that replaces the pipes module or one that provides the necessary functionality.
As mentioned in the link posted by mdmarmer, pipes can be replaced with shlex.

pipes only apears in two places in files action.py and st2subprocess.py:

Code: [Select]
diff -Nru streamtuner2/action.py streamtuner2_py313/action.py
--- streamtuner2/action.py 2018-12-31 12:14:17.000000000 +0100
+++ streamtuner2_py313/action.py 2025-01-15 09:08:21.289321876 +0100
@@ -37,7 +37,7 @@
 import platform
 import copy
 import json
-import subprocess, pipes
+import subprocess, shlex
 from datetime import datetime
 from xml.sax.saxutils import escape as xmlentities, unescape as xmlunescape
 
@@ -206,7 +206,7 @@
         if re.match("^\w[\w.:/\-]+$", ins):
             return ins
         else:
-            return pipes.quote(ins)
+            return shlex.quote(ins)
     #return "%r" % ins
 
 
diff -Nru streamtuner2/contrib/st2subprocess.py streamtuner2_py313/contrib/st2subprocess.py
--- streamtuner2/contrib/st2subprocess.py 2017-10-17 00:23:14.000000000 +0200
+++ streamtuner2_py313/contrib/st2subprocess.py 2025-01-15 09:08:43.537435156 +0100
@@ -50,7 +50,6 @@
 import subprocess
 import os
 import shlex
-import pipes
 import re
 from config import *
 from channels import FeaturePlugin
@@ -100,7 +99,7 @@
         if conf.cmd_spawn in ("system", "default", "win32api") or type(ins) is list:
             return orig_quote(ins)
         # only Posix-style shell quoting
-        return pipes.quote(ins)
+        return shlex.quote(ins)
     
 
     # override for action.run (os.system exec method)
Pages: [1] 2 3 ... 10