We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I pressed 'r' to record my voice and after that, when I want to continue and press a, the error happened.
It should save my voice and let me record next one
manim -pql recording.py --disable_caching then press 'a' Press... l to [l]isten to the recording r to [r]e-record a to [a]ccept the recording
manim -pql recording.py --disable_caching
/home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/stable_whisper/whisper_word_level.py:235: UserWarning: FP16 is not supported on CPU; using FP32 instead warnings.warn("FP16 is not supported on CPU; using FP32 instead") 0%| | 0/4.59 [00:00<?, ?sec/s] ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/manim/ │ │ cli/render/commands.py:115 in render │ │ │ │ 112 │ │ │ try: │ │ 113 │ │ │ │ with tempconfig({}): │ │ 114 │ │ │ │ │ scene = SceneClass() │ │ ❱ 115 │ │ │ │ │ scene.render() │ │ 116 │ │ │ except Exception: │ │ 117 │ │ │ │ error_console.print_exception() │ │ 118 │ │ │ │ sys.exit(1) │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/manim/ │ │ scene/scene.py:223 in render │ │ │ │ 220 │ │ """ │ │ 221 │ │ self.setup() │ │ 222 │ │ try: │ │ ❱ 223 │ │ │ self.construct() │ │ 224 │ │ except EndSceneEarlyException: │ │ 225 │ │ │ pass │ │ 226 │ │ except RerunSceneException as e: │ │ │ │ /home/semikernel/Documents/manim/gtts.py:13 in construct │ │ │ │ 10 │ │ circle = Circle() │ │ 11 │ │ square = Square().shift(2 * RIGHT) │ │ 12 │ │ │ │ ❱ 13 │ │ with self.voiceover(text="This circle is drawn as I speak.") as │ │ 14 │ │ │ self.play(Create(circle), run_time=tracker.duration) │ │ 15 │ │ │ │ 16 │ │ with self.voiceover(text="Let's shift it to the left 2 units.") │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/contextlib.py:137 in │ │ __enter__ │ │ │ │ 134 │ │ # they are only needed for recreation, which is not possible a │ │ 135 │ │ del self.args, self.kwds, self.func │ │ 136 │ │ try: │ │ ❱ 137 │ │ │ return next(self.gen) │ │ 138 │ │ except StopIteration: │ │ 139 │ │ │ raise RuntimeError("generator didn't yield") from None │ │ 140 │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/manim_ │ │ voiceover/voiceover_scene.py:186 in voiceover │ │ │ │ 183 │ │ │ │ 184 │ │ try: │ │ 185 │ │ │ if text is not None: │ │ ❱ 186 │ │ │ │ yield self.add_voiceover_text(text, **kwargs) │ │ 187 │ │ │ elif ssml is not None: │ │ 188 │ │ │ │ yield self.add_voiceover_ssml(ssml, **kwargs) │ │ 189 │ │ finally: │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/manim_ │ │ voiceover/voiceover_scene.py:69 in add_voiceover_text │ │ │ │ 66 │ │ │ │ "You need to call init_voiceover() before adding a voi │ │ 67 │ │ │ ) │ │ 68 │ │ │ │ ❱ 69 │ │ dict_ = self.speech_service._wrap_generate_from_text(text, **k │ │ 70 │ │ tracker = VoiceoverTracker(self, dict_, self.speech_service.ca │ │ 71 │ │ self.add_sound(str(Path(self.speech_service.cache_dir) / dict_ │ │ 72 │ │ self.current_tracker = tracker │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/manim_ │ │ voiceover/services/base.py:95 in _wrap_generate_from_text │ │ │ │ 92 │ │ │ │ 93 │ │ # Check whether word boundaries exist and if not run stt │ │ 94 │ │ if "word_boundaries" not in dict_ and self._whisper_model is n │ │ ❱ 95 │ │ │ transcription_result = self._whisper_model.transcribe( │ │ 96 │ │ │ │ str(Path(self.cache_dir) / original_audio), **self.tra │ │ 97 │ │ │ ) │ │ 98 │ │ │ logger.info("Transcription: " + transcription_result.text) │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/stable │ │ _whisper/whisper_word_level.py:492 in transcribe_stable │ │ │ │ 489 │ │ │ │ │ │ continue │ │ 490 │ │ │ │ │ ts_token_mask = pad_or_trim(ts_token_mask, 1501) │ │ 491 │ │ │ │ │ ❱ 492 │ │ │ detect_language() │ │ 493 │ │ │ decode_options["prompt"] = all_tokens[prompt_reset_since: │ │ 494 │ │ │ result: DecodingResult = decode_with_fallback(mel_segment │ │ 495 │ │ │ tokens = torch.tensor(result.tokens) │ │ │ │ /home/semikernel/anaconda3/envs/manimexp/lib/python3.11/site-packages/stable │ │ _whisper/whisper_word_level.py:305 in detect_language │ │ │ │ 302 │ │ │ │ │ │ print("Detecting language using up to 30 seco │ │ 303 │ │ │ │ │ │ │ "Use `--language` to specify the langua │ │ 304 │ │ │ │ │ timing_mask = np.logical_and( │ │ ❱ 305 │ │ │ │ │ │ segment_silence_timing[0] <= time_offset, │ │ 306 │ │ │ │ │ │ segment_silence_timing[1] >= time_offset │ │ 307 │ │ │ │ │ ) │ │ 308 │ │ │ │ │ start_sample = ( │ ╰──────────────────────────────────────────────────────────────────────────────╯ TypeError: 'NoneType' object is not subscriptable
python/py/python3 --version
pip list
Package Version ------------------------------ ------------ absl-py 2.1.0 aiohttp 3.9.1 aiosignal 1.3.1 annotated-types 0.6.0 anyascii 0.3.2 asttokens 2.4.1 attrs 23.2.0 audioread 3.0.1 azure-cognitiveservices-speech 1.34.1 Babel 2.14.0 bangla 0.0.2 blinker 1.7.0 blis 0.7.11 bnnumerizer 0.0.2 bnunicodenormalizer 0.1.6 Brotli 1.1.0 build 1.0.3 CacheControl 0.13.1 cachetools 5.3.2 catalogue 2.0.10 certifi 2023.11.17 cffi 1.16.0 charset-normalizer 3.3.2 cleo 2.1.0 click 8.1.7 click-default-group 1.2.4 cloudpathlib 0.16.0 cloup 2.1.2 cmake 3.28.1 colorama 0.4.6 confection 0.1.4 contourpy 1.2.0 coqpit 0.0.17 crashtest 0.4.1 cryptography 42.0.1 cycler 0.12.1 cymem 2.0.8 Cython 3.0.8 dateparser 1.1.8 decorator 5.1.1 distlib 0.3.8 docopt 0.6.2 dulwich 0.21.7 einops 0.7.0 encodec 0.1.1 evdev 1.6.1 executing 2.0.1 fastjsonschema 2.19.1 ffmpeg-python 0.2.0 filelock 3.13.1 Flask 3.0.1 fonttools 4.47.2 frozenlist 1.4.1 fsspec 2023.12.2 future 0.18.3 g2pkk 0.1.2 glcontext 2.5.0 google-auth 2.27.0 google-auth-oauthlib 1.2.0 grpcio 1.60.0 gruut 2.2.3 gruut-ipa 0.13.0 gruut_lang_de 2.0.0 gruut_lang_en 2.0.0 gruut_lang_es 2.0.0 gruut_lang_fr 2.0.2 gTTS 2.5.0 hangul-romanize 0.1.0 huggingface-hub 0.20.3 idna 3.6 importlib-metadata 7.0.1 inflect 7.0.0 installer 0.7.0 ipython 8.20.0 isosurfaces 0.1.0 itsdangerous 2.1.2 jamo 0.4.1 jaraco.classes 3.3.0 jedi 0.19.1 jeepney 0.8.0 jieba 0.42.1 Jinja2 3.1.3 joblib 1.3.2 jsonlines 1.2.0 keyring 24.3.0 kiwisolver 1.4.5 langcodes 3.3.0 lazy_loader 0.3 librosa 0.10.1 lit 17.0.6 llvmlite 0.41.1 manim 0.18.0 manim-voiceover 0.3.4.post1 ManimPango 0.5.0 mapbox-earcut 1.0.1 Markdown 3.5.2 markdown-it-py 3.0.0 MarkupSafe 2.1.4 matplotlib 3.8.2 matplotlib-inline 0.1.6 mdurl 0.1.2 moderngl 5.9.0 moderngl-window 2.4.1 more-itertools 10.2.0 mpmath 1.3.0 msgpack 1.0.7 multidict 6.0.4 multipledispatch 0.6.0 murmurhash 1.0.10 mutagen 1.47.0 networkx 2.8.8 nltk 3.8.1 num2words 0.5.13 numba 0.58.1 numpy 1.26.3 nvidia-cublas-cu11 11.10.3.66 nvidia-cublas-cu12 12.1.3.1 nvidia-cuda-cupti-cu11 11.7.101 nvidia-cuda-cupti-cu12 12.1.105 nvidia-cuda-nvrtc-cu11 11.7.99 nvidia-cuda-nvrtc-cu12 12.1.105 nvidia-cuda-runtime-cu11 11.7.99 nvidia-cuda-runtime-cu12 12.1.105 nvidia-cudnn-cu11 8.5.0.96 nvidia-cudnn-cu12 8.9.2.26 nvidia-cufft-cu11 10.9.0.58 nvidia-cufft-cu12 11.0.2.54 nvidia-curand-cu11 10.2.10.91 nvidia-curand-cu12 10.3.2.106 nvidia-cusolver-cu11 11.4.0.1 nvidia-cusolver-cu12 11.4.5.107 nvidia-cusparse-cu11 11.7.4.91 nvidia-cusparse-cu12 12.1.0.106 nvidia-nccl-cu11 2.14.3 nvidia-nccl-cu12 2.18.1 nvidia-nvjitlink-cu12 12.3.101 nvidia-nvtx-cu11 11.7.91 nvidia-nvtx-cu12 12.1.105 oauthlib 3.2.2 openai-whisper 20230314 packaging 23.2 pandas 1.5.3 parso 0.8.3 pexpect 4.9.0 Pillow 9.5.0 pip 23.3.2 pkginfo 1.9.6 platformdirs 3.11.0 poetry 1.7.1 poetry-core 1.8.1 poetry-plugin-export 1.6.0 pooch 1.8.0 preshed 3.0.9 prompt-toolkit 3.0.43 protobuf 4.23.4 psutil 5.9.8 ptyprocess 0.7.0 pure-eval 0.2.2 pyasn1 0.5.1 pyasn1-modules 0.3.0 PyAudio 0.2.14 pycairo 1.25.1 pycparser 2.21 pydantic 2.5.3 pydantic_core 2.14.6 pydub 0.25.1 pyglet 1.5.27 Pygments 2.17.2 pynndescent 0.5.11 pynput 1.7.6 pyparsing 3.1.1 pypinyin 0.50.0 pyproject_hooks 1.0.0 pyrr 0.10.3 pysbd 0.3.4 PySocks 1.7.1 python-crfsuite 0.9.10 python-dateutil 2.8.2 python-dotenv 0.21.1 python-slugify 8.0.2 python-xlib 0.33 pytz 2023.3.post1 PyYAML 6.0.1 rapidfuzz 3.6.1 regex 2023.12.25 requests 2.31.0 requests-oauthlib 1.3.1 requests-toolbelt 1.0.0 rich 13.7.0 rsa 4.9 safetensors 0.4.2 scikit-learn 1.4.0 scipy 1.12.0 screeninfo 0.8.1 SecretStorage 3.3.3 setuptools 69.0.3 shellingham 1.5.4 six 1.16.0 skia-pathops 0.8.0.post1 smart-open 6.4.0 soundfile 0.12.1 sox 1.4.1 soxr 0.3.7 spacy 3.7.2 spacy-legacy 3.0.12 spacy-loggers 1.0.5 srsly 2.4.8 srt 3.5.3 stable-ts 2.11.1 stack-data 0.6.3 SudachiDict-core 20240109 SudachiPy 0.6.8 svgelements 1.9.6 sympy 1.12 tensorboard 2.15.1 tensorboard-data-server 0.7.2 text-unidecode 1.3 thinc 8.2.2 threadpoolctl 3.2.0 tiktoken 0.3.1 tokenizers 0.15.1 tomli 2.0.1 tomlkit 0.12.3 torch 2.1.2 torchaudio 2.1.2 tqdm 4.66.1 trainer 0.0.36 traitlets 5.14.1 transformers 4.37.1 triton 2.1.0 trove-classifiers 2024.1.8 TTS 0.22.0 typer 0.9.0 typing_extensions 4.9.0 tzlocal 5.2 umap-learn 0.5.5 Unidecode 1.3.8 urllib3 2.1.0 virtualenv 20.25.0 wasabi 1.1.2 watchdog 2.3.1 wcwidth 0.2.13 weasel 0.3.4 Werkzeug 3.0.1 wheel 0.42.0 yarl 1.9.4 zipp 3.17.0
Output of ffmpeg -version:
ffmpeg -version
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 12.3.0 (conda-forge gcc 12.3.0-2) configuration: --prefix=/home/conda/feedstock_root/build_artifacts/ffmpeg_1696213708285/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac --cc=/home/conda/feedstock_root/build_artifacts/ffmpeg_1696213708285/_build_env/bin/x86_64-conda-linux-gnu-cc --cxx=/home/conda/feedstock_root/build_artifacts/ffmpeg_1696213708285/_build_env/bin/x86_64-conda-linux-gnu-c++ --nm=/home/conda/feedstock_root/build_artifacts/ffmpeg_1696213708285/_build_env/bin/x86_64-conda-linux-gnu-nm --ar=/home/conda/feedstock_root/build_artifacts/ffmpeg_1696213708285/_build_env/bin/x86_64-conda-linux-gnu-ar --disable-doc --disable-openssl --enable-demuxer=dash --enable-hardcoded-tables --enable-libfreetype --enable-libfontconfig --enable-libopenh264 --enable-libdav1d --enable-gnutls --enable-libmp3lame --enable-libvpx --enable-libass --enable-pthreads --enable-vaapi --enable-gpl --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-pic --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libopus --pkg-config=/home/conda/feedstock_root/build_artifacts/ffmpeg_1696213708285/_build_env/bin/pkg-config libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100
The text was updated successfully, but these errors were encountered:
osolmaz
No branches or pull requests
Description of bug / unexpected behavior
I pressed 'r' to record my voice and after that, when I want to continue and press a, the error happened.
Expected behavior
It should save my voice and let me record next one
How to reproduce the issue
manim -pql recording.py --disable_caching
then press 'a'
Press...
l to [l]isten to the recording
r to [r]e-record
a to [a]ccept the recording
Code for reproducing the problem
Additional media files
Images/GIFs
Logs
Terminal output
System specifications
System Details
python/py/python3 --version
):Python 3.11.7pip list
):LaTeX details
FFMPEG
Output of
ffmpeg -version
:Additional comments
The text was updated successfully, but these errors were encountered: