omriharel / deej

Set app volumes with real sliders! deej is an Arduino & Go project to let you build your own hardware mixer for Windows and Linux

Home Page:https://deej.rocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to initialize deej

Mitchell-Nicholson opened this issue · comments

Deej stopped working when I unplugged it from my computer. I plugged it back in, and restarted deej, but still didn't work. Then I tried to reupload the code to the arduino and restart deej, but still didn't work. not even deleting deej and completely reinstalling it worked.

This is the message in the logs folder

2022-04-21 13:56:54.204 info main Version info {"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"} 2022-04-21 13:56:54.209 warn deej.config Viper failed to read user config {"error": "While parsing config: yaml: line 14: could not find expected ':'"} 2022-04-21 13:56:54.209 info deej.notifier Sending toast notification {"title": "Invalid configuration!", "message": "Please make sure config.yaml is in a valid YAML format."} 2022-04-21 13:56:54.555 error deej Failed to load config during initialization {"error": "read user config: While parsing config: yaml: line 14: could not find expected ':'"} github.com/omriharel/deej.(*Deej).Initialize D:/Projects/go/src/github.com/omriharel/deej/deej.go:91 main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:63 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:56:54.555 fatal main Failed to initialize deej {"error": "load config during init: read user config: While parsing config: yaml: line 14: could not find expected ':'"} main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:64 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:04.416 info main Version info {"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"} 2022-04-21 13:57:04.417 warn deej.config Viper failed to read user config {"error": "While parsing config: yaml: line 14: could not find expected ':'"} 2022-04-21 13:57:04.417 info deej.notifier Sending toast notification {"title": "Invalid configuration!", "message": "Please make sure config.yaml is in a valid YAML format."} 2022-04-21 13:57:04.756 error deej Failed to load config during initialization {"error": "read user config: While parsing config: yaml: line 14: could not find expected ':'"} github.com/omriharel/deej.(*Deej).Initialize D:/Projects/go/src/github.com/omriharel/deej/deej.go:91 main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:63 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:04.756 fatal main Failed to initialize deej {"error": "load config during init: read user config: While parsing config: yaml: line 14: could not find expected ':'"} main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:64 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:21.986 info main Version info {"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"} 2022-04-21 13:57:21.987 warn deej.config Viper failed to read user config {"error": "While parsing config: yaml: line 14: could not find expected ':'"} 2022-04-21 13:57:21.987 info deej.notifier Sending toast notification {"title": "Invalid configuration!", "message": "Please make sure config.yaml is in a valid YAML format."} 2022-04-21 13:57:22.333 error deej Failed to load config during initialization {"error": "read user config: While parsing config: yaml: line 14: could not find expected ':'"} github.com/omriharel/deej.(*Deej).Initialize D:/Projects/go/src/github.com/omriharel/deej/deej.go:91 main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:63 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:22.333 fatal main Failed to initialize deej {"error": "load config during init: read user config: While parsing config: yaml: line 14: could not find expected ':'"} main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:64 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:26.903 info main Version info {"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"} 2022-04-21 13:57:26.904 warn deej.config Viper failed to read user config {"error": "While parsing config: yaml: line 14: could not find expected ':'"} 2022-04-21 13:57:26.904 info deej.notifier Sending toast notification {"title": "Invalid configuration!", "message": "Please make sure config.yaml is in a valid YAML format."} 2022-04-21 13:57:27.257 error deej Failed to load config during initialization {"error": "read user config: While parsing config: yaml: line 14: could not find expected ':'"} github.com/omriharel/deej.(*Deej).Initialize D:/Projects/go/src/github.com/omriharel/deej/deej.go:91 main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:63 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:27.257 fatal main Failed to initialize deej {"error": "load config during init: read user config: While parsing config: yaml: line 14: could not find expected ':'"} main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:64 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:40.065 info main Version info {"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"} 2022-04-21 13:57:40.066 warn deej.config Viper failed to read user config {"error": "While parsing config: yaml: line 14: could not find expected ':'"} 2022-04-21 13:57:40.066 info deej.notifier Sending toast notification {"title": "Invalid configuration!", "message": "Please make sure config.yaml is in a valid YAML format."} 2022-04-21 13:57:40.414 error deej Failed to load config during initialization {"error": "read user config: While parsing config: yaml: line 14: could not find expected ':'"} github.com/omriharel/deej.(*Deej).Initialize D:/Projects/go/src/github.com/omriharel/deej/deej.go:91 main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:63 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:57:40.415 fatal main Failed to initialize deej {"error": "load config during init: read user config: While parsing config: yaml: line 14: could not find expected ':'"} main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:64 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:58:21.740 info main Version info {"gitCommit": "7567f83", "versionTag": "v0.9.10", "buildType": "release"} 2022-04-21 13:58:21.741 warn deej.config Viper failed to read user config {"error": "While parsing config: yaml: line 14: could not find expected ':'"} 2022-04-21 13:58:21.741 info deej.notifier Sending toast notification {"title": "Invalid configuration!", "message": "Please make sure config.yaml is in a valid YAML format."} 2022-04-21 13:58:22.079 error deej Failed to load config during initialization {"error": "read user config: While parsing config: yaml: line 14: could not find expected ':'"} github.com/omriharel/deej.(*Deej).Initialize D:/Projects/go/src/github.com/omriharel/deej/deej.go:91 main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:63 runtime.main c:/go/src/runtime/proc.go:203 2022-04-21 13:58:22.079 fatal main Failed to initialize deej {"error": "load config during init: read user config: While parsing config: yaml: line 14: could not find expected ':'"} main.main D:/Projects/go/src/github.com/omriharel/deej/cmd/main.go:64 runtime.main c:/go/src/runtime/proc.go:203

Hi there @Mitchell-Nicholson, thanks for writing.

The error log you've attached points to a malformed config file, probably due to a recent edit that you made to it. Please check out this section in our FAQ for additional details on how to verify that your config file is valid and how to spot any errors.

Hi again @Mitchell-Nicholson - closing this due to inactivity, but feel free to let me know if you managed to resolve or need further guidance. Thanks!