We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, when I try compiling this (awesome) project, it fails with this error
$ GO111MODULE=on go get -u github.com/diamondburned/cchat-gtk go: github.com/diamondburned/cchat-gtk upgrade => v0.0.0-20210106052752-9cb3f71e77bf go: github.com/alecthomas/chroma upgrade => v0.8.2 go: golang.org/x/time upgrade => v0.0.0-20201208040808-7e3f01d25324 go: github.com/danieljoos/wincred upgrade => v1.1.0 go: golang.org/x/image upgrade => v0.0.0-20201208152932-35266b937fa6 go: github.com/gotk3/gotk3 upgrade => v0.5.2 go: golang.org/x/text upgrade => v0.3.4 go: golang.org/x/sys upgrade => v0.0.0-20210105210732-16f7687f5001 go: github.com/yuin/goldmark upgrade => v1.3.1 go: github.com/dlclark/regexp2 upgrade => v1.4.0 go: github.com/twmb/murmur3 upgrade => v1.1.5 go: github.com/zalando/go-keyring upgrade => v0.1.0 go: go4.org upgrade => v0.0.0-20201209231011-d4a079459e60 go: github.com/pkg/errors upgrade => v0.9.1 go: github.com/diamondburned/cchat-mock upgrade => v0.0.0-20201217223307-2a859bbef698 go: github.com/google/btree upgrade => v1.0.0 go: github.com/diamondburned/cchat upgrade => v0.3.17 go: downloading github.com/diamondburned/cchat-mock v0.0.0-20201217223307-2a859bbef698 go: downloading github.com/gotk3/gotk3 v0.5.2 go: downloading golang.org/x/text v0.3.4 go: downloading golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 go: downloading golang.org/x/image v0.0.0-20201208152932-35266b937fa6 go: downloading github.com/twmb/murmur3 v1.1.5 go: downloading github.com/yuin/goldmark v1.3.1 go: downloading go4.org v0.0.0-20201209231011-d4a079459e60 go: downloading github.com/alecthomas/chroma v0.8.2 go: downloading golang.org/x/sys v0.0.0-20210105210732-16f7687f5001 go: downloading github.com/zalando/go-keyring v0.1.0 go: downloading github.com/dlclark/regexp2 v1.4.0 go: downloading github.com/danieljoos/wincred v1.1.0 # github.com/diamondburned/cchat-gtk/internal/gts/throttler go/pkg/mod/github.com/diamondburned/[email protected]/internal/gts/throttler/throttler.go:30:12: cannot use w (type *gtk.Window) as type Connector in argument to s.Connect: *gtk.Window does not implement Connector (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle # github.com/diamondburned/gspell go/pkg/mod/github.com/diamondburned/[email protected]/gspell_generated.go:29:5: cannot use (*glib.Object)(nil) (type *glib.Object) as type objector in assignment: *glib.Object does not implement objector (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/gspell_generated.go:503:3: cannot use &LanguageChooser literal (type *LanguageChooser) as type LanguageChooserer in field value: *LanguageChooser does not implement LanguageChooserer (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/gspell_generated.go:548:3: cannot use &LanguageChooser literal (type *LanguageChooser) as type LanguageChooserer in field value: *LanguageChooser does not implement LanguageChooserer (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/gspell_generated.go:585:3: cannot use &Navigator literal (type *Navigator) as type Navigatorer in field value: *Navigator does not implement Navigatorer (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle # github.com/diamondburned/handy go/pkg/mod/github.com/diamondburned/[email protected]/handy_generated.go:40:5: cannot use (*glib.Object)(nil) (type *glib.Object) as type objector in assignment: *glib.Object does not implement objector (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/handy_generated.go:703:4: cannot use >k.Widget literal (type *gtk.Widget) as type Caster in field value: *gtk.Widget does not implement Caster (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/handy_generated.go:1176:4: cannot use >k.Widget literal (type *gtk.Widget) as type Caster in field value: *gtk.Widget does not implement Caster (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/handy_generated.go:2056:4: cannot use >k.Widget literal (type *gtk.Widget) as type Caster in field value: *gtk.Widget does not implement Caster (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle go/pkg/mod/github.com/diamondburned/[email protected]/handy_generated.go:2917:3: cannot use >k.Widget literal (type *gtk.Widget) as type Caster in field value: *gtk.Widget does not implement Caster (wrong type for Connect method) have Connect(string, interface {}, ...interface {}) (glib.SignalHandle, error) want Connect(string, interface {}) glib.SignalHandle
I am using go 1.15.6 on linux amd64, and my own gotk3 projects work I have the same error on linux aarch64
Am I doing something wrong ? O.O thanks :)
The text was updated successfully, but these errors were encountered:
You might want to clone the repository and manually do go install for now.
go install
I reckon this error has to do with the (careless) usage of replace directives inside go.mod.
replace
go.mod
Sorry, something went wrong.
Great, now it works nice on my computer and my pinephone! thanks!
Tacking this issue here because it's part of the problem: golang/go#30354
No branches or pull requests
Hi, when I try compiling this (awesome) project, it fails with this error
I am using go 1.15.6 on linux amd64, and my own gotk3 projects work
I have the same error on linux aarch64
Am I doing something wrong ? O.O
thanks :)
The text was updated successfully, but these errors were encountered: