Hi all,
This is my first night and attempt with the Raspberry (Pi3 model B, in my case) and Pimatic.
This is also my first post in your forum so excuse me for being ‘blond’ or posting at the wrong section.
I’ve been waiting 2 impatient months for my package to arrive from the far-East but at last I received it this afternoon and I couldn’t wait a minute longer to install. There are so many ideas and sollutions and great things in my mind they need to get out
But having said that… how to get there?? As it seems that my install fails just steps before the finish
Done so far:
- I Installed ‘2017-09-07-raspbian-stretch-lite’ on SD (8GB) card, loaded into Raspberry and booted.
- I’ve made SSH (Putty) connectin to my device
- Followed all steps as described here ‘https://pimatic.org/guide/getting-started/’ succesfully until:
‘https://pimatic.org/guide/getting-started/running/’ and more precise after the command ‘pi@raspberrypi:~/pimatic-app $ sudo node_modules/pimatic/pimatic.js’ a lot of actions rolled over the screen but than it seems to stuck as printscreen below shows.
Please advice
Txs Jeroen
start screen dump
pi@raspberrypi:~/pimatic-app $ sudo node_modules/pimatic/pimatic.js
coffee-cache: compiling coffee-script file “lib/daemon.coffee”…Done
coffee-cache: compiling coffee-script file “startup.coffee”…Done
coffee-cache: compiling coffee-script file “lib/logger.coffee”…Done
22:03:01.217 2017-09-26 Tuesday
coffee-cache: compiling coffee-script file “lib/api.coffee”…Done
coffee-cache: compiling coffee-script file “lib/users.coffee”…Done
coffee-cache: compiling coffee-script file “lib/devices.coffee”…Done
coffee-cache: compiling coffee-script file “lib/matcher.coffee”…Done
coffee-cache: compiling coffee-script file “lib/milliseconds.coffee”…Done
coffee-cache: compiling coffee-script file “lib/variables.coffee”…Done
coffee-cache: compiling coffee-script file “lib/variables-ast-builder.coffee”…Done
coffee-cache: compiling coffee-script file “lib/actions.coffee”…Done
coffee-cache: compiling coffee-script file “lib/predicates.coffee”…Done
coffee-cache: compiling coffee-script file “lib/rules.coffee”…Done
coffee-cache: compiling coffee-script file “lib/rules-ast-builder.coffee”…Done
coffee-cache: compiling coffee-script file “lib/plugins.coffee”…Done
coffee-cache: compiling coffee-script file “lib/database.coffee”…Done
coffee-cache: compiling coffee-script file “lib/groups.coffee”…Done
coffee-cache: compiling coffee-script file “lib/pages.coffee”…Done
coffee-cache: compiling coffee-script file “lib/framework.coffee”…Done
22:03:22.433 [pimatic] Starting pimatic version 0.9.42
coffee-cache: compiling coffee-script file “config-schema.coffee”…Done
22:03:23.117 [pimatic] You have no HTTPS and no HTTP server enabled!
22:03:23.246 [pimatic] Installing database package sqlite3, this can take some minutes
22:03:34.578 [pimatic, ppm] > sqlite3@3.1.8 install /home/pi/pimatic-app/node_modules/sqlite3
22:03:34.583 [pimatic, ppm] > node-pre-gyp install --fallback-to-build
22:03:36.836 [pimatic, ppm] node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.8/node-v46-linux-arm.tar.gz
22:03:36.839 [pimatic, ppm] node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.8 and node@4.6.2 (node-v46 ABI) (falling back to source compile with node-gyp)
22:03:43.273 [pimatic, ppm] make: Entering directory '/home/pi/pimatic-app/node_modules/sqlite3/build’
22:03:43.280 [pimatic, ppm] ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
22:03:43.705 [pimatic, ppm] TOUCH Release/obj.target/deps/action_before_build.stamp
22:03:43.728 [pimatic, ppm] CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
22:09:04.533 [pimatic, ppm] AR(target) Release/obj.target/deps/sqlite3.a
22:09:04.583 [pimatic, ppm] COPY Release/sqlite3.a
22:09:04.892 [pimatic, ppm] CXX(target) Release/obj.target/node_sqlite3/src/database.o
22:09:07.778 [pimatic, ppm] …/src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
22:09:07.781 [pimatic, ppm] …/src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:07.784 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:07.787 [pimatic, ppm] ^~~~~~
22:09:07.799 [pimatic, ppm] …/src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
22:09:07.802 [pimatic, ppm] …/src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:07.805 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:07.811 [pimatic, ppm] ^~~~~~
22:09:07.888 [pimatic, ppm] …/src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
22:09:07.891 [pimatic, ppm] …/src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:07.894 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:07.897 [pimatic, ppm] ^~~~~~
22:09:07.907 [pimatic, ppm] …/src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
22:09:07.910 [pimatic, ppm] …/src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:07.912 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:07.917 [pimatic, ppm] ^~~~~~
22:09:14.188 [pimatic, ppm] CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
22:09:18.084 [pimatic, ppm] CXX(target) Release/obj.target/node_sqlite3/src/statement.o
22:09:20.124 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)’:
22:09:20.128 [pimatic, ppm] …/src/statement.cc:118:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.131 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.134 [pimatic, ppm] ^~~~~~
22:09:20.147 [pimatic, ppm] In file included from …/src/statement.cc:6:0:
22:09:20.149 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginBind(node_sqlite3::Statement::Baton*)’:
22:09:20.152 [pimatic, ppm] …/src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.156 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.161 [pimatic, ppm] ^
22:09:20.164 [pimatic, ppm] …/src/statement.cc:322:5: note: in expansion of macro ‘STATEMENT_BEGIN’
22:09:20.168 [pimatic, ppm] STATEMENT_BEGIN(Bind);
22:09:20.172 [pimatic, ppm] ^~~~~~~~~~~~~~~
22:09:20.188 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginGet(node_sqlite3::Statement::Baton*)’:
22:09:20.194 [pimatic, ppm] …/src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.197 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.199 [pimatic, ppm] ^
22:09:20.202 [pimatic, ppm] …/src/statement.cc:370:5: note: in expansion of macro ‘STATEMENT_BEGIN’
22:09:20.205 [pimatic, ppm] STATEMENT_BEGIN(Get);
22:09:20.207 [pimatic, ppm] ^~~~~~~~~~~~~~~
22:09:20.211 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginRun(node_sqlite3::Statement::Baton*)’:
22:09:20.213 [pimatic, ppm] …/src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.217 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.220 [pimatic, ppm] ^
22:09:20.222 [pimatic, ppm] …/src/statement.cc:438:5: note: in expansion of macro ‘STATEMENT_BEGIN’
22:09:20.225 [pimatic, ppm] STATEMENT_BEGIN(Run);
22:09:20.228 [pimatic, ppm] ^~~~~~~~~~~~~~~
22:09:20.231 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginAll(node_sqlite3::Statement::Baton*)’:
22:09:20.233 [pimatic, ppm] …/src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.236 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.239 [pimatic, ppm] ^
22:09:20.242 [pimatic, ppm] …/src/statement.cc:504:5: note: in expansion of macro ‘STATEMENT_BEGIN’
22:09:20.246 [pimatic, ppm] STATEMENT_BEGIN(All);
22:09:20.248 [pimatic, ppm] ^~~~~~~~~~~~~~~
22:09:20.251 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginEach(node_sqlite3::Statement::Baton*)’:
22:09:20.258 [pimatic, ppm] …/src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.261 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.264 [pimatic, ppm] ^
22:09:20.267 [pimatic, ppm] …/src/statement.cc:601:5: note: in expansion of macro ‘STATEMENT_BEGIN’
22:09:20.271 [pimatic, ppm] STATEMENT_BEGIN(Each);
22:09:20.278 [pimatic, ppm] ^~~~~~~~~~~~~~~
22:09:20.280 [pimatic, ppm] …/src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)’:
22:09:20.283 [pimatic, ppm] …/src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
22:09:20.285 [pimatic, ppm] int status = uv_queue_work(uv_default_loop(),
22:09:20.288 [pimatic, ppm] ^
22:09:20.291 [pimatic, ppm] …/src/statement.cc:724:5: note: in expansion of macro ‘STATEMENT_BEGIN’
22:09:20.294 [pimatic, ppm] STATEMENT_BEGIN(Reset);
22:09:20.296 [pimatic, ppm] ^~~~~~~~~~~~~~~
22:09:29.553 [pimatic, ppm] SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
22:09:30.244 [pimatic, ppm] COPY Release/node_sqlite3.node
22:09:30.271 [pimatic, ppm] COPY /home/pi/pimatic-app/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node
22:09:30.300 [pimatic, ppm] TOUCH Release/obj.target/action_after_build.stamp
22:09:30.312 [pimatic, ppm] make: Leaving directory '/home/pi/pimatic-app/node_modules/sqlite3/build’
22:09:37.431 [pimatic, ppm] sqlite3@3.1.8 node_modules/sqlite3
22:09:37.434 [pimatic, ppm] └── nan@2.4.0
22:09:38.300 [pimatic] message table created!
22:09:38.318 [pimatic] deviceAttribute table created!
22:09:38.329 [pimatic] attributeValueNumber table created!
22:09:38.336 [pimatic] attributeValueString table created!
22:09:39.325 [pimatic, ppm] 2.15.12
22:09:39.936 [pimatic] Installing: “pimatic-cron@0.8.8” from npm-registry.
22:09:53.202 [pimatic, ppm] pimatic-cron@0.8.8 node_modules/pimatic-cron
22:09:53.205 [pimatic, ppm] ├── chrono-node@0.1.11
22:09:53.208 [pimatic, ppm] └── cron@1.0.9 (moment-timezone@0.3.1)
22:09:53.250 [pimatic] Loading plugin: “pimatic-cron” (0.8.8)
coffee-cache: compiling coffee-script file “cron.coffee”…Done
coffee-cache: compiling coffee-script file “cron-config-schema.coffee”…Done
22:09:54.600 [pimatic] Installing: “pimatic-mobile-frontend@0.9.12” from npm-registry.
22:10:15.853 [pimatic, ppm] pimatic-mobile-frontend@0.9.12 node_modules/pimatic-mobile-frontend
22:10:15.856 [pimatic, ppm] ├── colour.js@1.5.2
22:10:15.858 [pimatic, ppm] └── jqmthemer@0.0.1 (bluebird@2.2.2)
22:10:15.910 [pimatic] Loading plugin: “pimatic-mobile-frontend” (0.9.12)
coffee-cache: compiling coffee-script file “mobile-frontend.coffee”…Done
coffee-cache: compiling coffee-script file “mobile-frontend-config-schema.coffee”…Done
22:10:17.527 [pimatic-cron] the time is: Tue Sep 26 2017 22:10:17 GMT+0000 (UTC)
coffee-cache: compiling coffee-script file “device-config-schema.coffee”…Done
22:10:18.310 [pimatic-mobile-frontend] packing static assets
22:10:19.745 [pimatic-mobile-frontend] packing static assets finished
22:10:19.756 [pimatic-mobile-frontend] rendering html
22:10:24.878 [pimatic-mobile-frontend] rendering html finished
<<<<<<<<<end screen dump<<<<<<<<<