Comments (5)
Hi @jqueuniet,
Can you give your go version ? Maybe you don't use the vendoring
$ docker run -it --rm golang sh -c "go get -u github.com/online-net/c14-cli/cmd/c14 && c14; go version"
Usage: c14 [OPTIONS] COMMAND [arg...]
Interact with C14 from the command line.
Options:
-D, --debug Enable debug mode
-V, --verbose Enable verbose mode
Commands:
create Create a new archive
files List the files of an archive
freeze Lock an archive
help Help of the c14 command line
login Log in to Online API
ls Displays the archives
rename Rename an archive
remove Remove an archive
unfreeze Unlock an archive
upload Upload your file or directory into an archive
Run 'c14 COMMAND --help' for more information on a command.
go version go1.7.1 linux/amd64
from c14-cli.
Sorry, I should have mentionned this first :)
I'm not using vendoring, but the Debian package, which is of course way older on stable.
# go version
go version go1.3.3 linux/amd64
# dpkg -l | grep golang
ii golang 2:1.3.3-1 all Go programming language compiler - metapackage
ii golang-doc 2:1.3.3-1 all Go programming language compiler - documentation
ii golang-go 2:1.3.3-1 amd64 Go programming language compiler
ii golang-go-linux-amd64 2:1.3.3-1 amd64 Go standard library compiled for linux_amd64
ii golang-go.tools 0.0~hg20140703-4 amd64 supplementary Go tools
ii golang-src 2:1.3.3-1 amd64 Go programming language compiler - source files
The same for testing where everything works.
# go version
go version go1.6.3 linux/amd64
# dpkg -l | grep golang
ii golang-1.6-go 1.6.3-1 amd64 Go programming language compiler, linker, compiled stdlib
ii golang-1.6-src 1.6.3-1 amd64 Go programming language - source files
ii golang-go 2:1.6.1+1 amd64 Go programming language compiler, linker, compiled stdlib
ii golang-src 2:1.6.1+1 amd64 Go programming language - source files
So I should just upgrade my go version i guess. Do you have a formal minimum version for this tool?
from c14-cli.
You can install the 1.6
, this version support the vendoring by default without any extra.
from c14-cli.
Got 1.6 though backports and it solved the problem. If I may suggest, you should add this 1.6 prerequisite to the README, since the error message is not entirely obvious to figure out for people not familiar with go like me :)
from c14-cli.
Done e7c7c3c thank you @jqueuniet 😊
from c14-cli.
Related Issues (20)
- How to "Download" data back from C14 archive HOT 2
- Rate limiting? HOT 5
- mflag
- Ability to disable cryptography
- Add command to return safe deposit box connection details HOT 2
- Errors installing HOT 1
- ssh: must specify HostKeyCallback HOT 8
- Can't create archive in existing safe HOT 3
- c14 create picks wrong ssh key HOT 1
- Progress output should go to stderr, not stdout. HOT 3
- Can i create file hosting web? HOT 1
- Issue removing archive HOT 5
- Man in the middle vulnerability due to use of InsecureIgnoreHostKey
- silent output during upload
- Caching of Archives appears to be broken HOT 1
- Value for 'parity' on the command line 'c14 create' HOT 2
- When use 'c14 login' HOT 2
- Equivalent of the 4 operations in CLI HOT 2
- c14 ls only lists the first 50 archives
- c14-cli doesn't install HOT 1
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 c14-cli.