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

Windows - 10: always : panic: The parameter is incorrect. #15

Closed
rsrini7 opened this issue Feb 20, 2019 · 4 comments
Closed

Windows - 10: always : panic: The parameter is incorrect. #15

rsrini7 opened this issue Feb 20, 2019 · 4 comments

Comments

@rsrini7
Copy link

rsrini7 commented Feb 20, 2019

        panic: The parameter is incorrect.
        panic: The parameter is incorrect.

goroutine 1 [running]:
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.move_cursor(0x2, 0x26)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:592 +0x75 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Flush(0xc000000000, 0x0)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:120 +0x10c
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Close()
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:78 +0x39
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).Close(0xc0420f8090)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:96 +0x27
panic(0x67ca40, 0xc0421b0000)
        /home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505 +0x237
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.move_cursor(0x2, 0x26)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:592 +0x75 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.clear()
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:629 +0x121

github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.update_size_maybe()
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:451 +0xc5 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Clear(0x0, 0x0, 0x0)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:187 +0x41
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).flush(0xc0420f8090, 0x0, 0x0)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:423 +0x43
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).MainLoop(0xc0420f8090, 0x0, 0x0)
        /home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:384 +0x22b
main.main()
        /home/travis/gopath/src/github.com/thehowl/claws/main.go:33 +0x1da
@rsrini7
Copy link
Author

rsrini7 commented Feb 20, 2019

panic: The parameter is incorrect.
panic: The parameter is incorrect.

goroutine 1 [running]:
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.move_cursor(0x2, 0x26)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:592 +0x75 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Flush(0xc000000000, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:120 +0x10c
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Close()
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:78 +0x39
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).Close(0xc0420f8090)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:96 +0x27
panic(0x67ca40, 0xc0421b0000)
/home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505 +0x237
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.move_cursor(0x2, 0x26)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:592 +0x75 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.clear()
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:629 +0x121

github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.update_size_maybe()
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:451 +0xc5 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Clear(0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:187 +0x41
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).flush(0xc0420f8090, 0x0, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:423 +0x43
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).MainLoop(0xc0420f8090, 0x0, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:384 +0x22b
main.main()
/home/travis/gopath/src/github.com/thehowl/claws/main.go:33 +0x1da

This is happening only in conemu - cmder

@thehowl
Copy link
Owner

thehowl commented Feb 24, 2019

Issue seems to be the following: nsf/termbox-go#125 and should have been fixed in Gocui with this commit: Alkorin/gocui@72ea818 .

I've updated the gocui dependencies - could you try with the latest release? https://github.com/thehowl/claws/releases/tag/0.3.2

@rsrini7
Copy link
Author

rsrini7 commented Feb 25, 2019

Perfect. Working well. Thanks for the fix. I thought its fix from gocui.
I am facing same issues with all other gocui based cli tools. Better to push to gocui.

@thehowl
Copy link
Owner

thehowl commented Feb 25, 2019

Yeah, it has been fixed from gocui and it is on the latest version, but it may take a while to propagate to other gocui tools.

Thank you for your report!

@thehowl thehowl closed this as completed Feb 25, 2019
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

2 participants