Comments (9)
go version go1.14.1 darwin/amd64 and I still got this error.
from timeliner.
Also having this issue on 1.14.2.
from timeliner.
Sounds like a duplicate of #49
From your error message (thanks for sharing it) I see you're running quite old version of Go (1.10
). This project "requires" Go modules, which:
Go 1.11 and 1.12 include preliminary support for modules
Source: https://blog.golang.org/using-go-modules
Solution: update your Go version and try again?
from timeliner.
Paging dr. @mholt: people (incl. me) have had difficulties getting the binary built.
I understand it's not a small task to get pre-built binaries automatically distributed, but in the meantime could we add to Installation
section in README:
Minimum Go version:
from timeliner.
Sure. That's an easy solution.
from timeliner.
Hi guys,
I've updated my Go version:
$ go version
go version go1.13.4 linux/amd64
But I can't still get the error when trying to download the package:
$ go get github.com/mholt/timeliner/cmd/timeliner
package github.com/pierrec/lz4/v3: cannot find package "github.com/pierrec/lz4/v3" in any of:
/usr/lib/go-1.13/src/github.com/pierrec/lz4/v3 (from $GOROOT)
/home/ngirardin/go/src/github.com/pierrec/lz4/v3 (from $GOPATH)
I don't have any experience with Go but I would be happy to help you setup a Github Action pipeline to create a binary / docker image.
Best,
Nicolas
from timeliner.
You're right, it doesn't seem to work still with the $ go get
command. The #49 I linked to fixed it for me because I did it by cloning + running the build command manually and even that didn't work befor that #49 fix. This seems to work (I tested just now):
$ git clone https://github.com/mholt/timeliner.git
$ cd timeliner/cmd/timeliner
$ go build
(I ran this inside a container by running $ docker run --rm -it golang:1.13.5-stretch bash
)
Now there's a working binary in ./timeliner
There might be something different w.r.t. how Go handles the dependency (modules') fetching with go get
vs. go build
- dunno.
Setting up GitHub action pipeline to auto-build binaries sounds like a great idea - WDYT @mholt?
from timeliner.
Setting up GitHub action pipeline to auto-build binaries sounds like a great idea - WDYT @mholt?
Sure! ... how? 😅
You're right, it doesn't seem to work still with the
$ go get
command.
Ah... I forgot... so in Go 1.13, GO111MODULE is still "auto" by default, which in Go 1.13, means that you have to be in a folder (or subfolder) that has a go.mod file in order for modules to be enabled.
If you're installing the timeliner command, it's unlikely that that's the case. (But if you're in a Go project and you want to use timeliner as a library/dependency, then it probably is, but using timeliner as a library is not common...)
So simply do GO111MODULE=on go get ...
and it works. (I just tested it with a blank GOPATH.)
This won't be needed in Go 1.14 onwards, I'm pretty sure.
Merry Christmas!
from timeliner.
I am not really sure what is going on. Please read the above reply for the solution that is working for me. This should probably be taken up upstream in the lz4 repo instead: pierrec/lz4#62
Edit: Here's probably a more relevant issue in Go: golang/go#40276
from timeliner.
Related Issues (20)
- Go get install results in lz4 package error HOT 1
- can't install with install command HOT 3
- Error with go get github.com/mholt/timeliner/cmd/timeliner HOT 1
- Docker image HOT 1
- Can't add location data to items Google Photos Takeout archive HOT 2
- runtime error: invalid memory address or nil pointer dereference HOT 5
- Export to Drive HOT 1
- [help] use local oauth on remote VPS HOT 2
- Consider using modernc.org/sqlite
- Insecure login when adding Facebook account HOT 10
- Similarity to another repo: Timeline HOT 4
- Google reauth is needed after an hour HOT 6
- Change in Google Takeout format? HOT 6
- Interest in Docker image HOT 5
- Browsing Activity / History HOT 2
- Similarity to another repo: Perkeep HOT 5
- Cannot install on Windows HOT 1
- Google Photos Data Source not registered HOT 4
- Timeliner is winding down in favor of Timelinize
- Spotify play history
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 timeliner.