torre76 / hardsub

Python script that handles video hard subbing
3 stars 0 forks source link

MagicException: no magic file loaded when detecting candidates at startup #14

Closed torre76 closed 11 years ago

torre76 commented 11 years ago

As stated on the subject, while using MKV files, hs won't start raising an exception.

In the screenshot below it is reported the exception and the file list on the original directory.

errore hs

gquadro commented 11 years ago

The error shows with the newest version of libmagic (5.15).

Python-magic needs to be updated with something similar to https://github.com/manizzle/python-magic/commit/c91f54f8e2618bbba55eb05327eb858d3b34d542

torre76 commented 11 years ago

New issue open on python-magic repository: python-magic #44 . The other one seems not accepted since it discourages error checks.

gquadro commented 11 years ago

See commit dd856eb6169bc962bc586722ddb14973902057dd