Giter VIP home page Giter VIP logo

nilan's People

Contributors

pjuzeliunas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

nilan's Issues

Cannot read register value

Hey, ๐Ÿ‘‹๐Ÿป

i got the following error, can you help me what what might be wrong?

2021/07/29 17:00:29 Processing readings GET request from 172.17.0.1:60214
2021/07/29 17:00:29 http: panic serving 172.17.0.1:60214: Cannot read register value
goroutine 24 [running]:
net/http.(*conn).serve.func1(0xc00017e140)
        /usr/local/go/src/net/http/server.go:1795 +0x139
panic(0x6e31a0, 0x7c2cb0)
        /usr/local/go/src/runtime/panic.go:679 +0x1b2
github.com/wernerfred/nilan.(*Controller).FetchValue(0xc0000cda48, 0xc0554fe604, 0xc0001b0000)
        /go/src/github.com/wernerfred/nilan/controller.go:41 +0x1f4
github.com/wernerfred/nilan.(*Controller).t18ReadingRegister(0xc0000cda48, 0x4f270001)
        /go/src/github.com/wernerfred/nilan/controller.go:304 +0x3b
github.com/wernerfred/nilan.(*Controller).FetchReadings(0xc0000cda48, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /go/src/github.com/wernerfred/nilan/controller.go:316 +0x95
main.readings(0x7cec40, 0xc0001ae0e0, 0xc000182400)
        /app/app/app.go:16 +0x10d
net/http.HandlerFunc.ServeHTTP(0x775a10, 0x7cec40, 0xc0001ae0e0, 0xc000182400)
        /usr/local/go/src/net/http/server.go:2036 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0000d4000, 0x7cec40, 0xc0001ae0e0, 0xc0001c4100)
        /go/src/github.com/gorilla/mux/mux.go:210 +0xe2
net/http.serverHandler.ServeHTTP(0xc0000d8000, 0x7cec40, 0xc0001ae0e0, 0xc0001c4100)
        /usr/local/go/src/net/http/server.go:2831 +0xa4
net/http.(*conn).serve(0xc00017e140, 0x7cf2c0, 0xc000184040)
        /usr/local/go/src/net/http/server.go:1919 +0x875
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:2957 +0x384

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.