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

Path with spaces causes panic #65

Closed
kytrinyx opened this issue Mar 8, 2014 · 4 comments · Fixed by #68
Closed

Path with spaces causes panic #65

kytrinyx opened this issue Mar 8, 2014 · 4 comments · Fixed by #68

Comments

@kytrinyx
Copy link
Member

kytrinyx commented Mar 8, 2014

Copied from exercism/exercism#1458, reported by @basbossink


When setting up exercism 1.5.0 amd64 for the first time on a 64-bit Windows 7 system. When selecting the following project path: C:\Users\bas\Documents\My Dropbox\projects\exercism the panic below is shown:

panic: Scan: expected newline

goroutine 1 [running]:
main.askForConfigInfo(0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/kytrinyx/code/go/src/github.com/exercism/cli/exercism.go:47 +0x91
b
main.func┬À004(0xc0800c5080)
        /Users/kytrinyx/code/go/src/github.com/exercism/cli/main.go:135 +0x60
github.com/codegangsta/cli.Command.Run(0x68f780, 0x5, 0x68f3e0, 0x1, 0x6d0070, .
..)
        /Users/kytrinyx/code/go/src/github.com/codegangsta/cli/command.go:73 +0x
915
github.com/codegangsta/cli.(*App).Run(0xc080094500, 0xc08008b740, 0x2, 0x2, 0x9,
 ...)
        /Users/kytrinyx/code/go/src/github.com/codegangsta/cli/app.go:101 +0x7a5

main.main()
        /Users/kytrinyx/code/go/src/github.com/exercism/cli/main.go:294 +0x320
@Tonkpils
Copy link
Contributor

Tonkpils commented Mar 8, 2014

I'll try to take a look at this this weekend.

@kytrinyx
Copy link
Member Author

kytrinyx commented Mar 8, 2014

Sweet, thank you!

@Tonkpils
Copy link
Contributor

I apologize for taking so long to get to this. I've found a fix just writing some tests for it and should be committing soon.

@kytrinyx
Copy link
Member Author

Thanks for taking the time to figure it out!

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

Successfully merging a pull request may close this issue.

2 participants