Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it supports kibana 5.1.1 ? #3

Open
SuhasUnited90 opened this issue Dec 19, 2016 · 11 comments
Open

Does it supports kibana 5.1.1 ? #3

SuhasUnited90 opened this issue Dec 19, 2016 · 11 comments

Comments

@SuhasUnited90
Copy link

No description provided.

@JuanCarniglia
Copy link
Owner

JuanCarniglia commented Dec 19, 2016 via email

@SuhasUnited90
Copy link
Author

SuhasUnited90 commented Dec 19, 2016

It breaks on kibana 5.1.1 with blank screen with the following error on browser console...

commons.bundle.js?v=14566:38 TypeError: Cannot read property 'length' of null
    at Graph3d._getDataPoints (kibana.bundle.js?v=14566:170)
    at Graph3d._readData (kibana.bundle.js?v=14566:170)
    at Graph3d.setData (kibana.bundle.js?v=14566:170)
    at new Graph3d (kibana.bundle.js?v=14566:169)
    at kibana.bundle.js?v=14566:137
    at kibana.bundle.js?v=14566:137
    at Object.fn (commons.bundle.js?v=14566:75)
    at Scope.$digest (commons.bundle.js?v=14566:39)
    at Scope.$apply (commons.bundle.js?v=14566:39)
    at HTMLFormElement.<anonymous> (commons.bundle.js?v=14566:42)
(anonymous) @ commons.bundle.js?v=14566:38
(anonymous) @ commons.bundle.js?v=14566:37
$digest @ commons.bundle.js?v=14566:39
$apply @ commons.bundle.js?v=14566:39
(anonymous) @ commons.bundle.js?v=14566:42
dispatch @ commons.bundle.js?v=14566:28
elemData.handle @ commons.bundle.js?v=14566:28
commons.bundle.js?v=14566:38 Error: Parameter 'start' is not numeric; value: NaN
    at StepNumber.setRange (kibana.bundle.js?v=14566:171)
    at new StepNumber (kibana.bundle.js?v=14566:171)
    at Graph3d._redrawAxis (kibana.bundle.js?v=14566:170)
    at Graph3d.redraw (kibana.bundle.js?v=14566:170)
    at Graph3d.setData (kibana.bundle.js?v=14566:170)
    at new Graph3d (kibana.bundle.js?v=14566:169)
    at kibana.bundle.js?v=14566:137
    at kibana.bundle.js?v=14566:137
    at Object.fn (commons.bundle.js?v=14566:75)
    at Scope.$digest (commons.bundle.js?v=14566:39)
(anonymous) @ commons.bundle.js?v=14566:38
(anonymous) @ commons.bundle.js?v=14566:37
$digest @ commons.bundle.js?v=14566:39
$apply @ commons.bundle.js?v=14566:39
done @ commons.bundle.js?v=14566:37
completeRequest @ commons.bundle.js?v=14566:37
xhr.onload @ commons.bundle.js?v=14566:37

@JuanCarniglia
Copy link
Owner

This line should cue us "Error: Parameter 'start' is not numeric; value: NaN" ... The same as issue #5, there seems to be an invalid Data Field being used. Can you paste here the configuration for the view? Thanks.

@billmetangmo
Copy link

I also had an error when trying to start Kibana 5.1.1 with the plugin :

