OS: Pop!_OS 24.04 LTS x86_64
When running docker compose up for the containerized version of tuya-convert, the standard input is not fed correctly into the container. This makes the script unusable and after making the firmware backup it loops forever on the firmware selection prompt.
The naive fix that worked was suggested by chatgpt but i did not fully understand and test it.
It consists in modifying in the docker-compose.yml and adding two lines:
tuya:
...
stdin_open: true
tty: true
...
However that does duplicate the output of docker compose up.
I did use instead:
docker compose up -d && docker attach tuya-convert-tuya-1 . In my case tuya-convert-tuya-1 is the name of the container.
At the end it worked, however I am now pretty tired as it took various hours of trial and error.
OS: Pop!_OS 24.04 LTS x86_64
When running
docker compose upfor the containerized version of tuya-convert, the standard input is not fed correctly into the container. This makes the script unusable and after making the firmware backup it loops forever on the firmware selection prompt.The naive fix that worked was suggested by chatgpt but i did not fully understand and test it.
It consists in modifying in the
docker-compose.ymland adding two lines:However that does duplicate the output of
docker compose up.I did use instead:
docker compose up -d && docker attach tuya-convert-tuya-1. In my casetuya-convert-tuya-1is the name of the container.At the end it worked, however I am now pretty tired as it took various hours of trial and error.