unconfirmed Posted August 14, 2022 Share Posted August 14, 2022 I'm receiving the following error, which won't let the Roomba Node server start. 2022-08-13 22:23:13,700 MainThread polyinterface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-08-13 22:23:14,134 MainThread polyinterface INFO polyinterface:init_interface: Received Config from STDIN. 2022-08-13 22:23:14,135 MainThread polyinterface INFO __init__:<module>: UDI Polyglot v2 Interface 2.1.0 Starting... 2022-08-13 22:23:14,226 MainThread polyinterface ERROR polyinterface:write: Traceback (most recent call last): 2022-08-13 22:23:14,227 MainThread polyinterface ERROR polyinterface:write: File "./roomba-poly.py", line 11, in <module> 2022-08-13 22:23:14,228 MainThread polyinterface ERROR polyinterface:write: from roomba import Roomba 2022-08-13 22:23:14,228 MainThread polyinterface ERROR polyinterface:write: File "/home/pi/.local/lib/python3.7/site-packages/roomba/__init__.py", line 2, in <module> 2022-08-13 22:23:14,229 MainThread polyinterface ERROR polyinterface:write: from .roomba import Roomba 2022-08-13 22:23:14,230 MainThread polyinterface ERROR polyinterface:write: File "/home/pi/.local/lib/python3.7/site-packages/roomba/roomba.py", line 43, in <module> 2022-08-13 22:23:14,231 MainThread polyinterface ERROR polyinterface:write: from password import Password 2022-08-13 22:23:14,231 MainThread polyinterface ERROR polyinterface:write: ModuleNotFoundError 2022-08-13 22:23:14,232 MainThread polyinterface ERROR polyinterface:write: : 2022-08-13 22:23:14,232 MainThread polyinterface ERROR polyinterface:write: No module named 'password' I've tried copying the password.py file from the repo into several places, and added the ./local/bin to my path, all to no avail. Environment is Raspberry Pi 3; Version 2.2.11 Status: Connected Frontend Version: 2.2.9-5 ISY Version: 5.3.0 Any help would be greatly appreciated. Cheers, Unconfirmed. Link to comment Share on other sites More sharing options...
fahrer16 Posted August 14, 2022 Share Posted August 14, 2022 That's odd since the node server itself doesn't use the 'password' module, it comes from the underlying Roomba python project. As a first step, I'd recommend uninstalling the node server and also the Roomba module. Then re-install the node server from the store and let it install the prerequisites automatically. pip uninstall roomba pip3 uninstall roomba Also, this node server is pretty old now, there could be some modules or commands no longer supported by the current version of python. I think it has been ported over to Polyglot 3 if you switch over to the Polisy. Link to comment Share on other sites More sharing options...
Recommended Posts