Comments (7)
I cannot reproduce this error. Can you share the steps you went through to get this error? Are all go-mysql-server dependencies up to date in your vendor folder as well?
from go-mysql-server.
@erizocosmico I created an environment to reproduce.
from go-mysql-server.
It's because dep is getting the latest vitess version, which has missing things go-mysql-server needs. go-mysql-server uses go modules to manage dependencies, so using go modules should make the problem go away.
If by any reason you can not use go modules and are stuck with dep you should pin the vitess version to v3.0.0-rc.3.0
from go-mysql-server.
I see. Thank you.
from go-mysql-server.
@erizocosmico I know this issue is closed but maybe you can help me out. I'm using go mod
but I can't get this to work.
$ mkdir x && cd x
$ go mod init github.com/bombsimon/x
go: creating new go.mod: module github.com/bombsimon/x
$ go get github.com/src-d/go-mysql-server
go get: github.com/src-d/[email protected]: parsing go.mod:
module declares its path as: gopkg.in/src-d/go-mysql-server.v0
but was required as: github.com/src-d/go-mysql-server
# Explicit version
$ go get github.com/src-d/[email protected]
go: finding github.com/src-d v0.5.1
go: finding github.com v0.5.1
go get: github.com/src-d/[email protected]: parsing go.mod:
module declares its path as: gopkg.in/src-d/go-mysql-server.v0
but was required as: github.com/src-d/go-mysql-server
# Or older version
go get github.com/src-d/[email protected]
go: finding github.com/src-d v0.4.0
go: finding github.com v0.4.0
go get: github.com/src-d/[email protected]: parsing go.mod:
module declares its path as: gopkg.in/src-d/go-mysql-server.v0
but was required as: github.com/src-d/go-mysql-server
Above output is with go1.13, same issue with go1.12 (but another error message).
$ go1.12.10 get github.com/src-d/go-mysql-server
go: github.com/src-d/[email protected]: parsing go.mod: unexpected module path "gopkg.in/src-d/go-mysql-server.v0"
go: error loading module requirements
Seems to be working with other projects with go modules:
$ go get github.com/sirupsen/logrus
go: downloading golang.org/x/sys v0.0.0-20190422165155-953cdadca894
go: extracting golang.org/x/sys v0.0.0-20190422165155-953cdadca894
go: finding golang.org/x/sys v0.0.0-20190422165155-953cdadca894
$ cat go.mod
module github.com/bombsimon/x
go 1.13
require github.com/sirupsen/logrus v1.4.2 // indirect
Any advice?
from go-mysql-server.
@bombsimon oh, I see the last release is from before migrating from gopkg.in.
In this case, use:
go get github.com/src-d/go-mysql-server@ b09e8c1c8ab906a3a90cf76115c0a3fc5ee4470a
or any other commit hash to get a specific revision (that one is the master revision right now).
I just asked the maintainer for a new version so this problem goes away without resorting to pinning a specific commit.
from go-mysql-server.
@erizocosmico: Thank you so much! I've yet to fully understand some of those special cases regarding go mod
but that seems like an easy fix. :) Again, thanks!
from go-mysql-server.
Related Issues (20)
- LIKE fails when new lines are present HOT 4
- Failing test for connection handler in Linux HOT 1
- Races detected on running gitbase during the test
- Returned types do not fit the schema HOT 2
- upgrade vitess to latest version HOT 1
- Fix node integration tests
- show create table returns incorrect type for varchar
- 2 integration tests are not included in travis
- information_schema.columns data_type has uppercase values HOT 1
- Root opentracing span is not finished
- Async index creation is not working
- Support multiple EXPLODE calls in same SELECT
- Not enough arguments in call to mysql.NewAuthServerStatic HOT 2
- Type not supported: VARBINARY HOT 1
- how do i resolve this?
- adding stored procedure support
- Document major limitations HOT 2
- Archive src-d/go-mysql-server in favor of liquidata-inc/go-mysql-server HOT 7
- ERROR 1105 (HY000) at line 1: unknown error: expecting "EOF" but got 'V' instead 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 go-mysql-server.