Code Monkey home page Code Monkey logo

lazyhub's Issues

Nil pointer dereferece on darwin/amd64

Hi,

first of all, thanks for this awesome tool. I really like how you decoupled all the UI relevant stuff so it can be used somewhere else. I actually used some of the components underui/*.go to implement my own application. I really liked your "clean code" approach. And BTW: Why gocui and not tcell for example? gocui seems to have less "features".

I wanted to actually run your tool on my Mac OS and after running it I immediately got:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x133bb7a]

goroutine 1 [running]:
github.com/ryo-ma/lazyhub/lib.(*Result).Draw(0x0, 0x1486ac0, 0xc00019e200, 0x0, 0x0)
        /Users/vdorneanu/go/src/github.com/ryo-ma/lazyhub/lib/githubclient.go:125 +0x3a
github.com/ryo-ma/lazyhub/ui.(*RepositoryPanel).DrawView(0xc00018e0c0, 0xc00018c000, 0x0, 0x0)
        /Users/vdorneanu/go/src/github.com/ryo-ma/lazyhub/ui/repository.go:34 +0x178
main.main()
        /Users/vdorneanu/go/src/github.com/ryo-ma/lazyhub/main.go:42 +0x34a

I didn't have the time to do some debugging. But I guess this might as well be interesting for you.

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.