Skip to content

Attribute error on selection of a tutorial while asking a question #23

@firuza

Description

@firuza

Dear Team,

URL: http://IP:PORT/new-question/

While asking a new question, I am able to select the FOSS category. As soon as I select a tutorial from the dropdown, I get the following error on the terminal.

File "/.../spoken-tutorial-forum/website/views.py", line 422, in ajax_duration
video_info = get_video_info(video_path)
File "/.../spoken-tutorial-forum/website/helpers.py", line 14, in get_video_info
duration_m = re.search(r"Duration:\s{1}(?P\d+?):(?P\d+?):(?P\d+.\d+?)", stdout.decode("UTF-8"), re.DOTALL).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions