-
Notifications
You must be signed in to change notification settings - Fork 398
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
🐛 | Installation fails on RegisterDevice.py #1501
Comments
It looks like you are trying to use a barcode scanner. Currently this is not supported by Phoniebox, but there’s a discussion #562. Please have a look there. Phoniebox supports different RFID Card readers, see https://github.com/MiczFlor/RPi-Jukebox-RFID#rfid-reader-and-cards--fobs - RFID Reader and cards / fobs |
it actually is a RFID-Scanner that used to work for 2+ Years with this project but stopped some months ago. I dont know, why it shows "barcode scanner". When I connect the device to my fedora workstation, I see the RFID-Tags IDs in terminal. So the device seems to work as expected. |
Which rfid reader are you using? Do you use PN532? Then please have a look at https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/develop/components/rfid-reader/PN532 Additionally this thread (although not directly your problem) suggests that I2C may not be enabled. |
I have the exact same issue (see below) with the USB RFID reade: 3 Sycreader RFID Technology Co., Ltd SYC ID&IC USB Reader it's the reader that's linked from the README file. After reboot, also the webserver does not work
|
Ok, so it’s not related to a specific reader and was probably introduced by the changes of 2.3 release. |
I think I bought the neuftech RFID-Reader. I removed the plastic housing to place the PCB on the topside of my case, so I cant say what it was had printed on it. The PCB is labeled |
@s-martin it might have to do with the apt-get default repo list of raspberry ip OS, I have to check again. didn't find the time. I changed the resources list and the install process actually worked, webserver up and all. Also, the RFID ID of a swiped card showed up in the web App interface - so it seems to work. a) Pi OS resources list does not work over wifi |
@MiczFlor for me stock Raspi OS works without modifications, webinterface works flawless including playing spotify. Only the RFID-Cards are not read out/used correctly. |
Any updates or thoughts here? Is it more of an implementation issue with standard libs? Maybe I can help out a little, if you can point me in a direction. |
Hello, I'm facing the issue too and did some testing on it. Further information that might helpI began building my box on 18th of September. Since then I ran A: A package update via Executing # user pi
pi@phoniebox1:~ $ id
uid=1000(pi) gid=1000(pi) groups=1000(pi),997(gpio)
pi@phoniebox1:~ $ python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py
Could not find the device HID 16c0:27db Keyboard
. Make sure is connected
pi@phoniebox1:~ $ lsusb | grep 16c0:27db
Bus 001 Device 004: ID 16c0:27db Van Ooijen Technische Informatica Keyboard
# user root - Traceback caused by pressing CTRL+C to end process
root@phoniebox1:/home/pi/RPi-Jukebox-RFID# id
uid=0(root) gid=0(root) groups=0(root),112(bluetooth)
root@phoniebox1:/home/pi/RPi-Jukebox-RFID# python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py
2021-11-26 11:24:19,616 - root - INFO - Dir_PATH: /home/pi/RPi-Jukebox-RFID/scripts
^CTraceback (most recent call last):
File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 95, in <module>
cardid = reader.reader.readCard()
File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 57, in readCard
r, w, x = select([self.dev], [], [])
KeyboardInterrupt
Exception ignored in: <function InputDevice.__del__ at 0xb612dc90>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/evdev/device.py", line 160, in __del__
File "/usr/local/lib/python3.7/dist-packages/evdev/device.py", line 305, in close
File "/usr/local/lib/python3.7/dist-packages/evdev/eventio_async.py", line 55, in close
File "/usr/lib/python3.7/asyncio/events.py", line 726, in get_event_loop_policy
File "/usr/lib/python3.7/asyncio/events.py", line 719, in _init_event_loop_policy
ImportError: sys.meta_path is None, Python is likely shutting down
root@phoniebox1:/home/pi/RPi-Jukebox-RFID# Bypass for me: I do not want to run the box like this, it's just a nasty bypass. SoftwareBase image and versionBranch / ReleaseOn branch master Version2.3 - 2425890 - master Installscript
HardwareRaspberryPi version
RFID Reader
Soundcard
Other notable hardware
|
Bug
What I did
started the one line installer
What happened
failed here:
I expected this to happen
setup of rfid reader should be successful
Further information that might help
Software
Base image and version
Branch / Release
master
Installscript
scripts/installscripts/buster-install-default.sh
Hardware
RaspberryPi version
3 B+
RFID Reader
Soundcard
none
Other notable hardware
none
The text was updated successfully, but these errors were encountered: