GithubHelp home page GithubHelp logo

Comments (4)

rbn42 avatar rbn42 commented on June 13, 2024

Hi kkkaroth, please execute these commands and tell me the outputs, thank you.

git clone https://github.com/rbn42/panon.git
cd panon
# Download SoundCard and hsluv-glsl
git submodule update --init
# Install plasma-sdk to get plasmoidviewer.
plasmoidviewer --applet ./plasmoid/

from panon.

kkkaroth avatar kkkaroth commented on June 13, 2024

Hi kkkaroth, please execute these commands and tell me the outputs, thank you.

git clone https://github.com/rbn42/panon.git
cd panon
# Download SoundCard and hsluv-glsl
git submodule update --init
# Install plasma-sdk to get plasmoidviewer.
plasmoidviewer --applet ./plasmoid/

Hi rbn42, maybe these can help you

org.kde.plasma: invalid metadata "/usr/lib/qt/plugins/kontact_kaddressbookplugin.so"
org.kde.plasmaquick: Applet preload policy set to 1
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
Toolbox not loading, toolbox package is either invalid or disabled.
qml: New Containment: ContainmentInterface(0x55d55b4822c0)
QQuickOpenGLShaderEffect: 'source' does not have a matching property!
QQuickOpenGLShaderEffect: 'source' does not have a matching property!
kf5.kio.core: Invalid URL: QUrl("")
trying to show an empty dialog
file:///home/custom/git/panon/plasmoid/contents/ui/Spectrum.qml:121:45: QML Image: Unknown error
QProcess: Destroyed while process ("/bin/sh") is still running.
qml: 
qml: ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/custom/git/panon/plasmoid/contents/scripts/panon/backend/client.py", line 111, in <module>
    asyncio.get_event_loop().run_until_complete(hello())
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/custom/git/panon/plasmoid/contents/scripts/panon/backend/client.py", line 77, in hello
    latest_wave_data = spectrum_source.read()
  File "/home/custom/git/panon/plasmoid/contents/scripts/panon/backend/source.py", line 23, in read
    result = self.stream.read(self.chunk)
  File "/usr/lib/python3.8/site-packages/pyaudio.py", line 608, in read
    return pa.read_stream(self._stream, num_frames, exception_on_overflow)
OSError: [Errno -9981] Input overflowed

trying to show an empty dialog

from panon.

rbn42 avatar rbn42 commented on June 13, 2024

This issue may be related:
https://stackoverflow.com/questions/48777224/trying-to-understand-pyaudio-error-errno-9981-input-overflowed

And there is a possible solution. If you want to help try this solution, please replace this line

File "/home/custom/git/panon/plasmoid/contents/scripts/panon/backend/source.py", line 23, in read
result = self.stream.read(self.chunk)

with

result = self.stream.read(self.chunk,exception_on_overflow = False)

from panon.

kkkaroth avatar kkkaroth commented on June 13, 2024

This issue may be related:
https://stackoverflow.com/questions/48777224/trying-to-understand-pyaudio-error-errno-9981-input-overflowed

And there is a possible solution. If you want to help try this solution, please replace this line

File "/home/custom/git/panon/plasmoid/contents/scripts/panon/backend/source.py", line 23, in read
result = self.stream.read(self.chunk)

with

result = self.stream.read(self.chunk,exception_on_overflow = False)

Oh, thanks. Replace this line and execute plasmoidviewer applet ./plasmoid/, everything works great!

Itβ€˜s obvious that the cause of this problem is PyAudio.

from panon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.