Comments (4)
It's weird to get this error as the CI that runs the test also has to download everything (automatically done by go test ./...
).
I would suggest to run the go test ./...
just to see the same error.
And potentially from the docs I did see
The -x flag causes download to print the commands download executes to standard error.
So potentially with that we may get more info.
If not I'll try to create a Docker image for Fedora and try to reproduce it.
from inframap.
Hi,
Test produced the same error
$ go test ./... go: github.com/hashicorp/[email protected] requires github.com/tencentcloud/[email protected]+incompatible: reading github.com/tencentcloud/tencentcloud-sdk-go/go.mod at revision v3.0.82: unknown revision v3.0.82
-x output
$ go mod download -x mkdir -p /home/casep/go/pkg/mod/cache/vcs # git3 https://github.com/tencentcloud/tencentcloud-sdk-go /# lock /home/casep/go/pkg/mod/cache/vcs/48d0913117235a203a131cd99c79e6a402648f1c5ef7f7cdf0b1fb88954acd33.lock/# /home/casep/go/pkg/mod/cache/vcs/48d0913117235a203a131cd99c79e6a402648f1c5ef7f7cdf0b1fb88954acd33 for git3 https://github.com/tencentcloud/tencentcloud-sdk-go cd /home/casep/go/pkg/mod/cache/vcs/48d0913117235a203a131cd99c79e6a402648f1c5ef7f7cdf0b1fb88954acd33; git tag -l 0.003s # cd /home/casep/go/pkg/mod/cache/vcs/48d0913117235a203a131cd99c79e6a402648f1c5ef7f7cdf0b1fb88954acd33; git tag -l cd /home/casep/go/pkg/mod/cache/vcs/48d0913117235a203a131cd99c79e6a402648f1c5ef7f7cdf0b1fb88954acd33; git ls-remote -q origin 0.441s # cd /home/casep/go/pkg/mod/cache/vcs/48d0913117235a203a131cd99c79e6a402648f1c5ef7f7cdf0b1fb88954acd33; git ls-remote -q origin go: github.com/hashicorp/[email protected] requires github.com/tencentcloud/[email protected]+incompatible: reading github.com/tencentcloud/tencentcloud-sdk-go/go.mod at revision v3.0.82: unknown revision v3.0.82
Cheers,
Carlos
from inframap.
Builds okay on a RockyLinux box
$ ./inframap version The current version is: v0.6.6-4-gda38573
So it could be Fedora related.
from inframap.
Ok I was able to reproduce the error with:
docker run --name fedora_bash --rm -i -t fedora:34 bash
And then installing latest version of GO and running https://github.com/cycloidio/inframap#development
Also tried
docker run --name debian_bash --rm -i -t debian:buster bash
And then installed latest version of Go and installed inframap but this time it worked.
So we can say that is related to Fedora.
Next I've checked the lib that is failing, IDK what it is and I don't speak the language so even worse haha.
But I did found this https://github.com/TencentCloud/tencentcloud-sdk-go/blob/master/doc.go
// Package doc
// go get -u github.com/tencentcloud/tencentcloud-sdk-go
// package github.com/tencentcloud/tencentcloud-sdk-go: no Go files in /Users/xxx/go/src/github.com/tencentcloud/tencentcloud-sdk-go
// FIXME: this is a workaround for above go get issue, a fake file does nothing but claims we are a go project.
// Eventually we need something useful here, such as real documentation, version and etc.
// To get the package of all products at once, the package of each product is added in the imports code as side-effects.
IDK if it could fix anything.
Also found hashicorp/terraform#29021 which is 100% the same issue, and also TencentCloud/tencentcloud-sdk-go#125 which is the one the guy opened too.
From this I get that it's an issue from the lib that broke compatibility with that.
One of the solutions purposed is to use replace
to have a fixed version, I'll try that and see if it works fine with Fedora 😄
from inframap.
Related Issues (20)
- Generating 3 resources icon in the graph where I have so many other resources for Azure Provider HOT 1
- No return code HOT 3
- Alicloud support HOT 1
- `brew install inframap` installs old version HOT 2
- Docs : requirements HOT 3
- Display of Amazon autoscaling groups
- Trouble in installing for Windows HOT 2
- Add The possibility to export TF Documentation HOT 1
- Support Terraform Workspaces HOT 6
- Export to mermaid HOT 1
- google_project_iam_policy not supported
- any chance of getting a multi-arch container including arm?
- Custom icons for modules
- Unsupported block type; Blocks of type "moved" are not expected here. HOT 1
- Add support for Equinix resources
- This project is not being kept current. Please update the readme. HOT 1
- Azure Resources HOT 2
- consider implementing a stdin source HOT 3
- Use more fitting names when displaying resources on graph
- 0.7.0 release is not completed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inframap.