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

tried to run it and ran into that issue: #15

Open
gregory opened this issue Dec 11, 2015 · 9 comments
Open

tried to run it and ran into that issue: #15

gregory opened this issue Dec 11, 2015 · 9 comments

Comments

@gregory
Copy link

gregory commented Dec 11, 2015

TypeError: Cannot read property 'rx_bytes' of undefined
    at NetworkIO.update (/usr/src/widgets/network.js:24:47)
    at /usr/src/index.js:217:45
    at Array.map (native)
    at /usr/src/index.js:217:22
    at Request.<anonymous> (/usr/src/utils/index.js:49:14)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:166:7)
    at IncomingMessage.<anonymous> (/usr/src/node_modules/request/request.js:1184:12)
    at emitOne (events.js:77:13)
    at IncomingMessage.emit (events.js:166:7)
@jackkav
Copy link

jackkav commented Dec 15, 2015

+1

@aholbreich
Copy link

Same for me+

@wziyong
Copy link

wziyong commented Jan 20, 2016

+1

@macint0sh
Copy link

For me also. +1

@referup-amontero
Copy link

Same here:

$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

@tywkeene
Copy link

Yep, +1

git commit 75f4f25

Client:
Version: 1.10.2
API version: 1.22
Go version: go1.5.3
Git commit: c3959b1
Built: Thu Feb 25 09:29:05 2016
OS/Arch: linux/amd64

Server:
Version: 1.10.2
API version: 1.22
Go version: go1.5.3
Git commit: c3959b1
Built: Thu Feb 25 09:29:05 2016
OS/Arch: linux/amd64

@petmakris
Copy link

+1

@sschimmel
Copy link

+1

Client:
Version: 1.10.3
API version: 1.22
Go version: go1.5.3
Git commit: 20f81dd
Built: Thu Mar 10 15:54:52 2016
OS/Arch: linux/amd64

Server:
Version: 1.10.3
API version: 1.22
Go version: go1.5.3
Git commit: 20f81dd
Built: Thu Mar 10 15:54:52 2016
OS/Arch: linux/amd64

@vicentedealencar
Copy link

I managed to fix that locally changing statItem.network.rx_bytes here to statItem.networks.eth0.rx_bytes (same for following lines)

All I did was add console.log(statItem) before the breaking line, if networks.eth0 do not work for you try that.

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

10 participants