LuteOrg / lute-v3

LUTE = Learning Using Texts: learn languages through reading.
https://luteorg.github.io/lute-manual/
MIT License
492 stars 46 forks source link

term popup error #474

Closed jzohrab closed 2 months ago

jzohrab commented 2 months ago

from discord: "sometimes I will create a term and when I hover over it, there is no popup and I get this error message in PowerShell"

  File "C:\Users\Key\Documents\Lute3\envlute\Lib\site-packages\lute\read\service.py", line 126, in sort_components
    index = min([loc["index"] for loc in locs])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: min() iterable argument is empty
jzohrab commented 2 months ago

Fixed in develop.

jzohrab commented 2 months ago

Launched in 3.5.3, should be fixed now.