Skip to content

snify crashes on a i #91

@kohlhase

Description

@kohlhase

I get


 | File 6/6        | lang: en   | Annotations added: 27     |
                              /Users/kohlhase/localmh/MathHub/courses/FAU/IWGS/problems/source/databases/quiz/XML_01.en.tex                              
  10   \usemodule[smglom/www]{mod?html}
  11   % 
  12   What is the main purpose of \sn{XML}?
  13   \begin{mcb}
  14     \mcc[F, feedback={This is the job of \sn{HTML}.}]{To design \sns{web page} using \sns{tag}}
  15     \mcc[T, feedback={\sn{XML} is human and \sr{computer}{machine} readable.}]{To define structured \sn{data} in a \sr{human-readable}{human readable} \sr{markup format}{format}}
  16     \mcc[F, feedback={This is done via \sn{SQL} not \sn{XML}.}]{To execute SQL over the internet}
  17     \mcc[T, feedback={\sn{XML} is user and machine readable.}]{To define structured data in a machine readable format}  
  18     \mcc[F, feedback={\sn{XML} has nothing to do with security.}]{To validate user credentials}    
  19   \end{mcb}
  20 \end{sproblem}
  21 \end{document}
  22 

Commands:   enter h (help) to see all available commands
  [h]elp
  [q]uit
  [0] ✗ JLogic/smglol/BGB struct?notar-struct/notar-struct-module?Not
  [s]kip once
>>> i
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/stextools/__main__.py", line 139, in <module>
    cli()
    ~~~^^
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/.venv/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/.venv/lib/python3.13/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/.venv/lib/python3.13/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/.venv/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/.venv/lib/python3.13/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/stextools/__main__.py", line 106, in snify_actual
    snify(files, filter, ignore, focus, lang)
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/stextools/snify/controller.py", line 249, in snify
    unfinished = controller.run()
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/stextools/stepper/base_controller.py", line 125, in run
    modification = self.handle_custom_outcome(outcome)
  File "/Users/kohlhase/vc/git/github.com/sLaTeX/stextools/stextools/stepper/base_controller.py", line 139, in handle_custom_outcome
    raise ValueError(f'Unknown outcome: {outcome}')
ValueError: Unknown outcome: IgnoreWordOutcome(lang='en', word='not')
kohlhase@faui8-pool2 quizzes % 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions