Comments (6)
But I have an idea why this is happening for me. My PC culture is set to German, but because I wanted the help in dotnet CLI to be in english I have set the DOTNET_CLI_UI_LANGUAGE environment variable to "en" and that seems to somehow cause the crash.
That's what was causing the problem, yes. The DotPurple code didn't account for these already being set when it was running commands, so it failed here.
Thank you for testing those debug builds. Sounds like the second one works. I will do my best to upload a new build to the actual website as soon as I can and will keep this ticket open until I do so. :) Thank you again for reporting!
from dotpurple-app.
Hi @Mrxx99,
Thanks so much for reporting this. Until people report, sometimes we have no clue that something is wrong. :) Thank you!
Sorry to hear you're having issues. I'm extremely busy right now, but will try to help you out as quick as I can. The stack trace is sort of helpful, but can you also see if there is a stack trace at %APPDATA%/DotPurple/crashes
and upload them if they are there?
(Perchance do you not have the dotnet
SDK installed? I wonder if it's failing somehow without it, as that is one of the first things that takes place. 🤔)
from dotpurple-app.
Here is a debug build for you to try, too, based on the stack trace you provided. Please give it a shot.
from dotpurple-app.
Actually, after scouring the code file (based on the exception) for what could throw that specific exception, I may have found it. Try this debug build too, if you don't mind, and if it fixes it, did you have any dotnet variables in your environment?
from dotpurple-app.
Of course I have the .NET SDK installed otherwise this app would not make any sense to use :D
Here is the stacktrace from the crash report:
stacktrace
DotPurple v1.10.0.0
Operating System:WindowsWPF | Microsoft Windows NT 10.0.19045.0 | 2009
Crash Report
---------------
Das Element wurde bereits hinzugefügt. Schlüssel im Wörterbuch: "DOTNET_CLI_UI_LANGUAGE". Hinzuzufügender Schlüssel: "DOTNET_CLI_UI_LANGUAGE".
bei System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
bei DotPurple.Helpers.CommandRunner.<RunCommand>d__11.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DotPurple.Helpers.CommandRunner.<RunDotnetCommand>d__12.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DotPurple.Helpers.Utilities.<DoesDotnetExist>d__4.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DotPurple.App.<Application_Startup>d__5.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei DotPurple.App.Main()
Both the provided Debug builds do also crash.
The first shows a popup with the same stacktrace as provided above, the second opens a "DotPurple Crash Reporter" window.
But I have an idea why this is happening for me. My PC culture is set to German, but because I wanted the help in dotnet CLI to be in english I have set the DOTNET_CLI_UI_LANGUAGE
environment variable to "en" and that seems to somehow cause the crash.
EDIT: The second debug build starts without crash after showing the "DotPurple Crash Reporter"
from dotpurple-app.
All fixed and uploaded new builds. Thank you!
from dotpurple-app.
Related Issues (6)
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 dotpurple-app.