Skip to content

Crashes when file is set to parse, then loops #566

Description

@padrino-x

Trying to parse a file.
So I set prefs to file and /opt/iobroker/textfiles/sonnenstand.html
But this crashes the adapter.
The same btw happens when I e.g. only enter XXXX as file name.
Have attached the log.
Thouh set to debug it does not seem to show more than set on info...

`

host.raspberrypi 2026-05-29 00:47:51.917 info Do not restart adapter system.adapter.parser.0 because disabled or deleted
host.raspberrypi 2026-05-29 00:47:51.916 error instance system.adapter.parser.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
parser.0 2026-05-29 00:47:51.309 warn Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
parser.0 2026-05-29 00:47:51.216 error adapter disabled
host.raspberrypi 2026-05-29 00:47:29.083 info "system.adapter.parser.0" disabled
host.raspberrypi 2026-05-29 00:47:18.111 info Restart adapter system.adapter.parser.0 because enabled
host.raspberrypi 2026-05-29 00:47:18.111 error instance system.adapter.parser.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
host.raspberrypi 2026-05-29 00:47:18.111 error Caught by controller[1]: at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
host.raspberrypi 2026-05-29 00:47:18.111 error Caught by controller[1]: at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
host.raspberrypi 2026-05-29 00:47:18.111 error Caught by controller[1]: ReplyError: Error PSUBSCRIBE-UNSUPPORTED for namespace cfg.: Data=[""]
host.raspberrypi 2026-05-29 00:47:18.110 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
parser.0 2026-05-29 00:47:18.009 info terminating
parser.0 2026-05-29 00:47:17.506 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
parser.0 2026-05-29 00:47:17.505 info terminating
parser.0 2026-05-29 00:47:17.479 error Error PSUBSCRIBE-UNSUPPORTED for namespace cfg.: Data=[""]
parser.0 2026-05-29 00:47:17.478 error ReplyError: Error PSUBSCRIBE-UNSUPPORTED for namespace cfg.: Data=[""] at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
parser.0 2026-05-29 00:47:17.474 error unhandled promise rejection: Error PSUBSCRIBE-UNSUPPORTED for namespace cfg.: Data=[""]
parser.0 2026-05-29 00:47:17.474 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
host.raspberrypi-Server 2026-05-29 00:47:17.471 warn Objects 127.0.0.1:55668 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace cfg.: Data=[""] at RedisHandler. (file:///opt/iobroker/node_modules/@iobroker/db-objects-jsonl/src/lib/objects/objectsInMemServerRedis.js:778:21) at RedisHandler.emit (node:events:519:28) at RedisHandler.emit (node:domain:489:12) at Immediate._onImmediate (file:///opt/iobroker/node_modules/@iobroker/db-base/src/lib/redisHandler.ts:210:37) at processImmediate (node:internal/timers:484:21)
parser.0 2026-05-29 00:47:17.281 info starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.parser, node: v22.22.2, js-controller: 7.0.7
host.raspberrypi 2026-05-29 00:47:14.864 info instance system.adapter.parser.0 in version "3.1.0" started with pid 1960957
host.raspberrypi 2026-05-29 00:47:13.898 info "system.adapter.parser.0" enabled
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions