Random error
System.IO.IOException: The process cannot access the file 'C:\Users\endze\AppData\Local\Temp\AutoHotkey.Interop\x64\AutoHotkey.dll' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at AutoHotkey.Interop.Util.ExtractEmbededResourceToFile(Assembly assembly, String embededResourcePath, String targetFileName)
at AutoHotkey.Interop.Util.<>c__DisplayClass6_0.<LoadAutoHotKeyDll>b__0(String relativePath)
at System.Lazy1.CreateValue()
at System.Lazy
1.LazyInitValue()
at AutoHotkey.Interop.AutoHotkeyEngine..ctor()
at LaunchBox.AutoHotkey.RunControllerOnly()
at LaunchBox.Forms.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at LaunchBox.Forms.CustomFormBase.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Comments (7)
-
-
-
assigned issue to
-
assigned issue to
-
Sorry for replying late. Just made an account. The issue happened with the beta after launching BigBox which crashed for some reason (had some xml errors before - known issue which emumovies) and launchbox was unable to start after thatand showed the error above. Just a complete reinstall fixed it.
-
Instead of a full reinstall, there is a folder in the LaunchBox root folder called backup. In there are XML Backups that get created. All it should have taken was a few XML's back, and change their name to LaunchBox.xml and starting up LB. If that didn't work you can keep going back 1 at a time until one works.
-
Yep, that was the first thing I did. I think the error disappeared, but I wasn't able to import anything (but that was the emumovies issue that is already known). All good now, just wanted to report this little hiccup :)
-
Ok, glad that this worked out then. We'll still try and fix that bug up.
-
repo owner - changed status to resolved
I believe this was fixed in a previous beta. Let me know if not and I will re-open.
- Log in to comment
So for this bug, what this is saying is that your AutoHotKey is being used by another program, and LaunchBox can't get access to it for some reason. LaunchBox should handle this more gracefully instead of just an error and maybe kicking you out, (?) but this isn't a bug per se.