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

Fix issue with appcompatcache.py #7

Open
joachimmetz opened this issue Nov 13, 2017 · 2 comments
Open

Fix issue with appcompatcache.py #7

joachimmetz opened this issue Nov 13, 2017 · 2 comments
Assignees
Labels

Comments

@joachimmetz
Copy link
Member

Traceback (most recent call last):
  File "winreg-kb/scripts/appcompatcache.py", line 98, in <module>
    if not Main():
  File "winreg-kb/scripts/appcompatcache.py", line 88, in Main
    all_control_sets=options.all_control_sets)
  File "winreg-kb/winregrc/appcompatcache.py", line 1152, in Collect
    app_compat_cache_key, output_writer):
  File "winreg-kb/winregrc/appcompatcache.py", line 1082, in _CollectAppCompatCacheFromKey
    cached_entry_size)
  File "winreg-kb/winregrc/appcompatcache.py", line 976, in ParseCachedEntry
    data_offset = cached_entry.data_offset
AttributeError: 'appcompatcache_cached_entry_7_64bit' object has no attribute 'data_offset'
@joachimmetz
Copy link
Member Author

data_size and data_offset missing from appcompatcache_cached_entry_7_64bit

@joachimmetz joachimmetz self-assigned this Nov 13, 2017
@joachimmetz
Copy link
Member Author

Also address

Traceback (most recent call last):
  File "winreg-kb/scripts/appcompatcache.py", line 98, in <module>
    if not Main():
  File "winreg-kb/scripts/appcompatcache.py", line 88, in Main
    all_control_sets=options.all_control_sets)
  File "winreg-kb/winregrc/appcompatcache.py", line 1156, in Collect
    app_compat_cache_key, output_writer):
  File "winreg-kb/winregrc/appcompatcache.py", line 1088, in _CollectAppCompatCacheFromKey
    output_writer.WriteCachedEntry(cached_entry)
  File "winreg-kb/scripts/appcompatcache.py", line 27, in WriteCachedEntry
    print('Type\t\t\t: {0:s}'.format(service_type_description))
NameError: global name 'service_type_description' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant