You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The animation runs fine on the browser, but the captured snapshots are identical (same as the first frame) although they are captured for different points in time.
If position is set explicitly for each frame with works = True , then rendering works as intended.
Web console log / python logs
When works = False, I get the following message on each frame, which however doesn't stop execution:
[2024-03-11 19:03:57,965] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/k3d/headless.py", line 70, in generate
sync = (o[p] != self.synced_objects[o.id][p]).any()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/k3d/headless.py", line 73, in generate
sync = o[p].shape != self.synced_objects[o.id][p].shape
^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'shape'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/flask/app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/flask/app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/flask/app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/flask/app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/k3d/headless.py", line 75, in generate
sync = o[p] != self.synced_objects[o.id][p]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered:
What I Did
The animation runs fine on the browser, but the captured snapshots are identical (same as the first frame) although they are captured for different points in time.
If position is set explicitly for each frame with
works = True
, then rendering works as intended.Web console log / python logs
When
works = False
, I get the following message on each frame, which however doesn't stop execution:The text was updated successfully, but these errors were encountered: