FreeLanguageTools / vocabsieve

Simple sentence mining tool for language learning
GNU General Public License v3.0
392 stars 30 forks source link

Strange definition #134

Closed Mycheze closed 10 months ago

Mycheze commented 10 months ago

Describe the bug A few times (not all the time, maybe 3 in total), some words have been coming up with the definition: "Lua error in Module:utilities at line 142: attempt to perform arithmetic on local 'h' (a nil value)." Not sure if this is a Vocabsieve thing or not, but thought I'd mention it.

To Reproduce Steps to reproduce the behavior:

  1. Set language to Czech
  2. Look up "veto" Potentially works for more words, but I didn't screencap them

Expected behavior A correct, real definition

Screenshots 2024-01-20_09-52

Logs Go to Help->View session logs, paste the log here. Be sure to redact out any sensitive information. The log can contain clipboard content. VocabSieve version: 0.11.0 Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] PyQt5 (Qt bindings) version: 5.15.2, Qt 5.15.9

2024-01-24 06:50:04.785 | DEBUG | vocabsieve.main:initSources:121 - Initializing sources 2024-01-24 06:50:04.785 | DEBUG | vocabsieve.main:initSources:125 - Source Group 1: ['Wiktionary (English)'] has been created. 2024-01-24 06:50:04.788 | DEBUG | vocabsieve.main:initSources:138 - Source Group 2 is disabled, emptying source widget. 2024-01-24 06:50:04.788 | DEBUG | vocabsieve.main:initTimers:810 - Initializing timers 2024-01-24 06:50:04.812 | DEBUG | vocabsieve.record:getKnownData:412 - No known data in this session. Creating known data from database.. 2024-01-24 06:50:04.896 | DEBUG | vocabsieve.record:_refreshKnownData:481 - Processed lookup data in 0.05 seconds 2024-01-24 06:50:05.018 | DEBUG | vocabsieve.record:_refreshKnownData:491 - Processed seen data in 0.12 seconds 2024-01-24 06:50:05.089 | DEBUG | vocabsieve.record:_refreshKnownData:514 - Received anki data from AnkiConnect in 0.07 seconds 2024-01-24 06:50:05.870 | DEBUG | vocabsieve.record:_refreshKnownData:540 - Processed anki data in 0.78 seconds 2024-01-24 06:51:14.523 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on protože 2024-01-24 06:51:18.628 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on chichotal 2024-01-24 06:51:20.515 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on chichotal 2024-01-24 06:51:23.747 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on hábitu 2024-01-24 06:51:27.378 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on hábitu 2024-01-24 06:51:28.386 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on hábitu 2024-01-24 06:51:30.824 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on klíště 2024-01-24 06:51:33.288 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on jeho 2024-01-24 06:51:35.229 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on zeptal 2024-01-24 06:51:42.481 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on obavami 2024-01-24 06:52:54.934 | INFO | vocabsieve.main:lookupSelected:614 - Triggered lookup on veto 2024-01-24 06:53:05.037 | DEBUG | vocabsieve.record:getKnownData:425 - Known data is 179.16 s old, which is newer than the specified lifetime of 1800 s. Not refreshing now.

Desktop (please complete the following information):

Additional context I've seen a similar issue where the definition is something like "This entry needs your help being added!" but I don't remember it exactly

1over137 commented 10 months ago

Someone mentioned this in the chat already; this is on wiktionary, not our bug

https://en.wiktionary.org/wiki/Module_talk:utilities#Line_142_breaking