We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.5.3
future3/main
Raspbian Bookworm 12 - 32 bit
Raspberry Pi 4
Current behavior:
break-system-packages
#!/usr/bin/env python3 import RPi.GPIO as GPIO from mfrc522 import SimpleMFRC522 reader = SimpleMFRC522() try: id, text = reader.read() print(id) print(text) finally: GPIO.cleanup()
Expected behavior:
error.log.1
25.07.2024 16:42:19 - 650:plugs.py - jb.plugin - ShutdownThread - ERROR - Ignoring failed package atexit function: 'rfid.atexit()' 25.07.2024 16:42:19 - 651:plugs.py - jb.plugin - ShutdownThread - ERROR - Reason: AttributeError: 'NoneType' object has no attribute 'stop' 25.07.2024 16:42:19 - 652:plugs.py - jb.plugin - ShutdownThread - ERROR - Detailed reason: Traceback (most recent call last): File "/home/user/RPi-Jukebox-RFID/src/jukebox/jukebox/plugs.py", line 648, in close_down results.append(func(**kwargs)) ^^^^^^^^^^^^^^ File "/home/user/RPi-Jukebox-RFID/src/jukebox/components/rfid/reader/__init__.py", line 264, in atexit reader.stop() File "/home/user/RPi-Jukebox-RFID/src/jukebox/components/rfid/reader/__init__.py", line 136, in stop self._reader.stop() ^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'stop'
rfid.yaml
rfid: readers: read_00: module: rc522_spi config: spi_bus: 0 spi_ce: 0 pin_irq: 24 pin_rst: 25 mode_legacy: false antenna_gain: 4 log_all_cards: false same_id_delay: 1.0 log_ignored_cards: false place_not_swipe: enabled: false card_removal_action: alias: pause
No response
The text was updated successfully, but these errors were encountered:
Have you read through this issue thread for bookworm related issues? There are known issus with gpio.
As of now, you do have to pip swap rpi-gpio with rpi-lgpio.
Sorry, something went wrong.
Thanks a lot for the quick reply.
I got it to work with the lpio replacement but it stopped working soon after - which most likely is due to some other issue.
No branches or pull requests
Version
3.5.3
Branch
future3/main
OS
Raspbian Bookworm 12 - 32 bit
Pi model
Raspberry Pi 4
Hardware
What happened?
Current behavior:
break-system-packages
on pip installs the RFID reader could be selected and the install script installed all python dependenciesExpected behavior:
Logs
error.log.1
Configuration
rfid.yaml
More info
No response
The text was updated successfully, but these errors were encountered: