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

Missing Setting-icon.png #3

Closed
aymanbagabas opened this issue Apr 27, 2019 · 2 comments
Closed

Missing Setting-icon.png #3

aymanbagabas opened this issue Apr 27, 2019 · 2 comments

Comments

@aymanbagabas
Copy link

It's complaining about a missing icon. I'm on version 1.2.2

INFO: 2019/04/26 21:29:58 main.go:83: matebook-applet version custom-build
TRACE: 2019/04/26 21:29:58 main.go:194: Checking to see if Huawei-WMI driver interface is accessible
INFO: 2019/04/26 21:29:58 main.go:201: driver interface is readable
INFO: 2019/04/26 21:29:58 main.go:208: successful write to driver interface
INFO: 2019/04/26 21:29:58 main.go:86: will use driver interface
TRACE: 2019/04/26 21:29:58 main.go:102: Setting up menu...
ERROR: 2019/04/26 21:29:58 main.go:451: open /Settings-icon.png: file does not exist
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6400d4]

goroutine 19 [running]:
main.getIcon(0x6d7457, 0x12, 0x0, 0x0, 0x0)
	/home/ayman/.build/matebook-applet/main.go:453 +0xe4
main.onReady()
	/home/ayman/.build/matebook-applet/main.go:103 +0xa0
github.com/getlantern/systray.Run.func2(0xc0000dc0c0, 0x6ea418)
	/home/ayman/go/pkg/mod/github.com/getlantern/systray@v0.0.0-20190131073753-26d5b920200d/systray.go:67 +0x3e
created by github.com/getlantern/systray.Run
	/home/ayman/go/pkg/mod/github.com/getlantern/systray@v0.0.0-20190131073753-26d5b920200d/systray.go:65 +0xf0
@nekr0z
Copy link
Owner

nekr0z commented Apr 27, 2019

matebook-applet version custom-build

You're building it wrong.

You should either go configure before you go build (that's exactly to generate assets ;) or do go run build.go instead of both commands (as suggested in README).

Second option is preferred, as you also get version number in first INFO output line, which is useful (if only for debug).

@nekr0z nekr0z closed this as completed Apr 27, 2019
@aymanbagabas
Copy link
Author

matebook-applet version custom-build

You're building it wrong.

You should either go configure before you go build (that's exactly to generate assets ;) or do go run build.go instead of both commands (as suggested in README).

Second option is preferred, as you also get version number in first INFO output line, which is useful (if only for debug).

Got it! Thanks. I was using go build only.

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

2 participants