Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #209

Open
godlovericea opened this issue Dec 10, 2024 · 2 comments
Open

compile error #209

godlovericea opened this issue Dec 10, 2024 · 2 comments

Comments

@godlovericea
Copy link

P|20241210-13:54:10.676612|----|-|metric|metric.go:101 Fail tag.New invalid value: only ASCII characters accepted; max length must be 255 characters

@godlovericea
Copy link
Author

when i run

go mod tidy

it panic with error:

Starting: C:\Users\Administrator\go\bin\dlv.exe dap --listen=127.0.0.1:61615 from d:\kerying_all\dev_keyring_gitee\kerying_dot
DAP server listening at: 127.0.0.1:61615
Type 'dlv help' for list of commands.
P|20241210-13:46:33.439629|----|-|metric|metric.go:101 Fail tag.New invalid value: only ASCII characters accepted; max length must be 255 characters
panic: (*logrus.Entry) 0xc0007c3b20

goroutine 1 [running]:
github.com/sirupsen/logrus.(*Entry).log(0xc0007c3ab0, 0x0, {0xc0000b43c0, 0x5d})
	C:/Users/Administrator/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:260 +0x395
github.com/sirupsen/logrus.(*Entry).Log(0xc0007c3ab0, 0x0, {0xc0007658e8, 0x1, 0x1})
	C:/Users/Administrator/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:304 +0x88
github.com/sirupsen/logrus.(*Entry).Logf(0xc0007c3ab0, 0x0, {0x42510e6, 0x10}, {0xc0007ba1e0, 0x1, 0x1})
	C:/Users/Administrator/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:349 +0x145
github.com/sirupsen/logrus.(*Logger).Logf(0xc0003d3900, 0x0, {0x42510e6, 0x10}, {0xc0007ba1e0, 0x1, 0x1})
	C:/Users/Administrator/go/pkg/mod/github.com/sirupsen/[email protected]/logger.go:154 +0x89
github.com/sirupsen/logrus.(*Logger).Panicf(0xc0003d3900, {0x42510e6, 0x10}, {0xc0007ba1e0, 0x1, 0x1})
	C:/Users/Administrator/go/pkg/mod/github.com/sirupsen/[email protected]/logger.go:195 +0x4c
github.com/icon-project/goloop/server/metric.GetMetricContext({0x46a8850, 0x534f220}, 0x52bc6b0, {0xc0007b07f0, 0x6})
	C:/Users/Administrator/go/pkg/mod/github.com/icon-project/[email protected]/server/metric/metric.go:101 +0x54a
github.com/icon-project/goloop/server/metric.init()
	C:/Users/Administrator/go/pkg/mod/github.com/icon-project/[email protected]/server/metric/metric.go:30 +0x1725
Process 23652 has exited with status 2
Detaching

@godlovericea
Copy link
Author

my go version is 1.23.2

P|20241210-14:17:37.749472|----|-|metric|metric.go:101 Fail tag.New invalid value: only ASCII characters accepted; max length must be 255 characters

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant