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

bug: release package cause error #10

Open
ronething opened this issue Jan 25, 2024 · 0 comments
Open

bug: release package cause error #10

ronething opened this issue Jan 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ronething
Copy link

M2 mac 下载 https://github.com/ishare20/lemonPush/releases/download/v1.0.5.2/lemon_push_cli_v1052_darwin_arm64 包之后部署,手机点击获取剪贴板之后报错。发现这些报错信息可能还涉及到作者机器上目录隐私问题?

2024-01-25 19:43:17   服务端已启动
2024/01/25 19:47:33 http: panic serving 192.168.0.109:52488: clipboard: cannot use when CGO_ENABLED=0
goroutine 34 [running]:
net/http.(*conn).serve.func1()
        D:/Program Files/Go/src/net/http/server.go:1854 +0xb0
panic({0x1031b9620, 0x10320f240})
        D:/Program Files/Go/src/runtime/panic.go:890 +0x258
golang.design/x/clipboard.read(...)
        C:/Users/xxxx/go/pkg/mod/golang.design/x/[email protected]/clipboard_nocgo.go:13
golang.design/x/clipboard.Read(0x1031ec660?)
        C:/Users/xxxx/go/pkg/mod/golang.design/x/[email protected]/clipboard.go:118 +0xa0
main.getClipboard({0x103212480, 0x1400041a000}, 0x14000178200)
        E:/code/xxxx/lemon_tools/lemon_push/desktop/src/main.go:152 +0xd4
net/http.HandlerFunc.ServeHTTP(0x14000125ad8?, {0x103212480?, 0x1400041a000?}, 0x10?)
        D:/Program Files/Go/src/net/http/server.go:2122 +0x38
net/http.(*ServeMux).ServeHTTP(0x0?, {0x103212480, 0x1400041a000}, 0x14000178200)
        D:/Program Files/Go/src/net/http/server.go:2500 +0x140
net/http.serverHandler.ServeHTTP({0x1400010d920?}, {0x103212480, 0x1400041a000}, 0x14000178200)
        D:/Program Files/Go/src/net/http/server.go:2936 +0x2d8
net/http.(*conn).serve(0x1400017e120, {0x1032126a8, 0x1400010d830})
        D:/Program Files/Go/src/net/http/server.go:1995 +0x560
created by net/http.(*Server).Serve
        D:/Program Files/Go/src/net/http/server.go:3089 +0x520
@ishare20 ishare20 self-assigned this Jan 30, 2024
@ishare20 ishare20 added the bug Something isn't working label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants