FSOnline.dk Forum Index FSOnline.dk
Welcome to the forum. For the main content of the site, please visit the Wiki
 
 FAQForum FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   SmartFeedRSS/Atom   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

magic number in GZip header is not correct

 
Post new topic   Reply to topic    FSOnline.dk Forum Index -> EditVoicepack Support
View previous topic :: View next topic  
Author Message
pajamapilot
Ny Bruger


Joined: 28 Apr 2012
Posts: 1

PostPosted: Sat Apr 28, 2012 8:04 pm    Post subject: magic number in GZip header is not correct Reply with quote

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
Back to top
View user's profile Send private message
Lars
FSOnline


Joined: 04 Mar 2007
Posts: 1662
Location: Amsterdam

PostPosted: Sun Apr 29, 2012 3:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    FSOnline.dk Forum Index -> EditVoicepack Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group