Importing zip to convolver fails [Fixed pending build]

Hi,

When I tried to import zip file with multiple impulse response files, “loading” windows don’t disappear and error is logged:

02/04 23:15:21 Error: Error in thread pool work item: System.NotSupportedException: Encoding 437 data could not be found. Make sure you have correct international codes
et assembly installed and enabled.
  at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x0025f] in <a8460a77e67a430a8486a9751162e5f4>:0
  at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToString (System.Byte[] data, System.Int32 count) [0x0000e] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0
  at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToStringExt (System.Int32 flags, System.Byte[] data, System.Int32 count) [0x00020] in <8e8fa28d216a43ec8dcb2258d1f7
bf00>:0
  at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries () [0x002b2] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0
  at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor (System.IO.Stream stream) [0x00066] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0

I don’t know it is caused by archiver (tried build in windows 10 and 7zip) or some strange problem with locales on RoonServer side (linux).

Best regards,
Maciek

A few questions:

  • What do the filenames look like?

  • What is the locale environment like on the linux side?

  • Can you upload the zip file somewhere and PM me a link so I can take a look?

1 Like

Brian,

Filenames are pretty simple:
impulse_176.wav
impulse_192.wav
impulse_352.wav
impulse_384.wav
impulse_44.wav
impulse_48.wav
impulse_88.wav
impulse_96.wav

Locales:
root@Tower:/# locale -a
C
C.UTF-8
POSIX
root@Tower:/# locale
LANG=
LANGUAGE=
LC_CTYPE=“POSIX”
LC_NUMERIC=“POSIX”
LC_TIME=“POSIX”
LC_COLLATE=“POSIX”
LC_MONETARY=“POSIX”
LC_MESSAGES=“POSIX”
LC_PAPER=“POSIX”
LC_NAME=“POSIX”
LC_ADDRESS=“POSIX”
LC_TELEPHONE=“POSIX”
LC_MEASUREMENT=“POSIX”
LC_IDENTIFICATION=“POSIX”
LC_ALL=

I’ve send You PM with link to file.

Best regards,
Maciek

Please look at this. I’m not programmer, so maybe it’s not that case: http://stackoverflow.com/questions/37779459/no-data-available-for-encoding-1252-xamarin

OK, I took a quick look. I can reproduce the crash you saw. If I unzip/rezip the file on my mac, it loads properly.

I uploaded that here–see if it works for you: https://www.dropbox.com/s/y2px3dd90mz6uw6/impulse.zip?dl=0

Your locale stuff on linux looks very clean/normal.

I’ll dig more into what we might have to do to support that zip file during the week. Also need to check how it behaves on mac/windows in case there are issues there.

Unfortunately, still got the same error with zip provided by You. I’ve tried upload it via Roon under Windows 10 and latest macOS. :frowning:

I’ve even tried to recompress archive under macOS, but again, same error.

Best regards,
Maciek

Same issue here. I’ve unzipped and zipped using Windows 10, Mac, and Linux, each time getting the same issue:

02/05 21:51:43 Error: Error in thread pool work item: System.NotSupportedException: Encoding 850 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
  at System.Text.Encoding.GetEncoding (System.Int32 codepage) [0x0025f] in <a8460a77e67a430a8486a9751162e5f4>:0 
  at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToString (System.Byte[] data, System.Int32 count) [0x0000e] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0 
  at ICSharpCode.SharpZipLib.Zip.ZipConstants.ConvertToStringExt (System.Int32 flags, System.Byte[] data, System.Int32 count) [0x00020] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0 
  at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries () [0x002b2] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0 
  at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor (System.IO.Stream stream) [0x00066] in <8e8fa28d216a43ec8dcb2258d1f7bf00>:0 

My locale info is:

root@mythbox:/var/roon/RoonServer/Logs# locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX

Is there a codeset I should be installing here?

  • Dab

Ok, there are two problems here.

@maciekb’s first zip file used a newer version of the .zip spec than (even the newest version of) our zip library supports. This is not getting fixed until we can get that support from upstream, but it doesn’t seem difficult to produce zip files without this issue with a little bit of fiddling.

When I re-zipped it on my mac, it fixed the first issue, but exposed the second problem, which relates to codepages stuff you guys noticed. This needs to be fixed on our builds–there are a couple of files missing from our package. That’s coming.

I also cleaned up the error handling so it shows an error instead of hanging at a spinner.

Thanks @brian. Great support, I really appreciate your help. :slight_smile:

Best regards,
Maciek

I’m now able to upload a zip file with build 200. Issue fixed for me. Thanks!

Best regards,
Maciek