usnistgov / nestor-tmp2

Quantifying tacit knowledge for investigatory analysis
Other
9 stars 5 forks source link

Index out of range error #58

Closed emhastings closed 5 years ago

emhastings commented 5 years ago

Program crashed with following error: Traceback (most recent call last): File "c:\users\ehast\anaconda3\lib\site-packages\nestor\ui\taggingUI_app.py", line 1961, in onClick_UpdateToSaveVocab self.savePercentage_whenUpdate() File "c:\users\ehast\anaconda3\lib\site-packages\nestor\ui\taggingUI_app.py", line 1891, in savePercentage_whenUpdate if percent1g >= self.savePercentage1gram[0]: IndexError: list index out of range

This happened with the excavator data first for word 76 (brake), and separately for 92 (access), but not when they are the first word tagged (i.e., when I go back to test the error does not happen again on that word, but somewhere else).

new error
rtbs-dev commented 5 years ago

I'll have to take a deeper look. @MichaelPBrundage this looks like the same issue that 1aa92a3 solved...thought the issue went away after that?

rtbs-dev commented 5 years ago

Should be fixed with 35b11c9 on master. Can you update and report back?

emhastings commented 5 years ago

I updated and it looks like it works now-- I'm at least not getting any errors when I try going from brake to access, which was the problem area before. Thanks!

rtbs-dev commented 5 years ago

Great! closing, feel free to comment if it happens again and I'll re-open.