ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

Mono error converting zk:stable to sdz #2862

Open Porkch0p opened 2 years ago

Porkch0p commented 2 years ago

System.NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled.

This error is apparently a known issue for users of sharpcompress < 0.26.0 where it defaults to a Windows-only encoding. Bundled version appears to be 0.11.6. The errors do not cause obvious side effects aside from extended traces when launched in a terminal.

Zero-K.exe Information: 0 : https://repos.springrts.com/zkmenu/packages/a1847c6eacbba9fbe5d4e42d0dbd923e.sdp Completed - 80.33k
Zero-K.exe Information: 0 : zkmenu:stable download complete - 114.25k
Zero-K.exe Error: 0 : Error converting zkmenu:stable to sdz System.NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
  at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x0024d] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Text.Encoding.GetEncoding (System.String name) [0x00015] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Ionic.Zip.ZipOutputStream..ctor (System.IO.Stream stream, System.Boolean leaveOpen) [0x00000] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
  at (wrapper remoting-invoke-with-check) Ionic.Zip.ZipOutputStream..ctor(System.IO.Stream,bool)
  at PlasmaDownloader.Packages.Sdp2Sdz.GenerateSdz (ZkData.SpringPaths paths, ZkData.SdpArchive fileList, System.String tempSdz, System.Action`1[T] progressIndicator) [0x0006d] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
  at PlasmaDownloader.Packages.Sdp2Sdz.ConvertSdp2Sdz (ZkData.SpringPaths paths, ZkData.Hash sdpHash, System.String targetSdz, System.Action`1[T] progressIndicator) [0x00069] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
  at PlasmaDownloader.Packages.PackageDownload.MasterDownloadThread () [0x001ea] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
Zero-K.exe Information: 0 : https://repos.springrts.com/zk/packages/b5c59cf8de4b99c5b4c2ebd2728ddfdf.sdp Completed - 224.40k
Zero-K.exe Information: 0 : zk:stable download complete - 241.59k
Zero-K.exe Error: 0 : Error converting zk:stable to sdz System.NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
  at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x0024d] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at System.Text.Encoding.GetEncoding (System.String name) [0x00015] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  at Ionic.Zip.ZipOutputStream..ctor (System.IO.Stream stream, System.Boolean leaveOpen) [0x00000] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
  at (wrapper remoting-invoke-with-check) Ionic.Zip.ZipOutputStream..ctor(System.IO.Stream,bool)
  at PlasmaDownloader.Packages.Sdp2Sdz.GenerateSdz (ZkData.SpringPaths paths, ZkData.SdpArchive fileList, System.String tempSdz, System.Action`1[T] progressIndicator) [0x0006d] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
  at PlasmaDownloader.Packages.Sdp2Sdz.ConvertSdp2Sdz (ZkData.SpringPaths paths, ZkData.Hash sdpHash, System.String targetSdz, System.Action`1[T] progressIndicator) [0x00069] in <1bf9702e92074a6b9ae1915ae4baba9e>:0 
  at PlasmaDownloader.Packages.PackageDownload.MasterDownloadThread () [0x001ea] in <1bf9702e92074a6b9ae1915ae4baba9e>:0