Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Panon is not working anymore. #84

Open
onurbbr opened this issue Feb 12, 2022 · 2 comments
Open

[BUG] Panon is not working anymore. #84

onurbbr opened this issue Feb 12, 2022 · 2 comments
Labels

Comments

@onurbbr
Copy link

onurbbr commented Feb 12, 2022

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version of Plasma Framework: 5.90

Describe the bug
Panon no longer works. Python related problem.

Any error message shown in the console
[onur@archlinux plasmoids]$ plasmoidviewer --applet panon/
QML debugging is enabled. Only use this in a safe environment.
qml: View QML loaded
kf.plasma.quick: Applet preload policy set to 1
Toolbox not loading, toolbox package is either invalid or disabled.
qml: New Containment: ContainmentInterface(0x55ca859e8ed0)
QQuickOpenGLShaderEffect: 'source' does not have a matching property!
QQuickOpenGLShaderEffect: 'source' does not have a matching property!
trying to show an empty dialog
kf.kio.core: Invalid URL: QUrl("")
Trying to take space not available BasicAppletContainer_QMLTYPE_185_QML_194(0x55ca86ec2e90, parent=0x55ca85d4d380, geometry=320,240 640x96)
file:///usr/share/plasma/plasmoids/panon/contents/ui/Spectrum.qml:95:45: QML Image: Unknown error
Trying to take space not available BasicAppletContainer_QMLTYPE_185_QML_194(0x55ca86ec2e90, parent=0x55ca85d4d380, geometry=320,240 640x96)
qml:
qml:
trying to show an empty dialog
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/ConfigurationAppletPage.qml:35:5: QML Loader: Binding loop detected for property "height"
file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:283:9: QML QQuickItem* (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth"
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/ConfigurationAppletPage.qml:35:5: QML Loader: Binding loop detected for property "height"
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/BreadcrumbControl.qml:17:5: Unable to assign [undefined] to QQuickItem*
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/AppletConfiguration.qml:198: TypeError: Cannot read property 'source' of null
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/AppletConfiguration.qml:198: TypeError: Cannot read property 'source' of null
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/AppletConfiguration.qml:198: TypeError: Cannot read property 'source' of null
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/AppletConfiguration.qml:198: TypeError: Cannot read property 'source' of null
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/AppletConfiguration.qml:198: TypeError: Cannot read property 'source' of null
file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/configuration/AppletConfiguration.qml:198: TypeError: Cannot read property 'source' of null
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/BreadcrumbControl.qml:17:5: Unable to assign [undefined] to QQuickItem*
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/globaltoolbar/BreadcrumbControl.qml:17:5: Unable to assign [undefined] to QQuickItem*
file:///usr/share/plasma/plasmoids/panon/contents/ui/config/ConfigBackend.qml:10:1: QML ConfigBackend (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
QProcess: Destroyed while process ("/bin/sh") is still running.
qml:
qml: Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/share/plasma/plasmoids/panon/contents/scripts/panon/backend/client.py", line 53, in
spectrum_source = source.SoundCardSource(spectrum.NUM_CHANNEL, sample_rate, arguments['--device-index'], cfg_fps)
File "/usr/share/plasma/plasmoids/panon/contents/scripts/panon/backend/source.py", line 113, in init
self.start()
File "/usr/share/plasma/plasmoids/panon/contents/scripts/panon/backend/source.py", line 172, in start
stream.enter()
File "/usr/lib/python3.10/site-packages/soundcard/pulseaudio.py", line 638, in enter
if isinstance(self.channels, collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'

@onurbbr onurbbr added the bug label Feb 12, 2022
@bpc1
Copy link

bpc1 commented Feb 17, 2022

same issue as #78

@cyqsimon
Copy link

@bpc1 Not the same as #78. That was due to an issue with python-soundcard, which was easily fixable.

I applied the fix locally and panon worked for a few weeks, but then it just broke randomly after one of the updates. I've verified that the patch I've made to soundcard is still there, so this is very likely a different issue.

I've had no success trying to debug the issue using journalctl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants