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.66k stars 461 forks source link

Error with throttled package #401

Open Kanzll opened 2 years ago

Kanzll commented 2 years 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 2 years ago

I've got the same issue

tomlawesome commented 2 years ago

Yup, same.

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

corsch commented 2 years 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 1 year ago

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