3b1b / 3b1b/videos

Dropbox is not available error from manimgl

Ouverte
#121 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
11.2k
Forks
2.1k
Merge moyen
5 h 49 min
PR mergées (30 j)
3

Description

/opt/homebrew/lib/python3.11/site-packages/manimlib/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
ManimGL v1.7.2
2025-09-08 09:53:39.389 Python[21403:108083] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/nt/r1csrtlj4s94lh23fddlt69r0000gp/T/org.python.python.savedState
[09:53:39] WARNING No design with mode plain pi_creature.py:89
Traceback (most recent call last):
File "/opt/homebrew/bin/manimgl", line 7, in
sys.exit(main())
^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/__main__.py", line 61, in main
run_scenes()
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/__main__.py", line 39, in run_scenes
scene.run()
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/scene/scene.py", line 153, in run
self.setup()
File "/Users/grant/cs/videos/_2022/wordle/../../custom/characters/pi_creature_scene.py", line 264, in setup
super().setup()
File "/Users/grant/cs/videos/_2022/wordle/../../custom/characters/pi_creature_scene.py", line 49, in setup
self.pi_creatures = VGroup(*self.create_pi_creatures())
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/grant/cs/videos/_2022/wordle/../../custom/characters/pi_creature_scene.py", line 284, in create_pi_creatures
self.teacher = Mortimer(color=self.teacher_color)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/grant/cs/videos/_2022/wordle/../../custom/characters/pi_creature.py", line 311, in __init__
super().__init__(mode, color, flip_at_start=flip_at_start, **kwargs)
File "/Users/grant/cs/videos/_2022/wordle/../../custom/characters/pi_creature.py", line 64, in __init__
super().__init__(
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/mobject/svg/svg_mobject.py", line 71, in __init__
self.svg_string = self.file_name_to_svg_string(file_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/mobject/svg/svg_mobject.py", line 141, in file_name_to_svg_string
return Path(get_full_vector_image_path(file_name)).read_text()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/utils/images.py", line 25, in get_full_vector_image_path
return find_file(
^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/manimlib/utils/file_ops.py", line 57, in find_file
raise IOError(f"{file_name} not Found")
OSError: /Users/grant/3Blue1Brown Dropbox/3Blue1Brown/images/pi_creature/svg/plain.svg not Found

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

The error occurs when manimgl cannot find a Dropbox-hosted SVG file at a specific path. Start by examining the file lookup logic in manimlib/utils/file_ops.py and manimlib/utils/images.py. Understand how `get_full_vector_image_path` and `find_file` work. The issue likely involves a broken symlink or a missing Dropbox sync. Check the local Dropbox folder structure and see if the path can be configured or if the asset needs to be relocated.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.