Closed justanotherfoundry closed 3 weeks ago
This is related to Hyperglot 0.6.4. After downgrading to Hyperglot 0.6.3, the crash does not happen any more. Btw, Hyperglot 0.6.4 also seems to cause further crashes, which I have not investigated any more.
Thanks for raising this so quickly! Looks like Hyperglot 0.6.4 was pushed out while I was sleeping. They made some changes to how the properties of their Language class are accessed, as well as the default values for the properties. I just pushed out a fix in 07107f9, which seems to work with both 0.6.3 and 0.6.4 now.
I also noticed TalkingLeaves wasn't notifying me that a new Hyperglot version was available, so I fixed that in a183765.
Also, FYI if you've noticed any performance issues, I have an update coming that refactors all the data processing into a separate module with some changes to improve performance, including truncating the Missing Chars column and using pandas to process all the language data faster.
Excellent. Thanks!
Seems like
lang.get('speakers', 0)
may beNone
(as an existing value, not because it does not exist).