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

protocolbuf过低不能工作 #25

Open
MangataL opened this issue Mar 22, 2022 · 0 comments
Open

protocolbuf过低不能工作 #25

MangataL opened this issue Mar 22, 2022 · 0 comments

Comments

@MangataL
Copy link

似乎是protocolbuf版本冲突导致的无法正常运行
本库引用的protobuf是1.3.x
我的项目引用了1.4.3版本的protobuf
在执行单元测试,运行sql语句时报错
错误信息如下:

field tipb.DAGRequest.time_zone_offset has invalid type: got int64, want pointer

另外在mac monterey 12.3上会有这个警告

github.com/shirou/gopsutil/host

smc_darwin.c:75:41: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
/Users/l601972633/.gvm/gos/go1.16.12/bin/go tool test2json -t /private/var/folders/v6/2wbxs6jd1clg4x8jvc03vtqc0000gn/T/GoLand/___git_code_oa_com_wod_csc_paas_core_cac_controller_internal_app_workqueue_database__TestQueue_Add.test -test.v -test.paniconexit0 -test.run ^\QTestQueue_Add\E$
2022-03-22 17:02:58.924819 I | WARNING: proto: file "backup.proto" is already registered
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict

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