Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing when clicking "Download Keys" #30

Open
JurandyRafael opened this issue Jun 11, 2023 · 9 comments
Open

Crashing when clicking "Download Keys" #30

JurandyRafael opened this issue Jun 11, 2023 · 9 comments

Comments

@JurandyRafael
Copy link

Crashing when clicking "Download Keys" , here is the log:

GlumSak Version 2.5.0.1 Crashed:

Short version: Invalid URI: URI is empty.

Detailed Error: System.UriFormatException: URI inválido: URI está vazio.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at EmuSak_Revive.Network.Networking.DownloadAFileFromServer(String url, String outPathName, String unzipPath, Boolean showFinishedNotification, Boolean showStartedNotification, Boolean deleteTempAfterDone, Boolean filesInFolder, String childFolderName)
at EmuSak_Revive.EmuFiles.EmuKeys.DownLoadKeys(String path, String keysLoc)
at EmuSak_Revive.GUI_WPF.MainWindow.Keys_Button_Click(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at EmuSak_Revive.GUI_WPF.App.Main()

@JurandyRafael JurandyRafael changed the title crashing when clicking "Download Keys" Crashing when clicking "Download Keys" Jun 11, 2023
@Glumboi
Copy link
Owner

Glumboi commented Jun 11, 2023

Do you have a paste that holds titlekeys in your settings?

@JurandyRafael
Copy link
Author

I didn't have it, but when I defined the folder that contains the .keys, the program started to close without log when I clicked on update firmware

@Glumboi
Copy link
Owner

Glumboi commented Jun 12, 2023

The firmwares dont need a paste since they are bound to a site from archive.org. I am already looking into crashes when downloading certain things.

@Grassinix
Copy link

I also have this problem.

@TSnatch72
Copy link

Same issue. here's my crash log

GlumSak Version 2.5.1.1 Crashed:

Short version: URI no válido: URI está vacío.

Detailed Error: System.UriFormatException: URI no válido: URI está vacío.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at EmuSak_Revive.Network.Networking.DownloadAFileFromServer(String url, String outPathName, String unzipPath, Boolean showFinishedNotification, Boolean showStartedNotification, Boolean deleteTempAfterDone, Boolean filesInFolder, String childFolderName)
at EmuSak_Revive.EmuFiles.EmuKeys.DownLoadKeys(String path, String keysLoc)
at EmuSak_Revive.GUI_WPF.MainWindow.Keys_Button_Click(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at EmuSak_Revive.GUI_WPF.App.Main()

@JurandyRafael
Copy link
Author

what should be put in the "paste settings" configuration?

@Glumboi
Copy link
Owner

Glumboi commented Jul 1, 2023

Pastes are used to store the download links of shaders and the title keys, its a link to a raw text file on the net, I cant will not provide any pastes because it could be seen as piracy.

@JurandyRafael
Copy link
Author

When I right click on a game it says:

Install Shaders:
Location: 0
Web: 0

Should it be different from this?

the games are: Mario Kart 8 Deluxe, Mario Odyssey and Luigi's Mansion

I've read all the documentation, but I don't fully understand

@Glumboi
Copy link
Owner

Glumboi commented Jul 3, 2023

That means that you don't have a paste set up in the Settings of GlumSak or the paste doesn't contain the games.
Example how a paste should look like: https://paste.bingner.com/paste/ybarv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants