magic number in GZip header is not correct

The official support forum for EditVoicepack

magic number in GZip header is not correct

Postby pajamapilot » Sat Apr 28, 2012 8:04 pm

Any body ever get this error or know how to fix it?

This is the error I get:

The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.
at System.IO.Compression.GZipDecoder.ReadGzipHeader()
at System.IO.Compression.Inflater.Decode()
at System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length)
at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.Compression.GZipStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding)
at System.Xml.XmlTextReaderImpl..ctor(Stream stream, Byte[] bytes, Int32 byteCount, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext context, Boolean closeInput)
at System.Xml.XmlReader.CreateReaderImpl(Stream input, XmlReaderSettings settings, Uri baseUri, String baseUriStr, XmlParserContext inputContext, Boolean closeInput)
at System.Xml.XmlReader.Create(Stream input)
at Bevelstone.EditVoicepack.DataModel.FileDataMapper.LoadIfAvailable(DataStorage dataStorage, String[] files) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\DataModel\FileDataMapper.cs:line 82
at Bevelstone.EditVoicepack.DataModel.FileDataMapper.Load(DataStorage dataStorage) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\DataModel\FileDataMapper.cs:line 51
at Bevelstone.EditVoicepack.Client.MainForm.LoadData(AboutWindow aboutWindow) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\Client\MainForm.xaml.cs:line 232
at Bevelstone.EditVoicepack.Client.MainForm.<>c__DisplayClass3.<OnLoaded>b__1(Object syncContext) in D:\Documents\Bevelstone\Flight Simulator\EditVoicepack\Client\MainForm.xaml.cs:line 160
pajamapilot
Ny Bruger
 
Posts: 1
Joined: Sat Apr 28, 2012 7:57 pm

Postby Lars » Sun Apr 29, 2012 3:04 pm

Something has gone wrong with the data file of EditVoicepack.

The file is stored in C:\ProgramData\EditVoicepackX

Notice this is a hidden folder, but if you enter it in the address bar, it will open (assuming you have Windows Vista or Windows 7 - it's somewhere else in XP, but I hope XP has died out by now so I do not need to figure out where it is).

1) In this folder, delete the file "EditVoicepackData.xml.gzip".
2) If there is a folder named "Updater":
--- a) Open it
--- b) Select "EditVoicepackData.xml.gzip"
--- c) Press Ctrl-C to copy the file
--- d) Go back to the C:\ProgramData\EditVoicepackX folder
--- e) Press Ctrl-V to paste the file.

If you had the "Updater" folder, your data file will be reverted to the state it was in the last time you ran update voicepack - any change you did after this is lost. If you do not have the "Updater" folder, you will loose all changes since EditVoicepack was installed.
Lars
FSOnline
 
Posts: 2039
Joined: Sun Mar 04, 2007 11:06 am
Location: Amsterdam


Return to EditVoicepack Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron