Skip to content

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

Description

@DazzleAce

I run it on pycharm with nothing changed.
but there is an error

File "D:\musicdemo\demo\import_data.py", line 48, in create_spectrogram
track_id = int(re.search('fma_small/.*/(.+?).mp3', f).group(1))
AttributeError: 'NoneType' object has no attribute 'group'

any idea to solve it?

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