cdfarrow / flextools

Python scripting utility for SIL FieldWorks Language Explorer (FLEx)
Other
15 stars 5 forks source link

CRITICAL! Example modules no longer work when using Flex 9.1.9 #14

Closed rmlockwood closed 2 years ago

rmlockwood commented 2 years ago

From some emails I've seen, icu.net got upgraded to version 2.8.0.158

Here's output from a colleague: Traceback (most recent call last): File "C:\Users\Colleague\Documents\FLExTrans Work\FlexTools2.0 Exercise\FlexTools\FLExTools.py", line 584, in main() File "C:\Users\Colleague\Documents\FLExTrans Work\FlexTools2.0 Exercise\FlexTools\FLExTools.py", line 574, in main FLExInit.Initialize() File "C:\Python37-32\lib\site-packages\flexlibs\FLExInit.py", line 47, in Initialize FwUtils.InitializeIcu() System.IO.FileNotFoundException: Could not load file or assembly 'icu.net, Version=2.7.0.0, Culture=neutral, PublicKeyToken=416fdd914afa6b66' or one of its dependencies. The system cannot find the file specified. at SIL.LCModel.Core.Text.CustomIcu.InitIcuDataDir() at SIL.FieldWorks.Common.FwUtils.FwUtils.InitializeIcu() in c:\JenkinsSlaveHome\workspace\FieldWorks-Win-all-Release-Patch\Src\Common\FwUtils\FwUtils.cs:line 193

this actually came when she tried starting a FLExTrans collection.

cdfarrow commented 2 years ago

Fixed in flexlibs 1.1.1, by including the old (v2.7) icu.net.dll.