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

panic: interface conversion: io.Writer is *colorable.Writer, not *os.File #42

Closed
Jonesie opened this issue Jan 6, 2018 · 6 comments
Closed

Comments

@Jonesie
Copy link

Jonesie commented Jan 6, 2018

Every command I try gives me this error:

panic: interface conversion: io.Writer is *colorable.Writer, not *os.File

Running on windows 10.

@d5
Copy link
Contributor

d5 commented Mar 18, 2018

Can you possibly test if this PR #45 fixes this issue? @Jonesie

@pau-sullivan
Copy link

Did you solve it? I'm getting this error too

@Jonesie
Copy link
Author

Jonesie commented Sep 1, 2018

Sorry, I didnt see this until now. Not using coldbrew - brewed my own cloudformations.

@ralc
Copy link

ralc commented Nov 24, 2018

I am getting this issue. Is this still being supported?

@harshal7harshal
Copy link

any command I run its giving same error what are we missing here in windows?

panic: interface conversion: io.Writer is *colorable.Writer, not *os.File

goroutine 1 [running]:
github.com/coldbrewcloud/coldbrew-cli/vendor/github.com/d5/cc.Enable()
/home/travis/gopath/src/github.com/coldbrewcloud/coldbrew-cli/vendor/github.com/d5/cc/colors.go:52 +0x107
github.com/coldbrewcloud/coldbrew-cli/vendor/github.com/d5/cc.init.0()
/home/travis/gopath/src/github.com/coldbrewcloud/coldbrew-cli/vendor/github.com/d5/cc/colors.go:249 +0xd4
github.com/coldbrewcloud/coldbrew-cli/vendor/github.com/d5/cc.init()
:1 +0x88
github.com/coldbrewcloud/coldbrew-cli/console.init()
:1 +0x4d
github.com/coldbrewcloud/coldbrew-cli/commands/clustercreate.init()
:1 +0x57
main.init()
:1 +0x52

@d5 d5 closed this as completed in #45 Jan 25, 2019
@d5
Copy link
Contributor

d5 commented Jan 25, 2019

I merged a PR that's supposed to fix this. Let me know if the latest binary fix it or not. Btw, coldbrew-cli is not actively maintained at the moment. (Business was shut down.) You should consider using other options, such as acs-cli.

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

5 participants