williballenthin/python-registry — Issue #7: Error parsing large_data keys
Author: williballenthin
Created: 2011-10-19 22:59:25+00:00
State: open

xp $ python ~/projects/python-registry/samples/findkey.py NTUSER.DAT.copy0 "upx305w"
Traceback (most recent call last):
File "/home/willi/projects/python-registry/samples/findkey.py", line 24, in
rec(reg.root(), 0, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 17, in rec
rec(subkey, depth + 1, needle)
File "/home/willi/projects/python-registry/samples/findkey.py", line 11, in rec
if needle in str(value.value()):
File "/usr/local/lib/python2.7/dist-packages/Registry/Registry.py", line 139, in value
return self._vkrecord.data()
File "/usr/local/lib/python2.7/dist-packages/Registry/RegistryParse.py", line 697, in data
return db.large_data(data_length)
AttributeError: 'DataRecord' object has no attribute 'large_data'