Skip to content
New issue

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

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

Already on GitHub? # to your account

getting issue with the icon #154

Open
rajkumarks7 opened this issue Jun 10, 2020 · 4 comments
Open

getting issue with the icon #154

rajkumarks7 opened this issue Jun 10, 2020 · 4 comments

Comments

@rajkumarks7
Copy link

ERROR systray: systray_windows.go:795 Unable to set icon: Unspecified error [error=Unable to set icon: %v error_location=github.com/getlantern/systray.SetIcon (systray_windows.go:795) error_op= error_text=Unable to set icon: Unspecified error error_type=errors.Error]
ERROR systray: systray_windows.go:795 at github.com/getlantern/systray.SetIcon (systray_windows.go:795)
ERROR systray: systray_windows.go:795 at main.onReady (main.go:100)
ERROR systray: systray_windows.go:795 at github.com/getlantern/systray.Register.func2 (systray.go:89)
ERROR systray: systray_windows.go:795 at runtime.goexit (asm_amd64.s:1373)
ERROR systray: systray_windows.go:795 Caused by: Unspecified error
ERROR systray: systray_windows.go:861 Unable to addOrUpdateMenuItem: Invalid menu handle. [error=Unable to addOrUpdateMenuItem: %v error_location=github.com/getlantern/systray.addOrUpdateMenuItem (systray_windows.go:861) error_op= error_text=Unable to addOrUpdateMenuItem: Invalid menu handle. error_type=errors.Error]
ERROR systray: systray_windows.go:861 at github.com/getlantern/systray.addOrUpdateMenuItem (systray_windows.go:861)
ERROR systray: systray_windows.go:861 at github.com/getlantern/systray.(*MenuItem).update (systray.go:192)
ERROR systray: systray_windows.go:861 at github.com/getlantern/systray.AddMenuItem (systray.go:114)
ERROR systray: systray_windows.go:861 at main.onReady (main.go:102)
ERROR systray: systray_windows.go:861 at github.com/getlantern/systray.Register.func2 (systray.go:89)
ERROR systray: systray_windows.go:861 at runtime.goexit (asm_amd64.s:1373)
ERROR systray: systray_windows.go:861 Caused by: Invalid menu handle.

@rajkumarks7
Copy link
Author

the program is running without any problem sometimes and sometimes i am getting error after building the program

@psidex
Copy link

psidex commented Jun 16, 2020

Looks like it's related to #148?

@gozeon
Copy link

gozeon commented Jul 4, 2022

@ZGGSONG
Copy link

ZGGSONG commented Aug 8, 2022

Bytes converted using .ico on windows, both .png and. ico can work on macos

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

No branches or pull requests

4 participants