WITP Staff Fails to Run

Post bug reports and ask for help with other issues here.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

User avatar
Barneyrubb90
Posts: 34
Joined: Mon Mar 17, 2008 5:26 pm
Location: Oviedo, Florida

RE: WITP Staff Fails to Run

Post by Barneyrubb90 »

I have the hotfix installed. The tool starts well, I can load the database, log out and log back in, my error occurs when trying to then load the save file.

Tried running on older laptop running XP, basically getting the same error on both machines.

I am trying to attach the error note.

I can send the error file if it will help.

Sorry I didn't provide details before appreciate your assistance.
Attachments
staff.jpg
staff.jpg (63.88 KiB) Viewed 210 times
User avatar
ny59giants
Posts: 9888
Joined: Mon Jan 10, 2005 12:02 pm

RE: WITP Staff Fails to Run

Post by ny59giants »

I got it to work now.  [:)]
I think I just unzipped it into the "Tools" folder and didn't go into the "witpstaff" folder.
Thanks [&o][&o]
[center]Image[/center]
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WITP Staff Fails to Run

Post by n01487477 »

Barney,
this is the error if you dont have the hot fix installed properly ... make sure that the *.dll is the same as mine in the picture above ...


Damian
User avatar
Barneyrubb90
Posts: 34
Joined: Mon Mar 17, 2008 5:26 pm
Location: Oviedo, Florida

RE: WITP Staff Fails to Run

Post by Barneyrubb90 »

Got your screen shot of the file structure and went back to Erik's original post...one file had the DLL and the other only the PDF.

I downloaded the dll and it now is working.

Sorry for my inability to follow directions...thanks for the assist and the picture which got me there.
Woos
Posts: 277
Joined: Sun Jun 05, 2005 5:12 pm
Location: Germany

RE: WITP Staff Fails to Run

Post by Woos »

Concerning the problems with scenarios.

The problems show that WitpStaff internally uses a different database format than WitpAE does (in my opinion of course a better one ;-). But the WitpAE format allows scenario designers all kind of strange things, like having a base being an HQ of a unit, units preparing for bases which are excluded from the scenario, ..... and WitpAE works happily ever after.
Well, WitpStaff does not. It uses a somewhat more OO approach and a base can not be a HQ and dangling pointers are not allowed.

The same problem BTW existed with WitP_Original where several scenarios would not load into witpDecoder. Complain to the scenario authors. Or better don't, they had enough things to do without caring to make a scenario compatible with a tool which is actually only needed for handling the complexity if the main campaign.
User avatar
Tanaka
Posts: 5150
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

RE: WITP Staff Fails to Run

Post by Tanaka »

ORIGINAL: Woos

Concerning the problems with scenarios.

The problems show that WitpStaff internally uses a different database format than WitpAE does (in my opinion of course a better one ;-). But the WitpAE format allows scenario designers all kind of strange things, like having a base being an HQ of a unit, units preparing for bases which are excluded from the scenario, ..... and WitpAE works happily ever after.
Well, WitpStaff does not. It uses a somewhat more OO approach and a base can not be a HQ and dangling pointers are not allowed.

The same problem BTW existed with WitP_Original where several scenarios would not load into witpDecoder. Complain to the scenario authors. Or better don't, they had enough things to do without caring to make a scenario compatible with a tool which is actually only needed for handling the complexity if the main campaign.

Ah thanks that explains it! I will try with the big campaign!
Image
User avatar
Rapunzel
Posts: 141
Joined: Wed Apr 20, 2005 1:53 pm
Location: Germany

RE: WITP Staff Fails to Run

Post by Rapunzel »

Well I run win vista 64 bit and wirpstaff doesnt start either:

