Syntax Error in `lsdev` and `dmap` when determining `alias_template`?
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 https://github.com/45Drives/tools/commit/2cf11f8492e0a680c5e9f767e15de77fa63b59f6 and https://github.com/45Drives/tools/commit/e251c70df8a637ae6027d56ce20925f58e1f7d30.
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.