Skip to content

Error loading plugin #12

@tonivss

Description

@tonivss

I just installed pimatic and tried to use the MAX! plugin with this. However on startup it displays the following message.

`10:20:52.374 2019-11-16 Saturday
10:20:57.386 [pimatic] Starting pimatic version 0.9.53
10:20:57.397 [pimatic] Node.js version 4.6.2
10:20:57.398 [pimatic] OpenSSL version 1.0.2j
10:20:57.571 [pimatic] settings.debug is true, showing debug output for pimatic core.
10:20:57.637 [pimatic] You have no HTTPS and no HTTP server enabled!
10:20:59.341 [pimatic, ppm] 2.15.12
10:20:59.371 [pimatic] Loading plugin: "pimatic-cron" (0.8.8)
10:20:59.816 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.9.16)
10:21:00.482 [pimatic] Loading plugin: "pimatic-max" (0.9.0)
10:21:00.543 [pimatic-cron] the time is: Sat Nov 16 2019 10:21:00 GMT+0000 (GMT)
10:21:01.038 [pimatic-mobile-frontend] packing static assets
10:21:01.385 [pimatic-mobile-frontend] packing static assets finished
10:21:01.392 [pimatic-mobile-frontend] rendering html
10:21:08.381 [pimatic-mobile-frontend] rendering html finished
10:21:08.413 [pimatic] An uncaught exception occurred: TypeError: must start with number, buffer, array or string
10:21:08.413 [pimatic]> at fromObject (buffer.js:208:11)
10:21:08.413 [pimatic]> at new Buffer (buffer.js:65:10)
10:21:08.413 [pimatic]> at MaxCube.parseCommandMetadata (/home/pi/pimatic-app/node_modules/pimatic-max/node_modules/max-control/index.js:181:24)
10:21:08.413 [pimatic]> at MaxCube.parseCommand (/home/pi/pimatic-app/node_modules/pimatic-max/node_modules/max-control/index.js:118:19)
10:21:08.413 [pimatic]> at MaxCube. (/home/pi/pimatic-app/node_modules/pimatic-max/node_modules/max-control/index.js:76:26)
10:21:08.413 [pimatic]> at Array.forEach (native)
10:21:08.413 [pimatic]> at MaxCube.onData (/home/pi/pimatic-app/node_modules/pimatic-max/node_modules/max-control/index.js:71:8)
10:21:08.413 [pimatic]> at emitOne (events.js:77:13)
10:21:08.413 [pimatic]> at Socket.emit (events.js:169:7)
10:21:08.413 [pimatic]> at Socket.emit (/home/pi/pimatic-app/node_modules/pimatic/startup.coffee:64:24)
10:21:08.413 [pimatic]> at readableAddChunk (_stream_readable.js:153:18)
10:21:08.413 [pimatic]> at Socket.Readable.push (_stream_readable.js:111:10)
10:21:08.413 [pimatic]> at TCP.onread (net.js:537:20)
10:21:08.413 [pimatic]> This is most probably a bug in pimatic or in a module, please report it!
10:21:08.417 [pimatic] shutting pimatic down...
/home/pi/pimatic-app/node_modules/pimatic/startup.coffee:100
return framework.destroy().then(function() {
^

ReferenceError: framework is not defined
at process.uncaughtException (/home/pi/pimatic-app/node_modules/pimatic/startup.coffee:86:9)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process._fatalException (node.js:224:26)`

I have no other plugins installed. Donnerstag you have any idea?

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