Comments (5)
I played around a bit with trying to open files in a windows 7 vm and found out that it seems to crash when opening the file from Libraries/Documents. When opened from UserFolder/My Documents opened it fine.
from uabea.
After it crashes, open event viewer and look in Windows Logs -> Application. There should be a .NET Runtime error. Paste the stack trace from there so I can see what's going wrong.
Also, if you have a file you can send that will help too.
from uabea.
After it crashes, open event viewer and look in Windows Logs -> Application. There should be a .NET Runtime error. Paste the stack trace from there so I can see what's going wrong.
Also, if you have a file you can send that will help too.
Application: UABEAvalonia.exe
CoreCLR Version: 5.0.521.16609
.NET Version: 5.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Value does not fall within the expected range.
at Avalonia.Win32.Interop.UnmanagedMethods.IShellItem.GetDisplayName(UInt32 sigdnName, IntPtr& ppszName)
at Avalonia.Win32.SystemDialogImpl.GetAbsoluteFilePath(IShellItem shellItem) in //src/Windows/Avalonia.Win32/SystemDialogImpl.cs:line 153
at Avalonia.Win32.SystemDialogImpl.<>c__DisplayClass1_0.b__0() in //src/Windows/Avalonia.Win32/SystemDialogImpl.cs:line 90
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UABEAvalonia.MainWindow.MenuOpen_Click(Object sender, RoutedEventArgs e) in C:\Users\nesquack\source\repos\UABEAvalonia\UABEAvalonia\MainWindow.axaml.cs:line 89 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state) at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33 at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 166 at Avalonia.Threading.JobRunner.RunJobs(Nullable
1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 208
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 157
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 107
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 134
at UABEAvalonia.Program.Main(String[] args) in C:\Users\nesquack\source\repos\UABEAvalonia\UABEAvalonia\Program.cs:line 13
from uabea.
Looks like this is an Avalonia bug specifically on Windows 7.
Other people have reported that here:
- AvaloniaUI/Avalonia#3272
- https://stackoverflow.com/questions/57257928/avaloniaui-argumentexception-being-thrown-when-openfiledialog-is-used-in-windo
So there's not much I can do until Avalonia pushes a fix.
from uabea.
I tried it and it works, thank :D
from uabea.
Related Issues (20)
- When importing a dump in txt format, the asset breaks HOT 4
- Viewing/Editing a Texture2D asset segfaults Xorg HOT 1
- Having crash opening the folder HOT 4
- Can't extract with the Unity 2022.3.17f1 version HOT 3
- Weird Unity's package format HOT 2
- Can't save edit file.
- Looking for help HOT 5
- Edit resS instead of image data for Texture2D HOT 1
- help me HOT 1
- Edit texture plugin crashes when trying to convert (same texture without replacing) from BC7 to any other format HOT 2
- A problem HOT 1
- Support for Addressable Assets maybe? HOT 4
- Crashes when trying to open hierarchy HOT 2
- Can't receive text in game HOT 2
- Add batch compressing of bundle files HOT 1
- Unable to extract images in 2023.2.8f1 HOT 2
- Save then crashed HOT 2
- export dump crashed HOT 1
- Handle Unity version when both kinds are stripped HOT 4
- uabeacrash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uabea.