Seklfreak / discord-image-downloader-go

A simple tool which downloads pictures posted in discord channels of your choice to a local folder.
MIT License
349 stars 90 forks source link

When compiling soource code on Mac, getting go.sum mismatch. #132

Open JasDawg opened 5 years ago

JasDawg commented 5 years ago

When running main.go, getting the following error:

 go: downloading github.com/ChimeraCoder/anaconda v2.0.0+incompatible
 go: downloading gopkg.in/ini.v1 v1.39.2
 go: downloading github.com/PuerkitoBio/goquery v1.5.0
 go: verifying github.com/ChimeraCoder/anaconda@v2.0.0+incompatible: checksum mismatch
    downloaded: h1:F0eD7CHXieZ+VLboCD5UAqCeAzJZxcr90zSCcuJopJs=
    go.sum:     h1:slAmCJMpjEztM42qRfhFkh3gBLHnIUUmlMK5zFd60Pc=

EDIT: Wound up getting around this and one other similar error within ChimeraCoder by editing the go.sum file with the corrected checksums. HOWEVER, now getting new error upon install:

# github.com/PuerkitoBio/goquery

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:20:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:27:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:35:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:58:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:73:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:82:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:92:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:103:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:103:36: undefined: Matcher

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:113:10: undefined: Selection

../../../goWorkspace/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.0/array.go:113:10: too many errors