norberts1 / hometop_HT3

Pimp your heater.
GNU General Public License v3.0
39 stars 19 forks source link

Wrong error-msg after failed 'paho-mqtt' installation #29

Closed norberts1 closed 7 months ago

norberts1 commented 7 months ago

Describe the bug The daemon Ccollgate.py terminates with error-message: ccollgate().run();Error;could not start 'mqtt-interface' with file:'./etc/config/HT3_db_cfg.xml' after a fresh installation on debian12.

The reason is not any error in the configuration-file but an error during paho-mqtt installation using pip3.

To Reproduce Details see: https://www.mikrocontroller.net/topic/324673?page=single#7535485

Expected behavior Error-message in Ccollgate.py line:987 should handle faulty mqtt installation. Installation-script must be modified for secure paho-mqtt installation.

Screenshots None

Additional context Error-message occurred during installation using script: ht_project_setup.sh WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Currently is required for debian12 to install that paho-mytt part by hand with: sudo apt install python3-paho-mqtt

norberts1 commented 7 months ago