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

1 is not a supported code page #11

Open
rquinio opened this issue Jun 29, 2018 · 2 comments
Open

1 is not a supported code page #11

rquinio opened this issue Jun 29, 2018 · 2 comments

Comments

@rquinio
Copy link
Owner

rquinio commented Jun 29, 2018

2018-06-28 22:35:20,980 FATAL Program - Fatal error.System.ArgumentException: 1 is not a supported code page.
Parameter name: codepage
   at System.Text.Encoding.GetEncoding(Int32 codepage)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries()
   at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(Stream stream)
   at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(Stream inputStream, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime, Boolean isStreamOwner)
   at PortraitBuilder.Engine.Loader.UnzipDLCs(List`1 dlcs) in c:\Users\Romain\git\PortraitBuilder\PortraitBuilder\Engine\Loader.cs:line 128
   at PortraitBuilder.Engine.Loader.LoadDLCs() in c:\Users\Romain\git\PortraitBuilder\PortraitBuilder\Engine\Loader.cs:line 106
   at PortraitBuilder.UI.PortraitBuilderForm.loadDLCs(Boolean clean) in c:\Users\Romain\git\PortraitBuilder\PortraitBuilder\UI\PortraitBuilderForm.cs:line 144
   at PortraitBuilder.UI.PortraitBuilderForm.load(Boolean clean) in c:\Users\Romain\git\PortraitBuilder\PortraitBuilder\UI\PortraitBuilderForm.cs:line 125
   at PortraitBuilder.UI.PortraitBuilderForm..ctor() in c:\Users\Romain\git\PortraitBuilder\PortraitBuilder\UI\PortraitBuilderForm.cs:line 77
   at PortraitBuilder.Program.StartUI(String[] args) in c:\Users\Romain\git\PortraitBuilder\PortraitBuilder\Program.cs:line 85
@Gloweye
Copy link

Gloweye commented Sep 3, 2018

Still getting this Windows 10:

2018-09-03 21:15:34,642 INFO  Loader - Loading DLCs from D:\Spel\Steam\steamapps\common\Crusader Kings II\\dlc\
2018-09-03 21:15:34,649 INFO  Loader - Extracting Legacy of Rome to C:\Users\Jacco\Downloads\PortraitBuilder-2.5.0\dlc\dlc011\
2018-09-03 21:15:34,656 FATAL Program - Fatal error.System.ArgumentException: 1 is not a supported code page.
Parameter name: codepage
[same as previous reporter]

Any way I can be of assistance by supplying more information ? Or a workaround to supply the correct code page ?

Apologies for the notification if the above commit already solves it but hasn't made it to public yet.

@rquinio
Copy link
Owner Author

rquinio commented Sep 3, 2018

@Gloweye I've just released v3.0-RC.2 which contains the commit you mentioned, could you please check whether the issue is gone ?

Note .NET required version has been upgraded from 4.5 to 4.6, which comes pre-installed starting with Windows 10.

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