PDA

View Full Version : s3pe - What does this error message mean?


vvlai
16th Jun 2010, 10:08 AM
Hi all.
I am using s3pe to compress all my package files..everything went so smoothly before, and I had no idea why this error appeared so suddenly. I tried to get the latest version of s3pe(1003-06-1044), but the problem still exists.

well, the error window showed "Expected major version '2'. Found '1'"

and my steps was:
1) File> New
2) Resource> Import> From package..(I tried "as dbc" too)
3) Select the package files (I even tried just selecting one file only)
4) Click "Import"

then that error window pops out..

Would someone tell me what's my problem and how to solve it? Thanks!

Inge Jones
16th Jun 2010, 05:12 PM
I don't think you can solve it. It looks like you found a new type of data that s3pe was not expecting. Please send the full error message as well as the package that caused it to [email protected]

Digitalchaos
16th Jun 2010, 06:49 PM
Is it possible that the package you are trying to import from is a TS2 package?
I think this will give that error...actually I'm pretty sure that is the problem.

vvlai
16th Jun 2010, 07:17 PM
Thanks for replying :)

Actually, I was reorganizing my TS3 package files (checked by Dashboard), and they could be compressed into one package file by using s3pe before.
And now the problem is not just for specific files..for whatever file I chose, this error comes out:


System.IO.InvalidDataException: Expected major version '2'. Found '1'.
at s3pi.Package.Package.CheckHeader()
at s3pi.Package.Package..ctor(Int32 requestedVersion, Stream s)
at s3pi.Package.Package.OpenPackage(Int32 APIversion, String PackagePath, Boolean readwrite)
at s3pi.Package.Package.OpenPackage(Int32 APIversion, String packagePath)
at S3PIDemoFE.MainForm.importPackagesCommon(String[] packageList, Boolean compress, DuplicateHandling dups, List`1 dupsList)
at S3PIDemoFE.MainForm.resourceImportPackages()
at S3PIDemoFE.MainForm.menuBarWidget1_MBResource_Click(Object sender, MBClickEventArgs mn)
at S3PIDemoFE.MenuBarWidget.OnMBResource_Click(Object sender, MB mn)
at S3PIDemoFE.MenuBarWidget.tsMBR_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Inge Jones
16th Jun 2010, 10:47 PM
Have you tried these same files with an earlier version?

vvlai
17th Jun 2010, 01:09 PM
yea I tried these files in the earlier version, they could be imported successfully.

I have kept the original packages in a folder and wanted to reorganize them yesterday. (still using the earlier version of s3pe)
However, I just don't know why all the packages couldn't be imported so suddenly, so I go get the latest version of s3pe...but the problem still remain unsolved.
I forgot what the error message said in the earlier version, maybe I should try the earlier version of s3pe again.
Where could I get the earlier version?

Inge Jones
17th Jun 2010, 01:23 PM
well, you said it worked ok in the earlier version, so I wouldn't expect you to have received an error message. I'll ask the guys at MATY if any of them have tried it with a recent version.

Oh, please could you try it with the latest QA version?

pljones
17th Jun 2010, 06:33 PM
There's only one reason that message comes out.

It's if the DBPF header says (a) it's a DBPF file and (b) it's version 1 (Sims2) rather than version 2 (Sims3).

Or the file is corrupt somehow.