Dropbox is not available error from manimgl
- Ngôn ngữ chính
- Python
- Star
- 11.2k
- Fork
- 2.1k
- Merge trung bình
- 5 giờ 49 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
/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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Lỗi xảy ra khi manimgl không thể tìm thấy tệp SVG được lưu trữ trên Dropbox tại một đường dẫn cụ thể. Bắt đầu bằng cách kiểm tra logic tra cứu tệp trong manimlib/utils/file_ops.py và manimlib/utils/images.py. Hiểu cách `get_full_vector_image_path` và `find_file` hoạt động. Vấn đề có khả năng liên quan đến symlink bị hỏng hoặc sự đồng bộ Dropbox bị thiếu. Kiểm tra cấu trúc thư mục Dropbox cục bộ và xem đường dẫn có thể được cấu hình hoặc asset cần được di chuyển hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100