You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The build servers aren't bundling ICU into the Windows build. This causes the resource viewer to display "Loading".
Log:
[2023-10-02 13:28:38.289] [error] [dotnet data provider error] Unhandled exception.
[2023-10-02 13:28:38.425] [error]
[dotnet data provider error]
System.IO.FileLoadException: Can't load ICU library (version 0)
File name: 'icuuc'
at Icu.NativeMethods.LoadIcuLibrary(String libraryName)
at Icu.NativeMethods.get_IcuCommonLibHandle()
at Icu.NativeMethods.u_init(ErrorCode& errorCode)
at Icu.Wrapper.Init()
at Paratext.Data.Languages.WritingSystemRepository.Initialize(IWritingSystemRepository`1 repository)
at Paratext.Data.ParatextData.Initialize(String settingsDir, Boolean initializePt7Data)
at Paranext.DataProvider.ParatextUtils.ParatextGlobals.Initialize(String dataFolderPath) in /Users/runner/work/paranext-core/paranext-core/c-sharp/ParatextUtils/ParatextGlobals.cs:line 37
at Paranext.DataProvider.NetworkObjects.UsfmDataProvider..ctor(PapiClient papiClient, String dataFolderPath, String collectionName) in /Users/runner/work/paranext-core/paranext-core/c-sharp/NetworkObjects/UsfmDataProvider.cs:line 22
at Paranext.DataProvider.Program.Main() in /Users/runner/work/paranext-core/paranext-core/c-sharp/Program.cs:line 35
at Paranext.DataProvider.Program.Main() in /Users/runner/work/paranext-core/paranext-core/c-sharp/Program.cs:line 51
at Paranext.DataProvider.Program.<Main>()
[/dotnet data provider error]
From Matt:
That error happens when the .config file that comes with ICUNET doesn't get bundled appropriately. I thought this was solved months ago when this was added to the .csproj file:
<!-- IMPORTANT: The version number below should match the version from the icu.net PackageReference For some reason, the .config file only copies inconsistently from the NuGet package without this explicit reference.-->
<ItemGroup>
<NoneUpdate="$(NuGetPackageRoot)\icu.net\2.9.0\contentFiles\any\any\icu.net.dll.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
Now, there is an additional complication on Macs regarding ICU. #264
On Macs specifically there will be ICU errors even if the .config file is there.
Describe the bug
The build servers aren't bundling ICU into the Windows build. This causes the resource viewer to display "Loading".
Log:
From Matt:
To Reproduce
Steps to reproduce the behavior:
app-windows
from https://github.com/paranext/paranext-core/actions/runs/6382415492 and unzip itExpected behavior
ICU is bundled into the Windows build appropriately.
The text was updated successfully, but these errors were encountered: