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
I keep getting Exception: There is no <bookmark mark='BookmarkName' /> with no obvious connection between when it happens.
Expected behavior
Bookmarks are properly picked up
How to reproduce the issue
I don't know why it happens sometimes but not other times.
Code for reproducing the problem
self.set_speech_service(GTTSService(lang="en", tld="com", transcription_model='base', global_speed=1.2))
withself.voiceover(text="""With <bookmark mark='A'/>this result, we can now go <bookmark mark='B'/>back and derive our formula for updating the kernel weights.""") astracker:
self.wait_until_bookmark("A")
self.play(Indicate(s1_text), Unwrite(s2_text), Unwrite(s3_text), Unwrite(s4_text))
self.wait_until_bookmark("B")
self.play(Write(new_weights), s1_text.animate.to_edge(UP).to_edge(RIGHT)), s1_text.animate.scale(0.5)
self.wait_for_voiceover()
doesn't work but
self.set_speech_service(GTTSService(lang="en", tld="com", transcription_model='base', global_speed=1.2))
withself.voiceover(text="""The kernel weights are updated, or trained, using the following formula<bookmark mark='A'/>, where <bookmark mark='B' />alpha is the learning rate hyperparameter and <bookmark mark='C'/>W is the kernel weight matrix.""") astracker:
self.play(Write(new_weights), run_time=tracker.time_until_bookmark("A"))
self.wait_until_bookmark("B")
self.play(Indicate(new_weights[0][7]))
self.wait_until_bookmark("C")
self.play(Indicate(new_weights[0][0:3]), Indicate(new_weights[0][4:6]))
I can confirm this issue and your analysis. If the text to be spoken is modified, the error does not occur. For me, it works, if I remove media/voiceovers/cache.json, no need to remove everything from the media directory.
Description of bug / unexpected behavior
I keep getting
Exception: There is no <bookmark mark='BookmarkName' />
with no obvious connection between when it happens.Expected behavior
Bookmarks are properly picked up
How to reproduce the issue
I don't know why it happens sometimes but not other times.
Code for reproducing the problem
doesn't work but
Does
Logs
Terminal output
Nothing useful/relevant in the debug log.
Here's the error traceback: https://pastebin.com/pUGT9LF2
System specifications
System Details
python/py/python3 --version
): 3.10.12pip list
): https://pastebin.com/0YZ0fC7mLaTeX details
FFMPEG
Output of
ffmpeg -version
:Additional comments
The text was updated successfully, but these errors were encountered: