Closed morenod closed 1 year ago
Hi @morenod .
Conga model? Creating a new map?
3090
No map created
Error shutdowns the container just after start the process, without any command or robot interaction
I think the problem is a empty map.
I need to add a check. Give me a few days.
@morenod can you try the nightly build? https://github.com/congatudo/Congatudo/pkgs/container/congatudo-nightly
Same error:
# podman ps | grep congatudo
ad4463c1efb1 ghcr.io/congatudo/congatudo-nightly:alpine-latest dumb-init valetud... 5 seconds ago Up 5 seconds ago 0.0.0.0:4010->4010/tcp, 0.0.0.0:4030->4030/tcp, 0.0.0.0:4050->4050/tcp, 0.0.0.0:8080->8080/tcp valetudo
# podman logs -f valetudo
[2023-03-07T09:25:14.714Z] [INFO] Loading configuration file: /etc/valetudo/config.json
[2023-03-07T09:25:14.874Z] [INFO] Set Logfile to /tmp/valetudo.log
[2023-03-07T09:25:14.881Z] [INFO] Starting Valetudo 2023.03
[2023-03-07T09:25:14.881Z] [INFO] Commit ID: 14d9161cdef0c5a08a917a8c61c360ec096918b3
[2023-03-07T09:25:14.881Z] [INFO] Configuration file: /etc/valetudo/config.json
[2023-03-07T09:25:14.881Z] [INFO] Logfile: /tmp/valetudo.log
[2023-03-07T09:25:14.882Z] [INFO] Robot: Cecotec Conga (CecotecCongaRobot)
[2023-03-07T09:25:14.882Z] [INFO] JS Runtime Version: v18.5.0
[2023-03-07T09:25:14.882Z] [INFO] Arch: x64
[2023-03-07T09:25:14.882Z] [INFO] Max Heap Size: 256 MiB
[2023-03-07T09:25:14.882Z] [INFO] Node Flags: --expose-gc --max-heap-size=256
[2023-03-07T09:25:14.885Z] [INFO] Autogenerated System ID: ImmenseElasticSheep
[2023-03-07T09:25:15.021Z] [INFO] Not starting NetworkAdvertisementManager because we're not in embedded mode
[2023-03-07T09:25:16.862Z] [INFO] Webserver running on port 8080
[2023-03-07T09:25:16.880Z] [INFO] Connected successfully to MQTT broker
[2023-03-07T09:25:16.933Z] [INFO] MQTT configured
[2023-03-07T09:25:20.765Z] [INFO] Added new robot with id '14732'
[2023-03-07T09:25:30.910Z] [ERROR] Uncaught Exception {
err: TypeError: Cannot read properties of null (reading 'dimensions')
at CecotecCongaRobot.mapArrayToMatrix (/snapshot/app/backend/lib/robots/cecotec/CecotecCongaRobot.js:453:19)
at CecotecCongaRobot.onUpdateMap (/snapshot/app/backend/lib/robots/cecotec/CecotecCongaRobot.js:696:73)
at Robot.<anonymous> (/snapshot/app/backend/lib/robots/cecotec/CecotecCongaRobot.js:236:25)
at Robot.emit (node:events:537:28)
at Robot.handleMapUpdate (/snapshot/app/node_modules/@agnoc/core/lib/emitters/robot.emitter.js:898:10)
at Robot.handleMessage (/snapshot/app/node_modules/@agnoc/core/lib/emitters/robot.emitter.js:993:7)
at CloudServer.handleMessage (/snapshot/app/node_modules/@agnoc/core/lib/emitters/cloud-server.emitter.js:110:13)
at Connection.<anonymous> (/snapshot/app/node_modules/@agnoc/core/lib/emitters/cloud-server.emitter.js:127:12)
at Connection.emit (node:events:549:35)
at Connection.handlePacket (/snapshot/app/node_modules/@agnoc/core/lib/emitters/connection.emitter.js:90:10),
origin: 'uncaughtException'
}
[2023-03-07T09:25:30.917Z] [INFO] Valetudo shutdown in progress...
[2023-03-07T09:25:30.980Z] [INFO] Disconnecting from the MQTT Broker...
[2023-03-07T09:25:30.984Z] [INFO] Successfully disconnected from the MQTT Broker
[2023-03-07T09:25:33.682Z] [INFO] Valetudo shutdown done
[2023-03-07T09:25:33.682Z] [INFO] exiting with code 0...
Hi @morenod wait to the nightly builds and try again tomorrow. Thanks!
Solved with commit 337aa5bf389350e28a6bbbf060d517754c11304c and confirmed by @morenod