diagnostics¶
This module contains the following classes:
Diagnostics
, checking whether the setup ofaeneas
was successful.
This module can be executed from command line with:
python -m aeneas.diagnostics
New in version 1.4.1.
-
class
aeneas.diagnostics.
Diagnostics
[source]¶ Check whether the setup of
aeneas
was successful.-
classmethod
check_all
(tools=True, encoding=True, c_ext=True)[source]¶ Perform all checks.
Return a tuple of booleans
(errors, warnings, c_ext_warnings)
.Parameters: - tools (bool) – if
True
, check aeneas tools - encoding (bool) – if
True
, check shell encoding - c_ext (bool) – if
True
, check Python C extensions
Return type: (bool, bool, bool)
- tools (bool) – if
-
classmethod
check_cdtw
()[source]¶ Check whether Python C extension
cdtw
can be imported.Return
True
on failure andFalse
on success.Return type: bool
-
classmethod
check_cew
()[source]¶ Check whether Python C extension
cew
can be imported.Return
True
on failure andFalse
on success.Return type: bool
-
classmethod
check_cmfcc
()[source]¶ Check whether Python C extension
cmfcc
can be imported.Return
True
on failure andFalse
on success.Return type: bool
-
classmethod
check_espeak
()[source]¶ Check whether
espeak
can be called.Return
True
on failure andFalse
on success.Return type: bool
-
classmethod
check_ffmpeg
()[source]¶ Check whether
ffmpeg
can be called.Return
True
on failure andFalse
on success.Return type: bool
-
classmethod
check_ffprobe
()[source]¶ Check whether
ffprobe
can be called.Return
True
on failure andFalse
on success.Return type: bool
-
classmethod