GithubHelp home page GithubHelp logo

moeoverflow / mach3-cli Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 2.93 MB

Recursively parse, index and search subtitle text.

Home Page: https://pypi.org/project/mach3/

License: MIT License

Python 100.00%
subtitle-text ass-files parsing

mach3-cli's Issues

This .ass file breaks it.

I have no idea now...

Traceback (most recent call last):
File "/usr/local/bin/mach3", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/mach3/cli.py", line 21, in main
parse_result = recursive_index(dir_query)
File "/usr/local/lib/python3.6/site-packages/mach3/subtitle_parse.py", line 39, in recursive_index
all_dialogues.append(get_dialogues(file))
File "/usr/local/lib/python3.6/site-packages/mach3/subtitle_parse.py", line 28, in get_dialogues
doc = ass.parse(rawFile)
File "/usr/local/lib/python3.6/site-packages/ass/document.py", line 290, in parse_file
for i, line in enumerate(f):
File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

To Aru Kagaku no Railgun S[15].ass.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.