Page 2 of 3

RE: WITP Staff Fails to Run

Posted: Tue Jul 28, 2009 12:20 pm
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.

RE: WITP Staff Fails to Run

Posted: Tue Jul 28, 2009 12:23 pm
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]

RE: WITP Staff Fails to Run

Posted: Tue Jul 28, 2009 12:25 pm
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

RE: WITP Staff Fails to Run

Posted: Tue Jul 28, 2009 12:28 pm
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.

RE: WITP Staff Fails to Run

Posted: Tue Jul 28, 2009 4:31 pm
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.

RE: WITP Staff Fails to Run

Posted: Wed Jul 29, 2009 12:14 am
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!

RE: WITP Staff Fails to Run

Posted: Wed Jul 29, 2009 4:37 am
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)

RE: WITP Staff Fails to Run

Posted: Wed Jul 29, 2009 4:52 am
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!

RE: WITP Staff Fails to Run

Posted: Wed Jul 29, 2009 4:57 am
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--

RE: WITP Staff Fails to Run

Posted: Wed Jul 29, 2009 12:01 pm
by Rapunzel
Thx that solved the problem [:)]

RE: WITP Staff Fails to Run

Posted: Thu Jul 30, 2009 10:15 am
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.

RE: WITP Staff Fails to Run

Posted: Thu Jul 30, 2009 10:19 am
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-- 

RE: WITP Staff Fails to Run

Posted: Thu Jul 30, 2009 3:04 pm
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.

RE: WITP Staff Fails to Run

Posted: Thu Jul 30, 2009 7:22 pm
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.


RE: WITP Staff Fails to Run

Posted: Thu Jul 30, 2009 9:41 pm
by SuluSea
Well after a fresh reinstall of everything I'm able to run the Staff program. I'm glad I'm stubborn. [;)]

RE: WITP Staff Fails to Run

Posted: Fri Jul 31, 2009 3:48 pm
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|]

RE: WITP Staff Fails to Run

Posted: Sat Aug 01, 2009 12:24 am
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 ?


RE: WITP Staff Fails to Run

Posted: Sat Aug 01, 2009 4:13 am
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

RE: WITP Staff Fails to Run

Posted: Sat Aug 01, 2009 5:53 am
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.

RE: WITP Staff Fails to Run

Posted: Sat Aug 01, 2009 6:36 am
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