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

Unhandled exception when selection Basic thumbnail pack v2.2.2.3 in KKManager #170

Closed
Helblind opened this issue Jun 17, 2024 · 10 comments
Closed

Comments

@Helblind
Copy link

KKManager gives an Unhandled exception error when I select this mod. I have redownloaded it still occurs. Version 2.2.2 does not create this error. The error states you can continue or quit and "Cannot read that as a ZipFile.

When I try to unzip the zipmod I get "File Replace" prompts, asking if I want to replace existing files (eg. 00000000-00000000-_(__).png with 00000000-00000000-?(??).png). Not sure if that is normal.

Perhaps relevant information, this is in the details of the error:

************** Exception Text **************
Ionic.Zip.ZipException: Cannot read that as a ZipFile ---> System.OverflowException: overflow while creating filename
at Ionic.Zip.ZipEntry.CopyHelper.AppendCopyToFileName(String f)
at Ionic.Zip.ZipEntry.ReadDirEntry(ZipFile zf, Dictionary2 previouslySeen) at Ionic.Zip.ZipFile.ReadCentralDirectory(ZipFile zf) at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf) --- End of inner exception stack trace --- at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf) at Ionic.Zip.ZipFile.Read(Stream zipStream, TextWriter statusMessageWriter, Encoding encoding, EventHandler1 readProgress)
at KKManager.Data.Zipmods.SideloaderModLoader.<>c__DisplayClass9_1.b__4() in D:\SVN\KKManager\src\KKManager.Core\Data\Zipmods\SideloaderModLoader.cs:line 204
at KKManager.Data.Zipmods.SideloaderModInfo.get_Images() in D:\SVN\KKManager\src\KKManager.Core\Data\Zipmods\SideloaderModInfo.cs:line 58
at KKManager.Windows.ToolWindows.Properties.Viewers.SideloaderViewerBase.set_CurrentObject(SideloaderModInfo value) in D:\SVN\KKManager\src\KKManager\Windows\ToolWindows\Properties\Viewers\SideloaderViewer.cs:line 30
at KKManager.Windows.ToolWindows.Properties.PropertiesToolWindow.ShowProperties(Object targetObject, DockContent source) in D:\SVN\KKManager\src\KKManager\Windows\ToolWindows\Properties\PropertiesToolWindow.cs:line 103
at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
at BrightIdeasSoftware.ObjectListView.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@ManlyMarco
Copy link
Collaborator

Try running in Japanese locale.

@Helblind
Copy link
Author

Unfortunately, that did not fix the issue.

@ManlyMarco
Copy link
Collaborator

ManlyMarco commented Jun 17, 2024

Does the zipmod load correctly in studio? You should see the thumbnails in the quick search window.

@Helblind
Copy link
Author

It does seem to load the thumbnails properly. There are a bunch of thumbnails that are questions marks, but less than without the mod loaded.

@Helblind
Copy link
Author

If I unzip it (selecting auto-rename) then rezip it, it no longer causes the error and seems to work, as far as I can tell.

@ManlyMarco
Copy link
Collaborator

What compression app and settings did you use to zip it up?

@Helblind
Copy link
Author

Helblind commented Jun 19, 2024 via email

@ManlyMarco
Copy link
Collaborator

Can confirm that the zipmod in the modpack is messed up, I'll see about fixing it later.

@Helblind
Copy link
Author

So, I removed the "Misc" folder under the "Sideloader Modpack - Studio" folder and ran an update from KK Manager 1.2.0. It downloaded the KK_QuickAccessBox_Thumbs.zipmod, which gave the same error in KK Manager. Hope that helps!

@ManlyMarco
Copy link
Collaborator

The zipmod should be fixed in the modpack now.

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

2 participants