influxdb-relay icon indicating copy to clipboard operation
influxdb-relay copied to clipboard

IInfluxdb-relay installation error: not enough arguments in call to models.ParsePointsWithPrecision

Open suvvenndu opened this issue 5 years ago • 4 comments

I am running following command to install influxdb-relay. sudo go get -u github.com/influxdata/influxdb-relay


gocode/src/github.com/influxdata/influxdb-relay/relay/http.go:169:48: not enough arguments in call to models.ParsePointsWithPrecision
        have ([]byte, time.Time, string)
        want ([]byte, []byte, time.Time, string)
gocode/src/github.com/influxdata/influxdb-relay/relay/udp.go:163:48: not enough arguments in call to models.ParsePointsWithPrecision
        have ([]byte, time.Time, string)
        want ([]byte, []byte, time.Time, string)
root@lx-05:~#  not enough arguments in call to models.ParsePointsWithPrecision

Is this due to a missing package or actual bug ?

suvvenndu avatar Apr 26 '19 02:04 suvvenndu

Me too,

go get -u github.com/influxdata/influxdb-relay

github.com/influxdata/influxdb-relay/relay

go/src/github.com/influxdata/influxdb-relay/relay/http.go:169: not enough arguments in call to models.ParsePointsWithPrecision have ([]byte, time.Time, string) want ([]byte, []byte, time.Time, string) go/src/github.com/influxdata/influxdb-relay/relay/udp.go:163: not enough arguments in call to models.ParsePointsWithPrecision have ([]byte, time.Time, string) want ([]byte, []byte, time.Time, string)

judeaugustinej avatar May 07 '19 06:05 judeaugustinej

Can you please try to check with https://github.com/vente-privee/influxdb-relay ?

rockyluke avatar May 07 '19 11:05 rockyluke

@rockyluke , Thanks so much. I tried with the branch you provided and it works fine now.

Any idea , what was the issue?

suvvenndu avatar May 16 '19 08:05 suvvenndu

The relay from influxdata is not maintained since more than 2 years. We decided to maintain our own.

rockyluke avatar May 22 '19 06:05 rockyluke