Comments (7)
Hi @arleneF on matrix.service('face').start.then(function(data){ console.log(data); });
, start is a function, so should be start()
from matrix-os.
Thanks for replying. @gordinh
Even I changed start to start(), similar thing happens:
(buildindetection)err invalid service declared. No configuration available for face
Stopping buildindetection
(buildindetection)err /home/pi/matrix-os/apps/buildindetection.matrix/app.js:1
(function (exports, require, module, __filename, __dirname) { matrix.service('face').start().then(function(data){
^
TypeError: Cannot read property 'start' of undefined
at Object. (/home/pi/matrix-os/apps/buildindetection.matrix/app.js:1:85)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/matrix-os/apps/buildindetection.matrix/index.js:7:1)
at Module._compile (module.js:556:32)
Stopping buildindetection
Uncaught exception: TypeError: Cannot convert undefined or null to object
at ChildProcess. (/home/pi/matrix-os/lib/service/manager.js:503:21)
at emitNone (events.js:86:13)
at ChildProcess.emit (events.js:185:7)
at finish (internal/child_process.js:711:14)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9) TypeError: Cannot convert undefined or null to object
at ChildProcess. (/home/pi/matrix-os/lib/service/manager.js:503:21)
at emitNone (events.js:86:13)
at ChildProcess.emit (events.js:185:7)
at finish (internal/child_process.js:711:14)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
UNKNOWN ERROR! TypeError: Cannot convert undefined or null to object
at ChildProcess. (/home/pi/matrix-os/lib/service/manager.js:503:21)
at emitNone (events.js:86:13)
at ChildProcess.emit (events.js:185:7)
at finish (internal/child_process.js:711:14)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Unable to clean, exitting...
from matrix-os.
Are you using the latest MOS version? Also show me your app.js and config.yaml
from matrix-os.
I think it is the latest one, I download it four days ago, and also do sudo apt-get update && sudo apt-get upgrade
today.
Here's my app.js:
matrix.service('face').start().then(function(data){
console.log(data);
});
and config.yaml:
# do not touch this line
configVersion: 2
name: buildindetection
description: follow the online isntruction
keywords: detection
displayName: Buildindetection
services:
Buildindetection:
engine: detection
type: face
from matrix-os.
Ok @arleneF i've just tested here and as you can see below there's nothing wrong on it. Please check if you are using 0.14.1
version:
|\/| |__| | |__/ | \/ [o__o]
| | | | | | \ | _/\_ v0.14.1
==== Application Test- started! ====
(Test-) Matrix OS Application Library Loading...
(Test-) service> { engine: 'detection', type: 'face' }
(Test-) matrix.service:: face : detection > face
(Test-) setup service listener
Matrix App Host Ready!
(Test-) APP>SERVICE> { type: 'container-ready', app: 'Test-', pid: 8250 }
from matrix-os.
oh I found my OS version is v0.14.0, so I have to re-install it again? since I did update and upgrade several times and the version keeps the same.
from matrix-os.
You can just use git pull
to update the repo.
from matrix-os.
Related Issues (20)
- Error with faceTest and emotionTest HOT 7
- duplicates events on recognition service HOT 1
- Starting matrix-os Illegal instruction
- Computer Vision does not currently work
- GPIO does not currently work
- zigbee does not currently work
- Trying to run google assistant with raspberry pi and matrix creator HOT 2
- Update dependency to zeromq.js HOT 2
- IFTTT does not currently work
- LEDs need to be updated for MATRIX Voice
- action regenerating make file
- How to use javascript to get direction of arrival
- Error occurring with recogTest HOT 2
- Error with recogTest HOT 1
- Error when attempting to stop apps. HOT 3
- update of issue#85: sevice undefined when start face detection app from matrix OS HOT 5
- Everloop LED's not working properly HOT 2
- Can't Find Open Source Software Licenses HOT 1
- Problem after upgrade v0.15.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrix-os.