config.directory is .
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Widget.<clinit>(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aQ.d(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aQ.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
AttuWatcher
Posts: 489
Joined: Thu Jun 25, 2009 3:15 pm
Location: Hex 181, 36

RE: WITP Staff Fails to Run

Post by AttuWatcher »

ORIGINAL: Woos

Concerning the problems with scenarios.

The problems show that WitpStaff internally uses a different database format than WitpAE does (in my opinion of course a better one ;-). But the WitpAE format allows scenario designers all kind of strange things, like having a base being an HQ of a unit, units preparing for bases which are excluded from the scenario, ..... and WitpAE works happily ever after.
Well, WitpStaff does not. It uses a somewhat more OO approach and a base can not be a HQ and dangling pointers are not allowed.

The same problem BTW existed with WitP_Original where several scenarios would not load into witpDecoder. Complain to the scenario authors. Or better don't, they had enough things to do without caring to make a scenario compatible with a tool which is actually only needed for handling the complexity if the main campaign.

Thanks Woos!
Image
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WITP Staff Fails to Run

Post by n01487477 »

ORIGINAL: Rapunzel

Well I run win vista 64 bit and wirpstaff doesnt start either:

config.directory is .
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Widget.<clinit>(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aQ.d(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aQ.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
You need to look at your configuration that you have both 32 and 64 bit JVM, I don't have Vista 64, but have a look here, or do a search on Cannot load 32-bit SWT libraries on 64-bit JVM

--Damian--
User avatar
Rapunzel
Posts: 141
Joined: Wed Apr 20, 2005 1:53 pm
Location: Germany

RE: WITP Staff Fails to Run

Post by Rapunzel »

Thx that solved the problem [:)]
User avatar
SuluSea
Posts: 2397
Joined: Fri Nov 17, 2006 2:13 pm

RE: WITP Staff Fails to Run

Post by SuluSea »

I've been fighting with this all week to try and run it. I have Windows Vista 32 bit with IE 8 when I click about IE 8 to see if its 32 or 64 bit it says cipher strength: 256 bit. I downloaded , then removed Java because I didn't have success. Will this program run on IE 8?
&nbsp;
Thanks for a good looking program, I hope you can help me get it rolling.
"There’s no such thing as a bitter person who keeps the bitterness to himself.” ~ Erwin Lutzer
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WITP Staff Fails to Run

Post by n01487477 »

SuluSea,
Rapunzel had the same problem (previous post), but he fixed it eventually, maybe pm him and see if he will share what he did exactly ...

--Damian-- 
User avatar
SuluSea
Posts: 2397
Joined: Fri Nov 17, 2006 2:13 pm

RE: WITP Staff Fails to Run

Post by SuluSea »

I was hoping to be able to use this program , been messing with downloading different java programs, deleted windows IE8 and went back to windows IE 7, apparently I have Vista 32 bits. I'll just chalk this up as something that doesn't work on my system and end the frustration.
"There’s no such thing as a bitter person who keeps the bitterness to himself.” ~ Erwin Lutzer
User avatar
sval062
Posts: 78
Joined: Wed Apr 15, 2009 3:41 pm

RE: WITP Staff Fails to Run

Post by sval062 »

ORIGINAL: n01487477

ok worked fine on mine ... where did you put the new dll file ? Here ? Wish you used a chat program sometimes ;)

Image

Sorry to come back but I still face problem with Witp staff.
I am on Vista; I have also installed the latest Java program and the file given by Erik and I can initialize witp staff but cannot load a saved game --> CTD when I try.[&:]

I have noticed that the pwsdll.dll program is dated 27th of July for me, and 24th from the screenshot. I am not sure this is a clue.

User avatar
SuluSea
Posts: 2397
Joined: Fri Nov 17, 2006 2:13 pm

RE: WITP Staff Fails to Run

Post by SuluSea »

Well after a fresh reinstall of everything I'm able to run the Staff program. I'm glad I'm stubborn. [;)]
"There’s no such thing as a bitter person who keeps the bitterness to himself.” ~ Erwin Lutzer
User avatar
sval062
Posts: 78
Joined: Wed Apr 15, 2009 3:41 pm

RE: WITP Staff Fails to Run

Post by sval062 »

ORIGINAL: sval
ORIGINAL: n01487477

ok worked fine on mine ... where did you put the new dll file ? Here ? Wish you used a chat program sometimes ;)

Image

Sorry to come back but I still face problem with Witp staff.
I am on Vista; I have also installed the latest Java program and the file given by Erik and I can initialize witp staff but cannot load a saved game --> CTD when I try.[&:]

I have noticed that the pwsdll.dll program is dated 27th of July for me, and 24th from the screenshot. I am not sure this is a clue.


[:(][:(][:(]


Can I have an answer please?

Here is what I found on witpdecoder text file:

"Edition\tools\witpstaff\db
Now trying plugin UPGTestPlugin
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Matrix Games\War in the Pacific Admiral's Edition\tools\witpstaff\pwsdll.dll: L'application n'a pas pu démarrer car sa configuration côte-à-côte est incorrecte. Pour plus d'informations, voir le journal d'événements d'applications"

It says that "the application did not start because its configuration side-by-side (litteral translation) is not correct"...

What should I do? [8|]
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WITP Staff Fails to Run

Post by n01487477 »

ORIGINAL: sval

ORIGINAL: sval
ORIGINAL: n01487477

ok worked fine on mine ... where did you put the new dll file ? Here ? Wish you used a chat program sometimes ;)

Image

Sorry to come back but I still face problem with Witp staff.
I am on Vista; I have also installed the latest Java program and the file given by Erik and I can initialize witp staff but cannot load a saved game --> CTD when I try.[&:]

I have noticed that the pwsdll.dll program is dated 27th of July for me, and 24th from the screenshot. I am not sure this is a clue.


[:(][:(][:(]


Can I have an answer please?

Here is what I found on witpdecoder text file:

"Edition\tools\witpstaff\db
Now trying plugin UPGTestPlugin
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Matrix Games\War in the Pacific Admiral's Edition\tools\witpstaff\pwsdll.dll: L'application n'a pas pu démarrer car sa configuration côte-à-côte est incorrecte. Pour plus d'informations, voir le journal d'événements d'applications"

It says that "the application did not start because its configuration side-by-side (litteral translation) is not correct"...

What should I do? [8|]

Ok, firstly, I'm not the author of this program, I made Tracker (for witp) with Floyd, just trying to give some assistance ... so maybe Woo's will come by and help sometime, cause I don't know what "side by side" is [&:] There is a thread above for dealing with things. The date is probably the date you downloaded the file.

But let's work through this anyway ...
1. What is your OS ?
2. What version of JavaVM do you have?
3. Have you tried to delete the DB folder, and then reinitialised ?
4. Can you run the batch file from DOS mode, to see what errors might occur.
5. ... Are you trying to load a small scenario or grand campaign save ?

pad152
Posts: 2835
Joined: Sun Apr 23, 2000 8:00 am

RE: WITP Staff Fails to Run

Post by pad152 »

Ok, got the hotfix but, get the following errors on loading save game file.


"LCU 5013 (GUAM USN) is assigned to a non-existant HQ 0"
"LCU 6332 (1st Middlesex) is assigned to a non-existant HQ 0"
"LCU 6333 (Rifles of Canada) is assigned to a non-existant HQ 0"
"LCU 6334 (Winnipeg Grenadiers) is assigned to a non-existant HQ 0"
"LCU 6335 (102nd RN) is assigned to a non-existant HQ 0"
"LCU 6336 (Hong Kong) is assigned to a non-existant HQ 0"
"LCU 6337 (KOWLOON) is assigned to a non-existant HQ 0"

Couldn't write things to the DB due to java.sql.SQLException: Check constraint violation


Playing allies, Guam sorry to say has been take over by the Japanese!

Win XP 32 bit Service Pack 3
Woos
Posts: 277
Joined: Sun Jun 05, 2005 5:12 pm
Location: Germany

RE: WITP Staff Fails to Run

Post by Woos »

Does it fix itself after one turn?

As the readme of WitpStaff says, WitpAE is sometimes fixing database inconsistencies only during turn execution, so WitpStaff sees them once.

And what comes after "Couldn't write things to the DB due to java.sql.SQLException: Check constraint violation". This shouldn't be caused by the HQs.

BTW, please post such questions in the 'official' thread.
User avatar
sval062
Posts: 78
Joined: Wed Apr 15, 2009 3:41 pm

RE: WITP Staff Fails to Run

Post by sval062 »

ORIGINAL: n01487477


Ok, firstly, I'm not the author of this program, I made Tracker (for witp) with Floyd, just trying to give some assistance ... so maybe Woo's will come by and help sometime, cause I don't know what "side by side" is [&:] There is a thread above for dealing with things. The date is probably the date you downloaded the file.

But let's work through this anyway ...
1. What is your OS ?
2. What version of JavaVM do you have?
3. Have you tried to delete the DB folder, and then reinitialised ?
4. Can you run the batch file from DOS mode, to see what errors might occur.
5. ... Are you trying to load a small scenario or grand campaign save ?


Hi Damian,

1- Vista V6 (32)
2- Java v6 update 14
3- Yes, several times. I also tried with another name folders, and I also reinstalled everything (from Java to AE)
4- [Edit) Tried: and it's the same: I can enter in Witpstaff, but CTD when I load the save files (and nothing else appears on Dos Box) --> No other clue
5- Grand campaign

And I am sure the date is not the date I download the file since I have downloaded it again yesterday, and it has the same date
Post Reply

Return to “Tech Support”