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

Configuration Error Ubuntu 21.10 #125

Open
Opfour opened this issue Feb 16, 2023 · 1 comment
Open

Configuration Error Ubuntu 21.10 #125

Opfour opened this issue Feb 16, 2023 · 1 comment

Comments

@Opfour
Copy link

Opfour commented Feb 16, 2023

Hi,

Seen this on reddit and wanted to play with it. I installed it on my ubuntu 21.10 laptop using the command:

sudo wget https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-linux-amd64 -O /usr/local/bin/sampler
sudo chmod +x /usr/local/bin/sampler

Next I went to configure the yml file using the sampler -c config.yml command and got the following output:

root@merovingiantwo:/home/david/Downloads/sampler# sampler -c config.yml
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/sqshq/sampler/config.(*Config).setDefaultArrangement(0xc0000c66e0)
	/home/sqshq/go/src/github.com/sqshq/sampler/config/arrangement.go:14 +0x3e3
github.com/sqshq/sampler/config.(*Config).setDefaults(0xc0000c66e0)
	/home/sqshq/go/src/github.com/sqshq/sampler/config/default.go:16 +0x47
github.com/sqshq/sampler/config.LoadConfig(0x7f822c492d98, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/sqshq/go/src/github.com/sqshq/sampler/config/config.go:43 +0xaf
main.main()
	/home/sqshq/go/src/github.com/sqshq/sampler/main.go:69 +0x37
root@merovingiantwo:/home/david/Downloads/sampler# 

Thoughts?

@spinus
Copy link

spinus commented Jul 4, 2023

@Opfour Do you use some example config?

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