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

Rotary Controller not working / audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary #569

Open
discoluc opened this issue Sep 5, 2024 · 1 comment
Labels

Comments

@discoluc
Copy link

discoluc commented Sep 5, 2024

Describe the bug
Rotary controller does not work. There is no volume Change. See logs below

audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary

HiFiBerryOS version
64alpha8

HiFiBerry sound card
AMP2

To Reproduce

  1. install controller on gpio Pins
  2. Set Pins in the configuration file
  3. Try to Change volume
    Expected behavior
    A clear and concise description of what you expected to happen.
    Rotary controller changing volume and / or pausing tracks.
    Screenshots
    If applicable, add screenshots to help explain your problem.

Browser (if applicable)

Additional context

Logs of audiocontrol2

Sep 03 07:29:28 freilufttheater python3[1378]: INFO: audiocontrol2 - Controller class: ac2.plugins.control.rotary.Rotary

Sep 03 07:29:28 freilufttheater python3[1378]: ERROR: audiocontrol2 - No module named 'RPi'

Sep 03 07:29:28 freilufttheater python3[1378]: Traceback (most recent call last):

Sep 03 07:29:28 freilufttheater python3[1378]: File "/opt/audiocontrol2/audiocontrol2.py", line 85, in create_object

Sep 03 07:29:28 freilufttheater python3[1378]: MyClass = getattr(importlib.import_module(module_name), class_name)

Sep 03 07:29:28 freilufttheater python3[1378]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Sep 03 07:29:28 freilufttheater python3[1378]: File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module

Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 1204, in _gcd_import

Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 1176, in _find_and_load

Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 1147, in _find_and_load_unlocked

Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 690, in _load_unlocked

Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 940, in exec_module

Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 241, in _call_with_frames_removed

Sep 03 07:29:28 freilufttheater python3[1378]: File "/opt/audiocontrol2/ac2/plugins/control/rotary.py", line 27, in

Sep 03 07:29:28 freilufttheater python3[1378]: from pyky040 import pyky040

Sep 03 07:29:28 freilufttheater python3[1378]: File "/usr/lib/python3.11/site-packages/pyky040/pyky040.py", line 1, in

Sep 03 07:29:28 freilufttheater python3[1378]: ModuleNotFoundError: No module named 'RPi'

Sep 03 07:29:28 freilufttheater python3[1378]: ERROR: audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary

Sep 03 07:29:28 freilufttheater python3[1378]: INFO: audiocontrol2 - registered metadata display <ac2.plugins.metadata.lametric.LaMetricPush object at 0x7f935fd210>

Sep 03 07:29:28 freilufttheater python3[1378]: INFO: audiocontrol2 - Controller class: ac2.plugins.control.powercontroller.Powercontroller

@discoluc discoluc changed the title Rotar Rotary Controller mit working Sep 5, 2024
@discoluc discoluc changed the title Rotary Controller mit working Rotary Controller not working Sep 5, 2024
@discoluc discoluc changed the title Rotary Controller not working Rotary Controller not working / audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary Sep 5, 2024
@hifiberry hifiberry added the bug label Sep 19, 2024
@borkog
Copy link

borkog commented Nov 30, 2024

this means that "controller" is not working also because "pigpio" is not available

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