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

TypeError: object if type 'filter' hs no len() in winregrc/sam.py #5

Open
justNik101 opened this issue Sep 14, 2017 · 1 comment
Open
Assignees

Comments

@justNik101
Copy link

I am running winregrc/sam.py file in python 3.5.4 windows.
Getting this error.
Traceback (most recent call last):
File "sam.py", line 113, in
class SecurityAccountManagerDataParser(object):
File "sam.py", line 289, in SecurityAccountManagerDataParser
yaml_definition=_DATA_TYPE_FABRIC_DEFINITION)
File "C:\Users\hp pc\AppData\Local\Programs\Python\Python35\lib\site-packages\dtfabric\runtime\fabric.py", line 26, in init
definitions_reader.ReadFileObject(definitions_registry, file_object)
File "C:\Users\hp pc\AppData\Local\Programs\Python\Python35\lib\site-packages\dtfabric\reader.py", line 857, in ReadFileObject
definitions_registry, yaml_definition)
File "C:\Users\hp pc\AppData\Local\Programs\Python\Python35\lib\site-packages\dtfabric\reader.py", line 778, in _ReadDefinition
return data_type_callback(definitions_registry, definition_values, name)
File "C:\Users\hp pc\AppData\Local\Programs\Python\Python35\lib\site-packages\dtfabric\reader.py", line 687, in _ReadStructureDataTypeDefinition
definition_name)
File "C:\Users\hp pc\AppData\Local\Programs\Python\Python35\lib\site-packages\dtfabric\reader.py", line 166, in _ReadDataTypeDefinitionWithMembers
definitions_registry, member, definition_object.name)
File "C:\Users\hp pc\AppData\Local\Programs\Python\Python35\lib\site-packages\dtfabric\reader.py", line 493, in _ReadMemberDataTypeDefinitionMember
if len(type_values) > 1:
TypeError: object of type 'filter' has no len()

@joachimmetz
Copy link
Member

This looks like an issue in dtfabric I'll have a look when time permits

@joachimmetz joachimmetz self-assigned this Sep 14, 2017
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