h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.5k stars 455 forks source link

Error with throttled package #401

Open kanzn opened 1 year ago

kanzn commented 1 year ago

Hi, I wanted to install imaginary with go get -u github.com/h2non/imaginary I got this message package gopkg.in/throttled/throttled.v2: code in directory /home/user/go/src/gopkg.in/throttled/throttled.v2 expects import "github.com/throttled/throttled/v2" package gopkg.in/throttled/throttled.v2/store/memstore: code in directory /home/user/go/src/gopkg.in/throttled/throttled.v2/store/memstore expects import "github.com/throttled/throttled/v2/store/memstore"

Sorry if this is redundant post, but I can't finallize installation Thanks

Eugeniusz-Gienek commented 1 year ago

I've got the same issue

tomlawesome commented 1 year ago

Yup, same.

I gather this has something to do with 'canonical paths'?

corsch commented 1 year ago

I have the same problem in Ubuntu 20.04

The issue is also there when running the throttled installer standalone.

go get -u github.com/throttled/throttled/v2

package github.com/throttled/throttled/v2: cannot find package "github.com/throttled/throttled/v2" in any of:
        /usr/src/github.com/throttled/throttled/v2 (from $GOROOT)
        /root/go/src/github.com/throttled/throttled/v2 (from $GOPATH)
suntong commented 9 months ago

Fixed now by https://github.com/h2non/imaginary/pull/353