Page 1 of 1

[SOLVED] WUA: Error string indices must be integers

Published: September 1, 2022 - 11:25 AM
by t.heroult
Good morning
I'm getting this error on a few machines during the scan.
Can you guide me?

Code: Select all

Ensure wuauserv Auto Update option is disabled
Scanning with windows updates rules:
{
 "direct_download": false,
 "default_allow": false,
 "include_potentially_superseded_updates": false,
 "filter": "Type='Software' or Type='Driver'",
 "download_scheduling": "5d",
 "install_scheduling": "12h",
 "install_delay": "2d",
 "postboot_delay": "10m"
}
   Connecting to local update searcher using offline wsusscn2 file...
   Offline Update searcher ready...
Looking for updates with filter: Type='Software' or Type='Driver'
Waiting for WUA search to complete
WUA Search completed !
Done searching
Updates scan done.
Writing status in local wapt DB
re-enabling wuauserv previous state: 0
string indices must be integers
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1894, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 692, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\enterprise.py", line 291, in _run
    self.result = wua.install_updates(self.force, uuids=self.uuids)
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1335, in install_updates
    self.scan_updates_status()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1024, in scan_updates_status
    if not u['HotFixID'] in dict_id_description:
TypeError: string indices must be integers

TypeError: string indices must be integers
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1894, in run
    self.running_task.run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 692, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\enterprise.py", line 291, in _run
    self.result = wua.install_updates(self.force, uuids=self.uuids)
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1335, in install_updates
    self.scan_updates_status()
  File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1024, in scan_updates_status
    if not u['HotFixID'] in dict_id_description:
TypeError: string indices must be integers
Sincerely,
Tom

Re: WUA: Error string indices must be integers

Published: September 1, 2022 - 5:40 PM
by sfonteneau
Hello,

you've encountered a WAPT bug that we've never seen before (it's strange, actually).

We've implemented an internal fix, and it will be corrected in future versions.

Re: WUA: Error string indices must be integers

Published: September 2, 2022 - 11:06 AM
by t.heroult
Great!

Thank you :)