Jump to content

I can't save my MAIN pokemon file and it gives me an unhanded extension error please help!

Recommended Posts

this is the message I keep getting. If you or someone you know can help I would greatly appreciate it I have not been able to pokegen for months and can't seem to fix this. I am doing this on my MAC BOOK PRO and have been doing it for over a year perfectly fine until the past 3 months it stopped working. I used wine bottler to convert the file for mac compatibility and it used to work without any issues at all. If I go to over right the MAIN file (save file) it gives me that error code so no new pokemon I create will upload

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.UnauthorizedAccessException: Access to the path 'FsaveDataBackup\main' is denied.

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)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at System.IO.File.WriteAllBytes(String path, Byte[] bytes)

at PKHeX.Main.clickExportSAV(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)

at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)

at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************


Assembly Version:

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll


Assembly Version:

Win32 Version:

CodeBase: file:///C:/winebottler/PKHeX.exe


Assembly Version:

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


Assembly Version:

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll


Assembly Version:

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


Assembly Version:

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll


Assembly Version:

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging


For example:

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...