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
1MoreTechGuy opened this issue Dec 24, 2024 · 1 comment
Open

Comments

@1MoreTechGuy
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.

@1MoreTechGuy
Copy link
Author

After working digging into this some more, it also appears that the there is a "rouge" package version in the repo. Looks like 3.10.0-1focal was created on accident in the 3.0.10 release. This is making apt think this is the latest version of this software. In reality, 3.0.14 is the latest. The person experiencing this problem was then on a older package without realizing it. The extra comma's may not actually be as big of an issue as not being able to install the latest version.

@1MoreTechGuy 1MoreTechGuy changed the title Syntax Error in lsdev and dmap when determining alias_template Syntax Error in lsdev and dmap when determining alias_template? Dec 28, 2024
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