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

Syntax Error in lsdev and dmap when determining alias_template #30

Open
ryant1911 opened this issue Dec 24, 2024 · 0 comments
Open

Syntax Error in lsdev and dmap when determining alias_template #30

ryant1911 opened this issue Dec 24, 2024 · 0 comments

Comments

@ryant1911
Copy link

While helping out a recent HL8 user on this 45HomeLab forum post, we noticed that HOMELAB and PROFESSIONAL sections under alias_template in lsdev appeared to end with an erroneous comma. This section appears to be parsing JSON and that shouldn't end a list like his with a comma. None of the other sections are coded this way. This appears to causing issues in the Houston UI Disks cockpit module with error Unknown Alias Style ‘HOMELAB’ encountered. coming from lsdev

alias_template = {
		"H16":{
			"AV15":[23],
			"Q30":[15,23],
			"S45":[15,15,23],
			"XL60":[15,15,15,23]
		},
		"H32":{
			"Q30":[15,32],
			"S45":[15,15,32],
			"XL60":[15,15,15,32]
		},
		"STORINATOR":{
			"AV15":[15],
			"Q30":[15,15],
			"S45":[15,15,15],
			"XL60":[15,15,15,15],
			"C8":[4,4],
			"MI4":[4],
			"HL15":[15]
		},
		"HOMELAB":{
			"HL15":[15],
			"HL4":[4],
			"HL8":[4,4],
		},
  		"PROFESSIONAL":{
			"PRO15":[15],
			"PRO4":[4],
			"PRO8":[4,4],
		},

Looks like dmap was also update with similar code that includes the extra comma. Commits include 2cf11f8 and e251c70.

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