Open MisileLab opened 5 months ago
So uh any fix to this? @Icy-Thought
Haven't fidgeted with dotnet yet because of IRL renovations and work. Apologies everyone, I guess I need to remove myself from the maintainers because of the situation.
So uh any fix to this? @Icy-Thought
add fontconfig to dependency seems fix for that
Oh, will try that out right now and submit a PR if I managed to get it working. Thanks for the update @MisileLab!
Mind explaining where and how it fixes the issue?
./result/bin/GalaxyBudsClient
[22:34:16 INF] PlatformImpl: Using LinuxPlatformImplCreator
[22:34:16 INF] IpcService: Service listening on the session bus
[22:34:16 ERR] Unhandled exception in main thread
System.ArgumentException: An item with the same key has already been added. Key: /i18n/cn.axaml
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Avalonia.Platform.Internal.AssemblyDescriptor..ctor(Assembly assembly)
at Avalonia.Platform.StandardAssetLoader..ctor(IAssemblyDescriptorResolver resolver, Assembly assembly)
at Avalonia.Platform.StandardAssetLoader..ctor(Assembly assembly)
at Avalonia.Platform.StandardRuntimePlatformServices.Register(Assembly assembly)
at Avalonia.AppBuilder.<UseStandardRuntimePlatformSubsystem>b__68_0()
at Avalonia.AppBuilder.SetupUnsafe()
at Avalonia.AppBuilder.Setup()
at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at GalaxyBudsClient.Program.Main(String[] args) in /build/source/GalaxyBudsClient/Program.cs:line 118
^ is what I get (+ used to get) with fontconfig being added in the runtimeDeps
section.
I'm also experiencing the titular issue.
I've done a little research and according to stackoverflow it may be able to be fixed by using SkiaSharp.NativeAssets.Linux.NoDependencies
instead of SkiaSharp.NativeAssets.Linux
. I know practically nothing about C# development, so I'm not confident testing this, but I thought I'd link this here in case it ends up helping you?
I will test it out ~soon~ tomorrow and report back on my findings. Thanks a lot for sharing your findings with us! :)
Describe the bug
raise library not found error on run
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
App running without issue
Additional context
log
Notify maintainers
@Icy-Thought
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.