-
Notifications
You must be signed in to change notification settings - Fork 22
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
Exception setting "_CPUAddressWidth": #99
Comments
The first error is a problem in LSUClient, I didn't account for LSUClient running on machines with more than 1 processor, but I totally should have, there's even dual-socket ThinkStations.' I can fix that soon in the next version, a workaround that should work in the meantime would be to manually set the target CPUAddressWidth you want to get drivers for: Get-LSUpdate -Model $model -All -MachineCharacteristicsOverride @{'_CPUAddressWidth' = 64} For the second error, I'm guessing the machine you ran this on just doesn't have internet access to https://download.lenovo.com/catalog ? You can get a little bit more information about the error like this: $Error.Clear()
Get-LSUpdate -Model $model -All -MachineCharacteristicsOverride @{'_CPUAddressWidth' = 64} -Verbose -Debug
$Error | Select-Object * | Format-List * if you post the full output of this, it should give a reason why it couldn't connect to the Lenovo site. |
The |
oops I just realized my fix didn't actually work as expected and this error still happens |
Version 1.6.2 is out now and includes this fix (for real this time) 😄 |
Version
1.6
Computer Model
20S7S02200
Problem
Import-Module .\LSUClient.psm1
$model = "20S7S02200"
Get-LSUpdate -Model $model -All
Throws this :
Exception setting "_CPUAddressWidth": "Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.UInt16"."
At \******\SCCMSTORE\MDM\Lenovo\Offline-Updater\LSUClient-master-1.60\LSUClient.psm1:353 char:13
WARNING: The repository 'https://download.lenovo.com/catalog' did not contain either a '20S7_Win10.xml' or 'database.xml' file to get packages from
No packages for computer model '20S7' could be retrieved from repository 'https://download.lenovo.com/catalog'
At \*********\SCCMSTORE\MDM\Lenovo\Offline-Updater\LSUClient-master-1.60\public\Get-LSUpdate.ps1:159 char:13
Additional context
No response
The text was updated successfully, but these errors were encountered: