#5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83)
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
Children
Comments
- 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : Grr! The reason for this issue was that I hadn't released rstgen to pypi after an "avalanche of changes caused by #4935 (bug with picture format in [ERROR list index out of range in '[upload]' at position 286-294] memo command)" in April.
- 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : Ah! I finally got the traceback:
(...) File "/usr/local/lino/lino_local/jane/env/lib/python3.9/site-packages/lino/modlib/memo/mixins.py", line 328, in parse_previews full = settings.SITE.plugins.memo.parser.parse( File "/usr/local/lino/lino_local/jane/env/lib/python3.9/site-packages/lino/modlib... - 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : I obviously did not yet find the right place to deactivate.
- 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : memo.Parser.eval_match_func() does NOT log such errors because this can potentially cause bloated log files. I will temporarily deactivate the NOT logging on Jane now.
- 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : But we have a collection of test cases for the "upload" memo command: docs/projects/cms1.rst
- 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : This error is shown instead of the expected image in Comment #12240 ([url jane.mylino.net/#/api/comments/CommentsByRFC/12240?mk=5088&;mt=36&rs=92657 url]).
- 2 years, 10 months ago by Luc Saffre about #5275 (ERROR 'tuple' object has no attribute 'context' in '[upload 56]' at position 72-83) : Created new Ticket Screenshot Screenshot_from_2023-11-29_06-03-10.png' at position 72-83)" style="text-decoration:none; white-space:nowrap;">#5275 (ERROR 'tuple' object has no attribute 'context' in 'Screenshot Screenshot_from_2023-11-29_06-03-10.png' at position 72-83).