{"type":"log","@timestamp":"2017-03-01T12:08:20Z","tags":["fatal"],"pid":20589,"level":"fatal","message":"Unexpected token export","error":{"message":"Unexpected token export","name":"SyntaxError","stack":"/home/cloud-user/kibana-5.1.1-linux-x86_64/src/core_plugins/area3d_vis/index.js:1\n(function (exports, require, module, __filename, __dirname) { export default function (kibana) {\n ^^^^^^\nSyntaxError: Unexpected token export\n at Object.exports.runInThisContext (vm.js:76:16)\n at Module._compile (module.js:542:28)\n at Module._extensions..js (module.js:579:10)\n at Object.require.extensions.(anonymous function) [as .js] (/home/cloud-user/kibana-5.1.1-linux-x86_64/node_modules/babel-core/lib/api/register/node.js:214:7)\n at Module.load (module.js:487:32)\n at tryModuleLoad (module.js:446:12)\n at Function.Module._load (module.js:438:3)\n at Module.require (module.js:497:17)\n at require (internal/module.js:20:19)\n at Plugins. (/home/cloud-user/kibana-5.1.1-linux-x86_64/src/server/plugins/plugin_collection.js:66:30)\n at undefined.next (native)\n at step (/home/cloud-user/kibana-5.1.1-linux-x86_64/src/server/plugins/plugin_collection.js:22:273)\n at /home/cloud-user/kibana-5.1.1-linux-x86_64/src/server/plugins/plugin_collection.js:22:443\n at Plugins. (/home/cloud-user/kibana-5.1.1-linux-x86_64/src/server/plugins/plugin_collection.js:22:99)\n at KbnServer. (/home/cloud-user/kibana-5.1.1-linux-x86_64/src/server/plugins/scan.js:81:27)\n at undefined.next (native)"}}
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 kibana[20589]: FATAL /home/cloud-user/kibana-5.1.1-linux-x86_64/src/core_plugins/area3d_vis/index.js:1
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 kibana[20589]: (function (exports, require, module, __filename, __dirname) { export default function (kibana) {
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 kibana[20589]: ^^^^^^
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 kibana[20589]: SyntaxError: Unexpected token export
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 systemd[1]: kibana.service: main process exited, code=exited, status=1/FAILURE
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 systemd[1]: Unit kibana.service entered failed state.
Mar 01 13:08:20 mtb3server-geekshop-environment-compute-kbn-bfa95 systemd[1]: kibana.service failed.

@JuanCarniglia
Copy link
Owner

I added an extra check in the code. Please update and verify if it is now working.

Thanks!

@jennyHsiao
Copy link

Hi, I'm using kibana 5.2.2 with the plugin. There are error massages:

{"type":"log","@timestamp":"2017-03-16T07:25:02Z","tags":["fatal"],"pid":14637,"level":"fatal","message":"Unexpected token export","error":{"message":"Unexpected token export","name":"SyntaxError","stack":"/home/jenny/kibana-5.2.2-linux-x86_64/src/core_plugins/area3d_vis/index.js:1\n(function (exports, require, module, __filename, __dirname) { export default function (kibana) {\n ^^^^^^\nSyntaxError: Unexpected token export\n at Object.exports.runInThisContext (vm.js:76:16)\n at Module._compile (module.js:542:28)\n at Module._extensions..js (module.js:579:10)\n at Object.require.extensions.(anonymous function) [as .js] (/home/jenny/kibana-5.2.2-linux-x86_64/node_modules/babel-core/lib/api/register/node.js:214:7)\n at Module.load (module.js:487:32)\n at tryModuleLoad (module.js:446:12)\n at Function.Module._load (module.js:438:3)\n at Module.require (module.js:497:17)\n at require (internal/module.js:20:19)\n at Plugins. (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:66:30)\n at undefined.next (native)\n at step (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:22:273)\n at /home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:22:443\n at Plugins. (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:22:99)\n at KbnServer. (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/scan.js:81:27)\n at undefined.next (native)"}}
FATAL /home/jenny/kibana-5.2.2-linux-x86_64/src/core_plugins/area3d_vis/index.js:1
(function (exports, require, module, __filename, __dirname) { export default function (kibana) {
^^^^^^
SyntaxError: Unexpected token export
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/jenny/kibana-5.2.2-linux-x86_64/node_modules/babel-core/lib/api/register/node.js:214:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Plugins. (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:66:30)
at undefined.next (native)
at step (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:22:273)
at /home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:22:443
at Plugins. (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/plugin_collection.js:22:99)
at KbnServer. (/home/jenny/kibana-5.2.2-linux-x86_64/src/server/plugins/scan.js:81:27)
at undefined.next (native)

Could you help me?

@bsuvorov
Copy link

bsuvorov commented Jun 16, 2017

Having same error as above ^^^ , please help. your software is in top google search results for 3d kibana visualization. which means => basically your have the most popular 3d visualization tool for kibana out there right now :)

@JuanCarniglia
Copy link
Owner

I just committed a 5.5 compliant version. Please check it.

@vsnash
Copy link

vsnash commented Sep 19, 2017

hey. tried installing it with 5.5 Getting this error.

Removing intermediate container 928beee87cb2
Step 17/21 : RUN cd /usr/share/kibana/plugins/area3d_vis && npm install
 ---> Running in 34a72f7136c5

> [email protected] install /usr/share/kibana/node_modules/dtrace-provider
> node scripts/install.js

[email protected] /usr/share/kibana
`-- (empty)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No license field.
npm ERR! code 1
ERROR: Service 'kibana' failed to build: The command '/bin/sh -c cd /usr/share/kibana/plugins/area3d_vis && npm install' returned a non-zero code: 1```

@vsnash
Copy link

vsnash commented Sep 19, 2017

although when I run npm install vis it works.

@JuanCarniglia
Copy link
Owner

You probably have no "/usr/share/kibana/plugins/area3d_vis" folder.

I just copy the code over to the src/core_plungins/ folder (on an "area3d_vis" folder) and then run "npm install vis" on that folder, to get Vis.

Then you have to restart Kibana (Probably remove the bundle files beforehand, to get them rebuilt).

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants