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

AttributeError: 'LIRecord' object has no attribute 'subkey_count' #14

Closed
veevelder opened this issue May 15, 2019 · 3 comments
Closed

Comments

@veevelder
Copy link

In the registry.py file on line 114 I receved the following exception when processing a userclass.dat registry file.

Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\site-packages\regipy\registry.py" line 199, in dump_hive_to_json
    for entry in tqdm(self.recurse_subkeys(name_key_entry, as_json=True), disable=not verbose)
  File "C:\Program Files\Python37\lib\site-packages\tqdm\_tqdm.py" line 1022, in __iter__
    for obj in iterable:
  File "C:\Program Files\Python37\lib\site-packages\regipy\registry.py" line 119, in recurse_subkeys
    yield from self.recurse_subkeys(nk_record=subkey, path=r'\{}'.format(subkey.name), as_json=as_json)
  File "C:\Program Files\Python37\lib\site-packages\regipy\registry.py" line 117, in recurse_subkeys
    as_json=as_json)
  File "C:\Program Files\Python37\lib\site-packages\regipy\registry.py" line 114, in recurse_subkeys
    if subkey.subkey_count:
AttributeError: 'LIRecord' object has no attribute 'subkey_count'
@mkorman90
Copy link
Owner

Are you using the latest version from pypi? (1.1.4) because it was fixed already

@mkorman90
Copy link
Owner

did you have a chance to verify? :)

@veevelder
Copy link
Author

sorry about the wait, but yes I did get the chance and you are correct, I just happened to get the version from github instead of pypi. Thanks.

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

2 participants