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'm getting this error while using Argos Translate GUI which seems to be coming from Stanza:
Traceback (most recent call last):
File "/home/pj/git/argos-translate/env/lib/python3.10/site-packages/argostranslategui/gui.py", line 39, in run
translated_text = self.translation_function()
File "/home/pj/git/argos-translate/argostranslate/translate.py", line 63, in translate
return self.hypotheses(input_text, num_hypotheses=1)[0].value
File "/home/pj/git/argos-translate/argostranslate/translate.py", line 296, in hypotheses
translated_paragraph = self.underlying.hypotheses(
File "/home/pj/git/argos-translate/argostranslate/translate.py", line 173, in hypotheses
apply_packaged_translation(
File "/home/pj/git/argos-translate/argostranslate/translate.py", line 425, in apply_packaged_translation
stanza_sbd = stanza_pipeline(input_text)
File "/home/pj/git/argos-translate/env/lib/python3.10/site-packages/stanza/pipeline/core.py", line 166, in __call__
doc = self.process(doc)
File "/home/pj/git/argos-translate/env/lib/python3.10/site-packages/stanza/pipeline/core.py", line 160, in process
doc = self.processors[processor_name].process(doc)
File "/home/pj/git/argos-translate/env/lib/python3.10/site-packages/stanza/pipeline/tokenize_processor.py", line 85, in process
_, _, _, document = output_predictions(None, self.trainer, batches, self.vocab, None,
File "/home/pj/git/argos-translate/env/lib/python3.10/site-packages/stanza/models/tokenize/utils.py", line 163, in output_predictions
st0 = text.index(part, char_offset) - char_offset
ValueError: substring not found
Aborted (core dumped)
Steps to reproduce
Argos Translate 1.9.1
Repeatedly uninstall packages by clicking on the trash can icon in Argos Translate GUI > Manage Packages
After 5-10 deletes Argos Translate crashes
The text was updated successfully, but these errors were encountered:
I'm getting this error while using Argos Translate GUI which seems to be coming from Stanza:
Steps to reproduce
The text was updated successfully, but these errors were encountered: