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

App crashes when copying teleport command to clipboard #45

Closed
OB9000 opened this issue Jun 16, 2020 · 0 comments
Closed

App crashes when copying teleport command to clipboard #45

OB9000 opened this issue Jun 16, 2020 · 0 comments

Comments

@OB9000
Copy link

OB9000 commented Jun 16, 2020

Hello! Whenever I copy the teleport command to clipboard using right-click context menu Larkator crashes. The teleport command is copied onto the clipboard and can be used in Ark, and Larkator opens and works normally afterwards.


Whoops...

Sorry, something bad happened and the application must exit.

If you wish to report this issue please press Ctrl-C now to copy the details and

paste it into a new issue along with a description of what was happening

at: https://github.com/coldino/Larkator/issues

Thanks!

Exception:

System.Runtime.InteropServices.COMException (0x800401D0): OpenClipboard Failed (Exception from HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

at System.Windows.Clipboard.Flush()

at System.Windows.Clipboard.CriticalSetDataObject(Object data, Boolean copy)

at System.Windows.Clipboard.SetDataInternal(String format, Object data)

at System.Windows.Clipboard.SetText(String text, TextDataFormat format)

at LarkatorGUI.MainWindow.CopyTeleport_Click(Object sender, RoutedEventArgs e)

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.RaiseEvent(RoutedEventArgs e)

at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)

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.DispatcherOperation.InvokeImpl()

at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)

at System.Windows.Threading.DispatcherOperation.Invoke()

at System.Windows.Threading.Dispatcher.ProcessQueue()

at System.Windows.Threading.Dispatcher.WndProcHook(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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

at System.Windows.Application.RunDispatcher(Object ignore)

at System.Windows.Application.RunInternal(Window window)

at System.Windows.Application.Run(Window window)

at LarkatorGUI.App.Main()


OK

coldino added a commit that referenced this issue Apr 3, 2021
* Added the Genesis map (first one)
* Added the Valguero map (Closes #39 - thanks @Rottenbeer)
* Added the Crystal Isles map (thanks @m-soltys)
* Recalibrated **all** the maps using a new calibration system (Fixes #35)
* Updated ArkSavegameToolkit (a longshot that might help #47 or #51)
* Added button to force a Refresh of the savegame - off by default (from #33, thanks @jamckee)
* Added options to change which stats are displayed (Fix #31, from #33, thanks @jamckee)
* Added support for partial species name match (from #33, thanks @jamckee)
* Added option to hide untameable species (Fix #30, from #33, thanks @jamckee)
* Fix teleport coordinates when in a locale that switches , and . (Fix #48, closes #40 - thanks @WiredSharp)
* Never show the hover skiff "species"
* Fixed a rare crash when reordering searches with drag&drop
* Beef up error handling when accessing the clipboard (Fixes #45)
* Allow search gender to be changed with click and add a tooltip for how to change levels
* Introduce a new calibration system based on placed storage boxes in the world (see https://github.com/coldino/Larkator/wiki/Calibrating-New-Maps for more info)
* Add protection against corrupted config files (Fixes #46)
* Improve the savegame file watcher to hopefully never, ever need the refresh button

Closes #50, Closes #52.
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

1 participant