Walletwasabi: Failure to Install on Windows (most frequently with Boot Camp) - Solved

Created on 26 Sep 2018  Â·  50Comments  Â·  Source: zkSNACKs/WalletWasabi

Hello everyone. This is my first time using Git. I believe I've followed every step I was supposed to in order to install Wasabi Wallet, yet I receive the following message once I type "dotnet run:"

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPath(String path)
at System.IO.IoHelpers.EnsureContainingDirectoryExists(String fileNameOrPath) in C:\Users\Trev\WalletWasabi\WalletWasabi\Helpers\IoHelpers.cs:line 175
at WalletWasabi.Gui.Global.DisposeAsync() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Global.cs:line 307
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 71
at WalletWasabi.Gui.Program.

(String[] args)_

Any ideas on what I'm doing wrong??

debug

Most helpful comment

I was just able to try and it works!! Great work sir! @nopara73
Win7 Ultimate v6.1 build 7601 sp1

All 50 comments

As we established on Reddit, you followed the instructions properly (since neither the .msi worked), so it's a software bug.

First, can you tell me your OS version and default language? (Type winver in command line.)

Second I also noted on Reddit I've met this exception many time before and this happens when something is wrong with Avalonia, and so if we only leave only the Avalonia stuff in the Program.cs, then we'll get the proper error message that will tell us what's wrong. For this, I created another branch, which you can try: https://github.com/zkSNACKs/WalletWasabi/tree/avalonia-debug

Here are the instructions if you would not be familiar with git.
First update your git repo:

git pull
git fetch
git submodule update --init --recursive

Next change branch:

git checkout avalonia-debug

Finally run it from the WalletWasabi.Gui directory and tell us what exception it throws.

dotnet run

Then you can change back to the master branch so you make sure you're on the normal branch that'll be developed by us.

git checkout master

Okay, so first I'm running Windows 10 Pro Version 1803 (OS Build 17134.285)

Following your instructions, here is the exception:

Program.cs(18,29): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [C:\Users\Trev\WalletWasabiWalletWasabi.GuiWalletWasabi.Gui.csproj]

That's just a warning (which is normal, because I did remove the async methods.) Isn't there anything else you get after that?

Other things those came to my mind that may affect it:

  • Is your Windows non-English?
  • Are you running it from not home so there may be some constraints I'm not aware of?

Also note that, I'm developing on the exact same OS to version :/

The language is English. The only other factor that might influence is I'm running Windows through Bootcamp on Mac. But that really shouldn't make a different should it? I guess I'm confused. After I hit "dotnet run" Should the wallet magically appear? Or do I need to be signed into Git online or desktop to access it???

I also have a VPN running and am on a "hidden" wifi network. But literally I don't see how any of these could impact it. Especially since anonymity is the purpose.

After I hit "dotnet run" Should the wallet magically appear? Or do I need to be signed into Git online or desktop to access it???

It should not appear, it should just tell you a different, more correct error message, than the Unhandled Exception: System.ArgumentNullException. (Which I have no idea why, I simply noticed it that when this exception comes that can mean a bunch of other things and if I remove a part of the code the correct exception appears.)

The only other factor that might influence is I'm running Windows through Bootcamp on Mac.
Maybe. I cannot think of anything else so this might be a good test environment to try for us.

I also have a VPN running and am on a "hidden" wifi network. But literally I don't see how any of these could impact it.

Seems irrelevant for me, too. Again, this might be another thing to try for us.

So, the question is: do you get any other exception after the (normal) warning on the avalonia-debug branch? That should be the relevant part.

I do not get any other messages beyond that. But you said the wallet shouldn't appear. So if the Wallet does not magically appear after I hit "dotnet run," how do I access the wallet? I'm sorry, this is my first time trying any of this.

You can't access the wallet, since there's an issue that we are trying to solve now. And I am admittedly running out of (reasonable) ideas. @lontivero @danwalmsley do you have any ideas?

I was able to reproduce it doing this:

$ chmod -wx ~/.walletwasabi/client
$ dotnet run

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at System.IO.Path.GetFullPath(String path)
   at System.IO.IoHelpers.EnsureContainingDirectoryExists(String fileNameOrPath) in /home/lontivero/GitHub/WalletWasabi/WalletWasabi/Helpers/IoHelpers.cs:line 175
   at WalletWasabi.Gui.Global.DisposeAsync() in /home/lontivero/GitHub/WalletWasabi/WalletWasabi.Gui/Global.cs:line 307
   at WalletWasabi.Gui.Program.Main(String[] args) in /home/lontivero/GitHub/WalletWasabi/WalletWasabi.Gui/Program.cs:line 71
   at WalletWasabi.Gui.Program.<Main>(String[] args)

Update: It cannot create a directory (because i revoked permission over the folder) and then it throws an exception. However, given the Logger is not initialized yet, it doesn't write anything.

Some points to think about:

Logger Modes should be initialized in the static constructor to make sure it is always initialized with the correct values instead of initilizing it on InitializeDefaults.

private static void Log(LogLevel level, string message, string category)
{
    try
    {
        if (Modes.Count == 0 || !IsOn())  
        {
            return;
        }

The following doesn't look okay to me. It could be read as follow: If there is a problem initializing something them simply write an entry in the log and continue.

    }
    catch (Exception ex)
    {
        Logger.LogCritical<Program>(ex);
    }
}).StartShellApp<AppBuilder, MainWindow>("Wasabi Wallet", null, () => MainWindowViewModel.Instance);

@nopara73 we might need to print any inner exceptions?

lol so is there anything I can do on my NOOB end??

@trevorwidger not sure. It could help if you could share here the content of your wasabi client folder:

$ ls -hal ~/.walletwasabi/client

Update

It would be also useful if you could replace the following line:
https://github.com/zkSNACKs/WalletWasabi/blob/6d012a19f5ae04c101e3925e844aa2140f2c291d/WalletWasabi.Gui/Program.cs#L60

by a Console.WriteLine(ex); and then run the wallet again.

I am also getting this exact error - Windows 7 laptop. What's odd is it is running fine on another Windows 7 machine of mine.

....
Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:04.68

C:\Users\null\WalletWasabiWalletWasabi.Gui>dotnet run

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPath(String path)
at System.IO.IoHelpers.EnsureContainingDirectoryExists(String fileNameOrPath)
in C:\Users\null\WalletWasabi\WalletWasabi\Helpers\IoHelpers.cs:line 175
at WalletWasabi.Gui.Global.DisposeAsync() in C:\Users\null\WalletWasabi\Walle
tWasabi.Gui\Global.cs:line 307
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\null\WalletWasabi
WalletWasabi.Gui\Program.cs:line 71
at WalletWasabi.Gui.Program.

(String[] args)

C:\Users\null\WalletWasabiWalletWasabi.Gui>

so there's nothing I can do at this point? isn't this supposed to be released Oct. 1??

so there's nothing I can do at this point? isn't this supposed to be released Oct. 1??

