Skip to content

'NoneType' object has no attribute 'group' #55

@harshtikuu

Description

@harshtikuu

The following issue raises when I try to load the sql dump file.

if 'TABLE' in line:
111 table_name = re.search("(\w+)", line)
--> 112 table.name = table_name.group(1)
113 if self.thesaurus_object is not None:
114 table.equivalences = self.thesaurus_object.get_synonyms_of_a_word(table.name)

AttributeError: 'NoneType' object has no attribute 'group'

Kindly suggest a fix to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions