Comments (4)
heh, thanks for reporting that, will look into this
from lsp.
Yup... Me too, Fedora 21
FS is btrfs if it matters.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x404b2e]
goroutine 1 [running]:
main.presentPath(0xc20803a8d0, 0x25, 0x0, 0x0)
/home/ryan/.gocode/src/github.com/lsp/paths.go:11 +0x16e
main.renderSummary()
/home/ryan/.gocode/src/github.com/lsp/fmt.go:58 +0x8f
main.render()
/home/ryan/.gocode/src/github.com/lsp/fmt.go:53 +0x25
main.main()
/home/ryan/.gocode/src/github.com/lsp/main.go:24 +0x372
goroutine 26 [sleep]:
main.func·002()
/home/ryan/.gocode/src/github.com/lsp/utils.go:10 +0x27
created by main.setTimeoutTimer
/home/ryan/.gocode/src/github.com/lsp/utils.go:12 +0x25
from lsp.
Looks like Golang can't find the user's home dir. Perhaps logging a warning or having a default (maybe /home/[username] or /Users/[username] for OSX) would work better?
I can create a pull once we get an outline.
from lsp.
I seem to be hitting this same bug.
[adam@Drogon]~/devel/go/src% lsp
--------------------------------------------------------------------------------------------------------------------------------------
bazil.org dir(96 files)
bitbucket.org dir(33 files)
code.google.com dir(718 files)
github.com dir(3699 files)
golang.org dir(622 files)
gopkg.in dir(85 files)
launchpad.net dir(27 files)
--------------------------------------------------------------------------------------------------------------------------------------
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x40504e]
goroutine 1 [running]:
main.presentPath(0xc20801e400, 0x17, 0x0, 0x0)
/home/adam/devel/go/src/github.com/dborzov/lsp/paths.go:11 +0x16e
main.renderSummary()
/home/adam/devel/go/src/github.com/dborzov/lsp/fmt.go:61 +0x8f
main.render()
/home/adam/devel/go/src/github.com/dborzov/lsp/fmt.go:56 +0x25
main.main()
/home/adam/devel/go/src/github.com/dborzov/lsp/main.go:28 +0x508
goroutine 12 [sleep]:
main.func·002()
/home/adam/devel/go/src/github.com/dborzov/lsp/utils.go:10 +0x27
created by main.setTimeoutTimer
/home/adam/devel/go/src/github.com/dborzov/lsp/utils.go:12 +0x25
[adam@Drogon]~/devel/go/src%
from lsp.
Related Issues (15)
- Help option HOT 2
- Create --help flag HOT 2
- Don't print headings for empty sections
- Hope some day I can `brew install lsp`
- Installation problem HOT 3
- AUR Package for lsp. HOT 1
- Need to link file after install HOT 2
- No way to hide hidden files HOT 7
- Usage information HOT 1
- Ellisons don't play nice with column alignment HOT 5
- `lsp -pt` Is not consistent HOT 1
- lsp -l cannot take an argument HOT 2
- Some text is invisible in my terminal HOT 1
- list of files inaccurate HOT 5
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 lsp.