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

ValueError: Failed to detect comment file format: #7

Open
specked2527 opened this issue Jun 26, 2024 · 0 comments
Open

ValueError: Failed to detect comment file format: #7

specked2527 opened this issue Jun 26, 2024 · 0 comments

Comments

@specked2527
Copy link

 > py danmaku2ass.py ./

Traceback (most recent call last):
  File "danmaku2ass.py", line 857, in <module>
    main()
  File "danmaku2ass.py", line 851, in main
    Danmaku2ASS(args.file, args.format, args.file[0][:-4] + '.ass', width, height, args.protect, args.font, args.fontsize, args.alpha, args.duration_marquee, args.duration_still, args.filter, args.filter_file, args.reduce)
  File "danmaku2ass.py", line 754, in Danmaku2ASS
    comments = ReadComments(input_files, input_format, font_size)
  File "danmaku2ass.py", line 784, in ReadComments
    raise ValueError(
ValueError: Failed to detect comment file format: ./\录制-20240605-213731-712-进来.xml

>PS Z:\bc\> py danmaku2ass.py Z:\bc\

Traceback (most recent call last):
  File "danmaku2ass.py", line 857, in <module>
    main()
  File "danmaku2ass.py", line 851, in main
    Danmaku2ASS(args.file, args.format, args.file[0][:-4] + '.ass', width, height, args.protect, args.font, args.fontsize, args.alpha, args.duration_marquee, args.duration_still, args.filter, args.filter_file, args.reduce)
  File "danmaku2ass.py", line 754, in Danmaku2ASS
    comments = ReadComments(input_files, input_format, font_size)
  File "danmaku2ass.py", line 784, in ReadComments
    raise ValueError(
ValueError: Failed to detect comment file format: -20240604-210321-104-进来.xml
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

1 participant