Skip to content

[Bug] TypeError("'None Type' object does not support item assignment") #75

@scorwin

Description

@scorwin

Steps to reproduce

  1. (How do you make the issue happen? Does it happen every time you try it?)

Using WhisperX with the large-v2 model, float16, and batch size 8 (all chosen for me by the software), I attempted to generate a VTT file of subtitles from an English-language .avi file.

  1. (Make sure to go into as much detail as needed to reproduce the issue.)
  2. (If there are any files, like any strings.xml, don't forget to include them.)

Expected behaviour

Perfection. Well, okay: a VTT output file.

(What did you expect to happen?)

Actual behaviour

After a few minutes, I got the error message in the title. There was no other output.

(What happened instead? How is it different from what you expected?)

(If the library threw an exception, paste the full stack trace here)

System information

(Delete all statements that don't apply.)

  • System: Windows 10 x64, Nvidia GPU with CUDA. ffmpeg is installed and on the system path.
  • System language: en-US
  • Audiotext version: 2.3.0

Code To Duplicate

Screenshot, Sketch, or Drawing

Optional. Feel free to provide an image if you think it adds more useful information to the issue.

You can use this tool to record GIFs on macOS and Windows, and this tool or this tool on Linux.

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