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

Running from task scheduler gives some errors about systray #26

Open
ffz774 opened this issue May 14, 2024 · 0 comments
Open

Running from task scheduler gives some errors about systray #26

ffz774 opened this issue May 14, 2024 · 0 comments

Comments

@ffz774
Copy link

ffz774 commented May 14, 2024

Running in PowerShell interactively everything works okay but when running from Task Scheduler and writing output to log file I'm getting some systray errors:

ERROR systray: systray_windows.go:769 Unable to init instance: Unspecified error [error=Unable to init instance: %v error_location=github.com/getlantern/systray.registerSystray (systray_windows.go:769
) error_op= error_text=Unable to init instance: Unspecified error error_type=errors.Error]
ERROR systray: systray_windows.go:769 at github.com/getlantern/systray.registerSystray (systray_windows.go:769)
ERROR systray: systray_windows.go:769 at github.com/getlantern/systray.Register (systray.go:106)
ERROR systray: systray_windows.go:769 at github.com/getlantern/systray.Run (systray.go:77)
ERROR systray: systray_windows.go:769 at runtime.goexit (asm_amd64.s:1650)
ERROR systray: systray_windows.go:769 Caused by: Unspecified error

I think this error occurs because powershell runs in non interactive mode.
Maybe it would be posible to add some parameter -silent or -non-interactive which would prevent these popup windows about backup status and there will be no ERRORS?

These errors don't have impact to it's main function and backups are done successfully but it would be nice to see no errors in Logs files :)

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