ble_monitor
ble_monitor copied to clipboard
[Bug]: module 'janus' has no attribute 'Queue'
What happened?
Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.config_entries Source: custom_components/ble_monitor/init.py:513 Integration: Passive BLE monitor (documentation, issues) First occurred: 15:45:45 (3 occurrences) Last logged: 17:55:06
Error setting up entry Bluetooth Low Energy Monitor for ble_monitor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/ble_monitor/init.py", line 405, in async_setup_entry blemonitor = BLEmonitor(config) File "/config/custom_components/ble_monitor/init.py", line 513, in init "binary": janus.Queue(), AttributeError: module 'janus' has no attribute 'Queue'
Sensor type
No response
Relevant log output
No response
I guess something went wrong with the installation of the dependencies. Try to reinstall BLE monitor.
1 week ago works al perfect but now to last updat not its problems but we have now reinstall but problem its not going
Very strange. It looks like janus is not installed or you have an older version. I'm not sure what system you have, but you might be able to install it manually. It should use v1.0.0, which is the latest version of janus.
Ik can newst version janus Find on your github?
And what its janus?
janus is an external package, what should be installed automagically when you install BLE monitor, just like the other python packages.
https://pypi.org/project/janus/
If you use e.g. HA core, you can manually install it with pip install janus
However, if you use Home Assistant Os (like most people do), you can't do this. The only thing you can try in that case, is removing and reinstalling BLE monitor and hope that it will install along (as it should).
We have more times reinstall all but not fix it we have core
Where can we Install the janus
You need to log in with SSH to you virtual environment (venv) where you have installed Home Assistant (core) (most likely homeassistant
). Activate the venv as the same user that runs home assistant.
sudo su -s /bin/bash homeassistant
cd /srv/homeassistant
source bin/activate
After you have activated the venv run pip install janus
i have OS
That makes it difficult. Try the following. Edit the file config/custom_component/ble_monitor/manifest.json
change this line
"janus>=1.0.0",
to
"janus==0.6.1",
Make sure you have the ==
. restart HA, this will install an old version of Janus. Next, Change it back to what is was, and restart again. This should install 1.0.0 again.
2x == for 0.6.1?
Yes
oke we do it now
not working its wrong Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.config_entries Source: custom_components/ble_monitor/init.py:513 Integration: Passive BLE monitor (documentation, issues) First occurred: 22:00:13 (1 occurrences) Last logged: 22:00:13
Error setting up entry Bluetooth Low Energy Monitor for ble_monitor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/ble_monitor/init.py", line 405, in async_setup_entry blemonitor = BLEmonitor(config) File "/config/custom_components/ble_monitor/init.py", line 513, in init "binary": janus.Queue(), AttributeError: module 'janus' has no attribute 'Queue'
I have no other ideas. I also haven’t seen similar issues, so it’s hard to say what is wrong. @Magalex2x14 do you have an idea what could be the problem
There hasn't been any activity in this issue. We are closing it, to keep the issue tracker clean. Feel free to reopen if the problem still exists.