No, nothing, until we fix the logging issue. (https://github.com/zkSNACKs/WalletWasabi/issues/694)
Also I have also access to 4 different Windows computers, hopefully it'll happen in one of them.

So, the ball is at us now.

I was able to reproduce it doing this: ... chmod...

This is the Avalon shell bug. (https://github.com/VitalElement/AvalonStudio.Shell/issues/11) Since @trevorwidger did not succeed to use the .msi (where this is hacked around that says you did not reproducing this issue. (It wants to create an Extensions folder next to the binary.)
I circumvented it in the releases by creating the folder with the packager. I guess I just create the folder build time, that'll be better: 61719a644daea12387f90329ee3f9d217560ba74

The following doesn't look okay to me. It could be read as follow: If there is a problem initializing something them simply write an entry in the log and continue.

Yes, that exception is rethrown by Avalonia and the outside exception will catch it. (I also rethrow that outside exception now.) Fixed it: https://github.com/zkSNACKs/WalletWasabi/commit/c32f252848779e7ca0b66a352dfbe1d9edf309f3

It is still not logging it, but at least it writes out to the console now.

Logger Modes should be initialized in the static constructor to make sure it is always initialized with the correct values instead of initilizing it on InitializeDefaults.

If the user doesn't want to use the logger, it doesn't initialize it. Btw, yes that's the reason why the logger doesn't work, because it's initialized too late if Avalonia/AvalonStudio.Shell exceptions out.
However we started out as having the Logger initialization outside BuildAvaloniaApp().AfterSetup: https://github.com/zkSNACKs/WalletWasabi/commit/084bf91d16b3bd56b2945d7a48ffad0c6cca9522#diff-ddf280c786e62af81f039b078d8dcd63
But this didn't work with OSX, so we had to bring it inside: https://github.com/zkSNACKs/WalletWasabi/commit/65bf85755acd054687297b5b9197e47873ec43eb#diff-ddf280c786e62af81f039b078d8dcd63

Btw, today we are using BuildAvaloniaApp().BeforeStarting.

@danwalmsley Any idea how can we log Avalonia exceptions with our Logger? If there's a way we could initialize it before the Avalonia stuff (or if the OSX issue will go away automatically with the new OSX stuff in Avalonia. Btw what was the issue in the first place? It didn't start or something like that? Do you remember?)

@trevorwidger @manakill Please update your Wasabis:

git pull
git submodule update --init --recursive

This might solve your issues. If it doesn't then you'll get a proper exception to the console. (While it unfortunately won't be yet logged to the Logger.txt just yet that's yet to be done.)

@danwalmsley It turns out OSX doesn't fail if I initialize the Logger before Avalonia. (Not sure what was the issue there, but I think we didn't see the window, now we see it. Maybe only the wallet components must be initialized after avalonia, the Logger doesn't make a difference.) https://github.com/zkSNACKs/WalletWasabi/commit/b610dac5f5ec7f543239599e2634b9718384e340

Time Elapsed 00:00:03.05

C:\Users\null\WalletWasabiWalletWasabi.Gui>dotnet run
Avalonia.Markup.Xaml.XamlLoadException: Error loading xaml at resm:AvalonStudio.Shell.Icons.Icons.xaml?assembly=AvalonSt
udio.Shell: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;
assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module c
ould not be found. (Exception from HRESULT: 0x8007007E) ---> Portable.Xaml.XamlObjectWriterException: Could not convert
object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geom
etry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception
from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies
: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SkiaSharp.SkiaApi.sk_path_new()
at SkiaSharp.SKPath..ctor()
at Avalonia.Skia.StreamGeometryImpl..ctor()
at Avalonia.Skia.PlatformRenderInterface.CreateStreamGeometry()
at Avalonia.Media.StreamGeometry.CreateDefiningGeometry() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGe
ometry.cs:line 72
at Avalonia.Media.Geometry.get_PlatformImpl() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\Geometry.cs:line 47
at Avalonia.Media.StreamGeometry.Open() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 63
at Avalonia.Media.StreamGeometry.Parse(String s) in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs
:line 38
at Avalonia.Markup.Xaml.Converters.ParseTypeConverter1.ConvertFrom(ITypeDescriptorContext context, CultureInfo cultu re, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ParseTypeConverter.cs:line 76 at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\proj ects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObje ctWriter.cs:line 687 --- End of inner exception stack trace --- at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\proj ects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObje ctWriter.cs:line 694 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object o bj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portabl e.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteValue(Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Mark up.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 573 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\proj ects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServ ices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientPro vider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\sr c\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 118 --- End of inner exception stack trace --- at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\sr c\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 142 at Avalonia.Markup.Xaml.Styling.StyleInclude.get_Loaded() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Sty ling\StyleInclude.cs:line 49 at Avalonia.Markup.Xaml.Styling.StyleInclude.Avalonia.Styling.ISetStyleParent.NotifyResourcesChanged(ResourcesChanged EventArgs e) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 79 at Avalonia.Styling.Styles.<.ctor>b__2_0(IStyle x) in C:\projects\Avalonia\src\Avalonia.Styling\Styling\Styles.cs:lin e 31 at Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_01.g__Add|0(Int32 index, IList items)
in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaListExtensions.cs:line 83
at Avalonia.Collections.AvaloniaList1.NotifyAdd(IList t, Int32 index) in C:\projects\Avalonia\src\Avalonia.Base\Coll ections\AvaloniaList.cs:line 506 at Portable.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item) in C:\projects\Avalonia\src\Mar kup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml.Schema\XamlTypeInvoker.cs:lin e 126 at Portable.Xaml.XamlObjectWriterInternal.AddToCollectionIfAppropriate(XamlType xt, XamlMember xm, Object parent, Obj ect obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Po rtable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 638 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object o bj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portabl e.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\ PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 428 at Portable.Xaml.XamlWriterInternalBase.WriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Port ableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlWriterInternalBase.cs:line 260 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\proj ects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServ ices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientPro vider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) in C:\projects\Avalonia\src\Markup\Av alonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 89 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\A valoniaXamlLoader.cs:line 57 at WalletWasabi.Gui.App.Initialize() in C:\Users\null\WalletWasabi\WalletWasabi.Gui\App.xaml.cs:line 10 at Avalonia.Controls.AppBuilderBase1.Setup() in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 27
3
at Avalonia.Controls.AppBuilderBase1.Start[TMainWindow](Func1 dataContextProvider) in C:\projects\Avalonia\src\Aval
onia.Controls\AppBuilderBase.cs:line 122
at AvalonStudio.Shell.Shell.StartShellAppTAppBuilder,TMainWindow in C:\Users\null\WalletWasabi\WalletWasabi.Dependencies\AvalonStudio.Shell\sr
c\AvalonStudio.Shell\Shell.cs:line 14
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\null\WalletWasabiWalletWasabi.Gui\Program.cs:line 25

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPath(String path)
at System.IO.IoHelpers.EnsureContainingDirectoryExists(String fileNameOrPath) in C:\Users\null\WalletWasabi\WalletWas
abi\Helpers\IoHelpers.cs:line 177
at WalletWasabi.Gui.Global.DisposeAsync() in C:\Users\null\WalletWasabiWalletWasabi.Gui\Global.cs:line 307
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\null\WalletWasabiWalletWasabi.Gui\Program.cs:line 71
at WalletWasabi.Gui.Program.

(String[] args)

C:\Users\null\WalletWasabiWalletWasabi.Gui>

@manakill This is awesome! Thanks!
Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found.

We already had this issue in publish-time, which we "solved" by targeting win7. But now, it turns out, this issue comes up on a Windows 7 computer at compile time.

So what's the issue with Windows 10 Pro for users such as myself?

Trev

On Sep 28, 2018, at 4:08 PM, nopara73 notifications@github.com wrote:

@manakill This is awesome! Thanks!
Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found.

We already had this issue in publish-time, which we "solved" by targeting win7. But now, it turns out, this issue comes up on a Windows 7 computer at compile time.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@trevorwidger A dll is missing. (Assuming you get the same libSkiaSharp missing issue. Could you check that?

Also note, it's not Windows 10 Pro issue, since we couldn't reproduce it on Windows 10 Pro and so we still couldn't figure out how to reproduce it or what's causing this issue. Nevertheless it is may be enough information for us to solve it by reviewing how everything should work. (And hope we won't have to do this, because it's hacky, but if everything fails, we can ship with libSkiaSharp, too.)

Ok, so to make it simpler to understand. The problem is that the selected file on the pic below is missing at you and we don't know why yet.

image

Okay, now I'm getting this insane chunk of text try to start over and install again:

2018-09-28 19:22:09 CRITICAL Program: Avalonia.Markup.Xaml.XamlLoadException: Error loading xaml at resm:AvalonStudio.Shell.Icons.Icons.xaml?assembly=AvalonStudio.Shell: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> Portable.Xaml.XamlObjectWriterException: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SkiaSharp.SkiaApi.sk_path_new()
at SkiaSharp.SKPath..ctor()
at Avalonia.Skia.StreamGeometryImpl..ctor()
at Avalonia.Skia.PlatformRenderInterface.CreateStreamGeometry()
at Avalonia.Media.StreamGeometry.CreateDefiningGeometry() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 72
at Avalonia.Media.Geometry.get_PlatformImpl() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\Geometry.cs:line 47
at Avalonia.Media.StreamGeometry.Open() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 63
at Avalonia.Media.StreamGeometry.Parse(String s) in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 38
at Avalonia.Markup.Xaml.Converters.ParseTypeConverter1.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ParseTypeConverter.cs:line 76 at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 687 --- End of inner exception stack trace --- at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 694 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteValue(Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 573 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 118 --- End of inner exception stack trace --- at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 142 at Avalonia.Markup.Xaml.Styling.StyleInclude.get_Loaded() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 49 at Avalonia.Markup.Xaml.Styling.StyleInclude.Avalonia.Styling.ISetStyleParent.NotifyResourcesChanged(ResourcesChangedEventArgs e) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 79 at Avalonia.Styling.Styles.<.ctor>b__2_0(IStyle x) in C:\projects\Avalonia\src\Avalonia.Styling\Styling\Styles.cs:line 31 at Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_01.g__Add|0(Int32 index, IList items) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaListExtensions.cs:line 83
at Avalonia.Collections.AvaloniaList1.NotifyAdd(IList t, Int32 index) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaList.cs:line 506 at Portable.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml.Schema\XamlTypeInvoker.cs:line 126 at Portable.Xaml.XamlObjectWriterInternal.AddToCollectionIfAppropriate(XamlType xt, XamlMember xm, Object parent, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 638 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 428 at Portable.Xaml.XamlWriterInternalBase.WriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlWriterInternalBase.cs:line 260 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 89 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 57 at WalletWasabi.Gui.App.Initialize() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\App.xaml.cs:line 10 at Avalonia.Controls.AppBuilderBase1.Setup() in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 273
at Avalonia.Controls.AppBuilderBase1.Start[TMainWindow](Func1 dataContextProvider) in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 122
at AvalonStudio.Shell.Shell.StartShellAppTAppBuilder,TMainWindow in C:\Users\Trev\WalletWasabi\WalletWasabi.Dependencies\AvalonStudio.Shell\src\AvalonStudio.Shell\Shell.cs:line 14
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 26
2018-09-28 19:22:09 INFO Global: WalletService is stopped.
2018-09-28 19:22:09 INFO Global: ChaumianClient is stopped.
2018-09-28 19:22:09 INFO Global: UpdateChecker is stopped.
2018-09-28 19:22:09 INFO Global: IndexDownloader is stopped.
2018-09-28 19:22:09 WARNING Global: System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPath(String path)
at System.IO.IoHelpers.EnsureContainingDirectoryExists(String fileNameOrPath) in C:\Users\Trev\WalletWasabi\WalletWasabi\Helpers\IoHelpers.cs:line 177
at WalletWasabi.Gui.Global.DisposeAsync() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Global.cs:line 309

Unhandled Exception: Avalonia.Markup.Xaml.XamlLoadException: Error loading xaml at resm:AvalonStudio.Shell.Icons.Icons.xaml?assembly=AvalonStudio.Shell: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> Portable.Xaml.XamlObjectWriterException: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SkiaSharp.SkiaApi.sk_path_new()
at SkiaSharp.SKPath..ctor()
at Avalonia.Skia.StreamGeometryImpl..ctor()
at Avalonia.Skia.PlatformRenderInterface.CreateStreamGeometry()
at Avalonia.Media.StreamGeometry.CreateDefiningGeometry() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 72
at Avalonia.Media.Geometry.get_PlatformImpl() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\Geometry.cs:line 47
at Avalonia.Media.StreamGeometry.Open() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 63
at Avalonia.Media.StreamGeometry.Parse(String s) in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 38
at Avalonia.Markup.Xaml.Converters.ParseTypeConverter1.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ParseTypeConverter.cs:line 76 at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 687 --- End of inner exception stack trace --- at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 694 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteValue(Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 573 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 118 --- End of inner exception stack trace --- at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 142 at Avalonia.Markup.Xaml.Styling.StyleInclude.get_Loaded() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 49 at Avalonia.Markup.Xaml.Styling.StyleInclude.Avalonia.Styling.ISetStyleParent.NotifyResourcesChanged(ResourcesChangedEventArgs e) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 79 at Avalonia.Styling.Styles.<.ctor>b__2_0(IStyle x) in C:\projects\Avalonia\src\Avalonia.Styling\Styling\Styles.cs:line 31 at Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_01.g__Add|0(Int32 index, IList items) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaListExtensions.cs:line 83
at Avalonia.Collections.AvaloniaList1.NotifyAdd(IList t, Int32 index) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaList.cs:line 506 at Portable.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml.Schema\XamlTypeInvoker.cs:line 126 at Portable.Xaml.XamlObjectWriterInternal.AddToCollectionIfAppropriate(XamlType xt, XamlMember xm, Object parent, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 638 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 428 at Portable.Xaml.XamlWriterInternalBase.WriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlWriterInternalBase.cs:line 260 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 89 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 57 at WalletWasabi.Gui.App.Initialize() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\App.xaml.cs:line 10 at Avalonia.Controls.AppBuilderBase1.Setup() in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 273
at Avalonia.Controls.AppBuilderBase1.Start[TMainWindow](Func1 dataContextProvider) in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 122
at AvalonStudio.Shell.Shell.StartShellAppTAppBuilder,TMainWindow in C:\Users\Trev\WalletWasabi\WalletWasabi.Dependencies\AvalonStudio.Shell\src\AvalonStudio.Shell\Shell.cs:line 14
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 26
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 66
at WalletWasabi.Gui.Program.

(String[] args)

Yup, that's the same missing libSkiaSharp dll issue.

so how do i fix it?

Trev

On Sep 28, 2018, at 8:03 PM, nopara73 notifications@github.com wrote:

Yup, that's the same missing libSkiaSharp dll issue.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I guess my question is how do I get the file so I can place it in the folder??

If you want to go down that hack here's my file, it'll probably be the right one for you, too: https://drive.google.com/file/d/1QyX8DhDbVYqUC33d_K0oktIrg574wCd5/view?usp=sharing

I tried the .dll file hack, placing it in different places and still get the same errors.

I see a lot of references to C:\projects\Avalonia\ in the error output
C:\projects\Avalonia\ doesn't exist on this machine, so maybe that's related? Maybe windows machines need dependencies?

I also pulled Avalonia and installed it ok, and still am getting the same errors with Wasabi.

I have 1 Win7 machine running it fine. 1 Win7 machine that throws these errors, and also a Win10 machine with same error.

Just to keep this thread updated, I've tested on two win7 machines and the issue didn't come up. Still have a win10 to test left.

I have ensured the .dll file exists and still receive this error

2018-09-30 20:56:44 CRITICAL Program: Avalonia.Markup.Xaml.XamlLoadException: Error loading xaml at resm:AvalonStudio.Shell.Icons.Icons.xaml?assembly=AvalonStudio.Shell: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> Portable.Xaml.XamlObjectWriterException: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SkiaSharp.SkiaApi.sk_path_new()
at SkiaSharp.SKPath..ctor()
at Avalonia.Skia.StreamGeometryImpl..ctor()
at Avalonia.Skia.PlatformRenderInterface.CreateStreamGeometry()
at Avalonia.Media.StreamGeometry.CreateDefiningGeometry() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 72
at Avalonia.Media.Geometry.get_PlatformImpl() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\Geometry.cs:line 47
at Avalonia.Media.StreamGeometry.Open() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 63
at Avalonia.Media.StreamGeometry.Parse(String s) in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 38
at Avalonia.Markup.Xaml.Converters.ParseTypeConverter1.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ParseTypeConverter.cs:line 76 at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 687 --- End of inner exception stack trace --- at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 694 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteValue(Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 573 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 118 --- End of inner exception stack trace --- at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 142 at Avalonia.Markup.Xaml.Styling.StyleInclude.get_Loaded() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 49 at Avalonia.Markup.Xaml.Styling.StyleInclude.Avalonia.Styling.ISetStyleParent.NotifyResourcesChanged(ResourcesChangedEventArgs e) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 79 at Avalonia.Styling.Styles.<.ctor>b__2_0(IStyle x) in C:\projects\Avalonia\src\Avalonia.Styling\Styling\Styles.cs:line 31 at Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_01.g__Add|0(Int32 index, IList items) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaListExtensions.cs:line 83
at Avalonia.Collections.AvaloniaList1.NotifyAdd(IList t, Int32 index) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaList.cs:line 506 at Portable.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml.Schema\XamlTypeInvoker.cs:line 126 at Portable.Xaml.XamlObjectWriterInternal.AddToCollectionIfAppropriate(XamlType xt, XamlMember xm, Object parent, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 638 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 428 at Portable.Xaml.XamlWriterInternalBase.WriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlWriterInternalBase.cs:line 260 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 89 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 57 at WalletWasabi.Gui.App.Initialize() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\App.xaml.cs:line 10 at Avalonia.Controls.AppBuilderBase1.Setup() in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 273
at Avalonia.Controls.AppBuilderBase1.Start[TMainWindow](Func1 dataContextProvider) in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 122
at AvalonStudio.Shell.Shell.StartShellAppTAppBuilder,TMainWindow in C:\Users\Trev\WalletWasabi\WalletWasabi.Dependencies\AvalonStudio.Shell\src\AvalonStudio.Shell\Shell.cs:line 14
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 26
2018-09-30 20:56:44 INFO Global: WalletService is stopped.
2018-09-30 20:56:44 INFO Global: ChaumianClient is stopped.
2018-09-30 20:56:44 INFO Global: UpdateChecker is stopped.
2018-09-30 20:56:44 INFO Global: IndexDownloader is stopped.
2018-09-30 20:56:44 WARNING Global: System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPath(String path)
at System.IO.IoHelpers.EnsureContainingDirectoryExists(String fileNameOrPath) in C:\Users\Trev\WalletWasabi\WalletWasabi\Helpers\IoHelpers.cs:line 177
at WalletWasabi.Gui.Global.DisposeAsync() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Global.cs:line 309

Unhandled Exception: Avalonia.Markup.Xaml.XamlLoadException: Error loading xaml at resm:AvalonStudio.Shell.Icons.Icons.xaml?assembly=AvalonStudio.Shell: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> Portable.Xaml.XamlObjectWriterException: Could not convert object 'F1M16,16L0,16 0,0 16,0z' (of type System.String) to {clr-namespace:Avalonia.Media;assembly=Avalonia.Visuals}Geometry: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SkiaSharp.SkiaApi.sk_path_new()
at SkiaSharp.SKPath..ctor()
at Avalonia.Skia.StreamGeometryImpl..ctor()
at Avalonia.Skia.PlatformRenderInterface.CreateStreamGeometry()
at Avalonia.Media.StreamGeometry.CreateDefiningGeometry() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 72
at Avalonia.Media.Geometry.get_PlatformImpl() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\Geometry.cs:line 47
at Avalonia.Media.StreamGeometry.Open() in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 63
at Avalonia.Media.StreamGeometry.Parse(String s) in C:\projects\Avalonia\src\Avalonia.Visuals\Media\StreamGeometry.cs:line 38
at Avalonia.Markup.Xaml.Converters.ParseTypeConverter1.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ParseTypeConverter.cs:line 76 at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 687 --- End of inner exception stack trace --- at Portable.Xaml.XamlObjectWriterInternal.GetCorrectlyTypedValue(XamlMember xm, XamlType xt, Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 694 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteValue(Object value) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 573 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 118 --- End of inner exception stack trace --- at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Uri uri, Uri baseUri, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 142 at Avalonia.Markup.Xaml.Styling.StyleInclude.get_Loaded() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 49 at Avalonia.Markup.Xaml.Styling.StyleInclude.Avalonia.Styling.ISetStyleParent.NotifyResourcesChanged(ResourcesChangedEventArgs e) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\Styling\StyleInclude.cs:line 79 at Avalonia.Styling.Styles.<.ctor>b__2_0(IStyle x) in C:\projects\Avalonia\src\Avalonia.Styling\Styling\Styles.cs:line 31 at Avalonia.Collections.AvaloniaListExtensions.<>c__DisplayClass1_01.g__Add|0(Int32 index, IList items) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaListExtensions.cs:line 83
at Avalonia.Collections.AvaloniaList1.NotifyAdd(IList t, Int32 index) in C:\projects\Avalonia\src\Avalonia.Base\Collections\AvaloniaList.cs:line 506 at Portable.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml.Schema\XamlTypeInvoker.cs:line 126 at Portable.Xaml.XamlObjectWriterInternal.AddToCollectionIfAppropriate(XamlType xt, XamlMember xm, Object parent, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 638 at Portable.Xaml.XamlObjectWriterInternal.StoreAppropriatelyTypedValue(ObjectState state, MemberAndValue ms, Object obj, Object keyObj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 620 at Portable.Xaml.XamlObjectWriterInternal.OnWriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlObjectWriter.cs:line 428 at Portable.Xaml.XamlWriterInternalBase.WriteEndObject() in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlWriterInternalBase.cs:line 260 at Portable.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\PortableXaml\portable.xaml.github\src\Portable.Xaml\Portable.Xaml\XamlServices.cs:line 128 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.LoadFromReader(XamlReader reader, AvaloniaXamlContext context, IAmbientProvider parentAmbientProvider) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 208 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Stream stream, Assembly localAssembly, Object rootInstance, Uri uri) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 184 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Type type, Object rootInstance) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 89 at Avalonia.Markup.Xaml.AvaloniaXamlLoader.Load(Object obj) in C:\projects\Avalonia\src\Markup\Avalonia.Markup.Xaml\AvaloniaXamlLoader.cs:line 57 at WalletWasabi.Gui.App.Initialize() in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\App.xaml.cs:line 10 at Avalonia.Controls.AppBuilderBase1.Setup() in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 273
at Avalonia.Controls.AppBuilderBase1.Start[TMainWindow](Func1 dataContextProvider) in C:\projects\Avalonia\src\Avalonia.Controls\AppBuilderBase.cs:line 122
at AvalonStudio.Shell.Shell.StartShellAppTAppBuilder,TMainWindow in C:\Users\Trev\WalletWasabi\WalletWasabi.Dependencies\AvalonStudio.Shell\src\AvalonStudio.Shell\Shell.cs:line 14
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 26
at WalletWasabi.Gui.Program.Main(String[] args) in C:\Users\Trev\WalletWasabi\WalletWasabi.Gui\Program.cs:line 66
at WalletWasabi.Gui.Program.

(String[] args)

Update, y'all. I installed it perfectly fine on macOS High Sierra. The
whole purpose of me partitioning to Windows 10 was because of the alleged
issues with macOS. Seems to be the reverse in my case.

On Sun, Sep 30, 2018 at 4:36 PM nopara73 notifications@github.com wrote:

Just to keep this thread updated, I've tested on two win7 machines and the
issue didn't come up. Still have a win10 to test left.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zkSNACKs/WalletWasabi/issues/696#issuecomment-425754010,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Apg1lhAP-HECVB7jzIHlTA7HM-TwM7Pgks5ugTlQgaJpZM4W6L1Q
.

Update update: It does constantly crash. So there's that... on macOS. But
it can at least run I suppose.

On Sun, Sep 30, 2018 at 10:28 PM Trevor Widger widgertrevor@gmail.com
wrote:

Update, y'all. I installed it perfectly fine on macOS High Sierra. The
whole purpose of me partitioning to Windows 10 was because of the alleged
issues with macOS. Seems to be the reverse in my case.

On Sun, Sep 30, 2018 at 4:36 PM nopara73 notifications@github.com wrote:

Just to keep this thread updated, I've tested on two win7 machines and
the issue didn't come up. Still have a win10 to test left.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zkSNACKs/WalletWasabi/issues/696#issuecomment-425754010,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Apg1lhAP-HECVB7jzIHlTA7HM-TwM7Pgks5ugTlQgaJpZM4W6L1Q
.

@danwalmsley Can you take a look at the exceptions? I'm getting out of ideas here, other than desperately try to find a Windows I have physical access to where I can reproduce this failure.

@trevorwidger Regarding macOS, we are completely rewriting the UI backend for that, so those exceptions won't go away over time one by one, but rather all will go away at once, when the work is ready.

Update: I tested the last Windows I have physical access to (win10) and I couldn't reproduce the issue there.

It turns out I found a computer where it doesn't work, so I'll be able to work on it (assuming it's the same issue.)

This error seems to be consistently happening on Boot Camp. @manakill are you using that setup, too?

I was able to reproduce this issue with an Avalonia sample and reported this issue: https://github.com/AvaloniaUI/Avalonia/issues/1940

Turns out this thing must be installed and the software will run: https://www.microsoft.com/en-us/download/details.aspx?id=52685

I'll figure out how we can include this prerequisite. For now, @manakill @trevorwidger can you make sure installing VC++ Redistributable resolves your issues?

@nopara73 I'm not using BootCamp. I will try the fix soon and report back

Will attempt to download and try tonight

On Oct 2, 2018, at 10:53 AM, nopara73 notifications@github.com wrote:

Turns out this thing must be installed and the software will run: https://www.microsoft.com/en-us/download/details.aspx?id=52685

I'll figure out how we can include this prerequisite. For now, @manakill @trevorwidger can you make sure installing VC++ Redistributable resolves your issues?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I've fixed the issue without the need of installation. However I was not able to test it, so can I ask @manakill or @trevorwidger one of you to test it?

  1. First, if you've installed the VC++ Redistributable, please uninstall it and make sure the software doesn't work.
  2. Next update your code: git pull && git submodule update --init --recursive.
  3. Then change branch: git checkout redist. And run the software as always (dotnet run from WalletWasabi.Gui directory.)
  4. Comment here if it worked or not.
  5. You can change back to master branch: git checkout master, which is the main branhc, install back to VC++ Redistributable (because the fix is not in the master branch yet.)

As soon as you verify the redist branch works, I'll merge that into the master and this issue can be finally closed.

@nopara73 sorry for the delay man, I will post update as soon as I can. I won't be at that machine for another 3-4 hours.

I'm also away from machine for a bit but will do so asap!

Trev

On Oct 2, 2018, at 4:57 PM, manakill notifications@github.com wrote:

@nopara73 sorry for the delay man, I will post update as soon as I can. I won't be at that machine for another 3-4 hours.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

No hurry guys, I'm just about to sleep: )

@trevorwidger @manakill I merged it to the master, so no need to do above branch changing things (except the uninstall of C++ redist, if you've already installed it, so to make sure my modifications fixed it.)

Simply update and should work:

git pull && git submodule update --init --recursive

I was just able to try and it works!! Great work sir! @nopara73
Win7 Ultimate v6.1 build 7601 sp1

@nopara73 Just tested on Win10 Pro machine, runs great too!

It works!!! Thank you @nopara73

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davterra picture davterra  Â·  3Comments

trading2835 picture trading2835  Â·  3Comments

yahiheb picture yahiheb  Â·  3Comments

RiccardoMasutti picture RiccardoMasutti  Â·  3Comments

molnard picture molnard  Â·  3Comments