Page 85 of 320

RE: How do you export error messages from the load screen?

Posted: Mon Aug 23, 2010 11:51 am
by n01487477
ORIGINAL: witpqs

ORIGINAL: n01487477

ORIGINAL: witpqs

Absolutely love the new version. The 'Base Load' calculation is priceless for figuring out island garrisons.

One little glitch. Twice now, a few turns apart, Tracker has erroneously reported that zillions of my ships upgraded. See screenshot below.

FYI, I started a new Tracker database with the new Tracker code release.

EDIT TO ADD: In case I am being unclear, the list went on for pages on end and might have included all of my ships!
Thanks witpqs,
we know about it and it will continue every 5 turns until we release an interim (soonish) ... a bit of an oversight by us ~ sorry;
The error comes from us trying to improve the start up times which we applied to the Ship set...

Thanks! Wouldn't have cluttered the thread if I realized you already had it. [8D]
With 56 pages and counting ... LOL [8D]

RE: How do you export error messages from the load screen?

Posted: Tue Aug 24, 2010 1:10 am
by vonTirpitz
PM sent. Thanks!

RE: How do you export error messages from the load screen?

Posted: Tue Aug 24, 2010 2:34 pm
by Judykator
The next round does not load [&:] I click Turn - Read turn and program is not loaded save game.


Image

In english mesage: "Not enough storage space available to process this command"

http://sites.google.com/site/witptracker/support in the Java Memory Issues section not help [8|]

RE: How do you export error messages from the load screen?

Posted: Tue Aug 24, 2010 3:48 pm
by Theages
I encountered the same error after about turn 30 (I use to read in turns with multi-turn read (1 to 3 normally)).

Using the nomap switch or not does not influence the error.
I changed  -Xms384 -Xmx512 to -Xms768 -Xmx1512 which allowed me to read in 1 (!) more turn.
After I changed to to  -Xms512 -Xmx768 I am now up to turn 40 without problems.

I am using Java 1.6 update 21 on Win7 x64

RE: How do you export error messages from the load screen?

Posted: Tue Aug 24, 2010 5:37 pm
by Judykator
I change to "java -Xms768m -Xmx1512m -jar "WitPTracker.jar" nomap" and not help ;(
I am using Java 1.6 update 21 on WinXP Home SP2

RE: How do you export error messages from the load screen?

Posted: Tue Aug 24, 2010 11:53 pm
by floydg
It could be that your PC really doesn't have any more memory to allocate.

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 1:43 am
by Judykator
I have 2 GB RAM and 4 GB virtual memory. Until now it was not the problem. Stopped working at 85 round. What should I do [&o]?

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 10:24 am
by floydg
ORIGINAL: Judykator

I have 2 GB RAM and 4 GB virtual memory. Until now it was not the problem. Stopped working at 85 round. What should I do [&o]?

Experiment to try: reboot the PC and run only WitPTracker. It looks like it's failing when the program attempts to move the DLL into memory and couldn't find enough free space to do it.

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 10:32 am
by Judykator
ORIGINAL: floydg
Experiment to try: reboot the PC and run only WitPTracker. It looks like it's failing when the program attempts to move the DLL into memory and couldn't find enough free space to do it.

I tried. Turned off all programs running in the background. It did not help.

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 10:47 am
by herwin
ORIGINAL: Judykator

ORIGINAL: floydg
Experiment to try: reboot the PC and run only WitPTracker. It looks like it's failing when the program attempts to move the DLL into memory and couldn't find enough free space to do it.

I tried. Turned off all programs running in the background. It did not help.

How's your disk space?

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 1:16 pm
by witpqs
I have 3 GB physical memory, loads and loads of free disk space, and I have accepted the fact that I will have to re-start with a new Tracker database from time to time. Using XP fully patched BTW.

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 5:30 pm
by Judykator
ORIGINAL: herwin

How's your disk space?

46 GB free

Earlier version program did not so.
The database will work with the version 1.5.1 ?? Downgrade ?

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 6:36 pm
by Judykator
I managed to upload a save game when you ran the program without parameters "-Xms -Xmx"

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 7:23 pm
by vonTirpitz
I noticed that you stated that you are running under XP Home SP2. Is it possible for you to upgrade to Service Pack 3? There were some memory management issues resolved that affected Java and associated Java DLLs IIRC.
ORIGINAL: Judykator

I managed to upload a save game when you ran the program without parameters "-Xms -Xmx"

RE: How do you export error messages from the load screen?

Posted: Wed Aug 25, 2010 8:08 pm
by floydg
ORIGINAL: Judykator

I managed to upload a save game when you ran the program without parameters "-Xms -Xmx"

So it's using the defaults (2M and 64M, respectively). I doubt this will really work long-term, since 64M is way too little for this program.

Did you reboot your PC, or just quit other programs?

Floyd

PS: The 1.6 database will not work with 1.5.1 program. At least it shouldn't...

RE: How do you export error messages from the load screen?

Posted: Thu Aug 26, 2010 6:53 am
by Czert
It will be posible to add chosing of savegame to lad, directly to tracker, insead of modifiing it in separaet file ? And to add posibility to track records from dto different saves ? (I save one turn to one file, another turn to another file, and with third turn I replace first save.

RE: How do you export error messages from the load screen?

Posted: Thu Aug 26, 2010 10:29 am
by floydg
ORIGINAL: Czert

It will be posible to add chosing of savegame to lad, directly to tracker, insead of modifiing it in separaet file ? And to add posibility to track records from dto different saves ? (I save one turn to one file, another turn to another file, and with third turn I replace first save.

You can select any save at all to load using the Multi-turn Read function and the "All PWS" checkbox. The filename in the witptracker.properties file is needed to initialize the database, since I didn't want to force the user to manually perform this action.

Floyd

RE: How do you export error messages from the load screen?

Posted: Fri Aug 27, 2010 1:26 pm
by Theages
Some information for all who run across the following error:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: D:\Games\
Matrix Games\War in the Pacific Admiral's Edition\WitPTracker\pwsdll.dll: F³r di
esen Befehl ist nicht gen³gend Speicher verf³gbar

(=Not enough memory available to process this command)

Whenever Read (multiple) Turn is invoked, Tracker wants to use the pws.dll. To do this successfully there must be enough memory (RAM) available. Tracker (Java) uses increasing amounts of memory due to a growing database. Hence the need to increase the -xms and -xmx options.

Since the pws.dll is 32Bit (therefore java 32Bit has to be used) and java 32 Bit has not set the flag for being able to addess >2GByte memory (in the file header of the java.exe) the call of the pws.dll will always fail, when the 2GByte boundary would be crossed. It seems calling the pws.dll requires a large amount of memory (at least the program is asking for it).

If you set the flag using eg. CFF Explorer the boundary would move up to 3Gbyte.

On a 64Bit OS this step would be and is everyting needed to get some more turns to read in.

On Win XP 32Bit (all SPs) you would have to additionally set the /3GB and /userva switch in the boot.ini file (for some information look at Microsoft Support (even if it is only Server 2003 that is mentioned there, this is also true for XP)

If you have not more than 3GByte RAM, I doubt that it would work.

BEWARE !! Wrong settings may and most probably will prevent XP from booting up. It can be major trouble to get the system to run again.

OffTopic remark: the app can handle >2GB address space flag is very useful for programs that are plagued by memory leaks (eg. Rome:TW) since they run into memory problems much later.

Image

Starting bat file problem

Posted: Sun Aug 29, 2010 4:06 pm
by Saburo Kurusu
Hello guys,

I know, I am the dumbest of all users and a typical representative of the "plug and pray fraction"...... Well, praying didn't help that much, so I unfortunately have to kindly ask for assistance!   [:)]
After finally getting the properties file edited like being needed for my purpose, I get the following error message when starting the bat file:



C:\Program Files\WitPTracker AE>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.sql.SQLException: The database is already in use by another process: org.hs
qldb.persist.NIOLockFile@43055c51[file =C:\Program Files\WitPTracker AE\trackerd
b.lck, exists=false, locked=false, valid=false, fl =null]: java.io.FileNotFoundE
xception: C:\Program Files\WitPTracker AE\trackerdb.lck (Zugriff verweigert) ----> "access denied" in English
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.hsqldb.jdbcDriver.connect(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.sql.DriverManager.getConnection(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.sql.DriverManager.getConnection(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.Database.<init>(Database.java:32)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.Main.main(Main.java:59)

C:\Program Files\WitPTracker AE>pause
Drücken Sie eine beliebige Taste . . .


I don't understand that sufficiently.... Thanks for any friendly help veeery much!&nbsp;&nbsp; [&o]



RE: Starting bat file problem

Posted: Sun Aug 29, 2010 4:27 pm
by Nomad
ORIGINAL: Saburo Kurusu

Hello guys,

I know, I am the dumbest of all users and a typical representative of the "plug and pray fraction"...... Well, praying didn't help that much, so I unfortunately have to kindly ask for assistance!   [:)]
After finally getting the properties file edited like being needed for my purpose, I get the following error message when starting the bat file:



C:\Program Files\WitPTracker AE>java -Xms384m -Xmx512m -jar "WitPTracker.jar"
ERROR: Problem starting the database. Exiting.
java.sql.SQLException: The database is already in use by another process: org.hs
qldb.persist.NIOLockFile@43055c51[file =C:\Program Files\WitPTracker AE\trackerd
b.lck, exists=false, locked=false, valid=false, fl =null]: java.io.FileNotFoundE
xception: C:\Program Files\WitPTracker AE\trackerdb.lck (Zugriff verweigert) ----> "access denied" in English
       at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
       at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
       at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
       at org.hsqldb.jdbcDriver.connect(Unknown Source)
       at java.sql.DriverManager.getConnection(Unknown Source)
       at java.sql.DriverManager.getConnection(Unknown Source)
       at witptracker.Database.<init>(Database.java:32)
       at witptracker.Main.main(Main.java:59)

C:\Program Files\WitPTracker AE>pause
Drücken Sie eine beliebige Taste . . .


I don't understand that sufficiently.... Thanks for any friendly help veeery much!   [&o]



This makes me believe that you have tried to open the db twice.

java.sql.SQLException: The database is already in use by another process: org.hs

Have you tried to use the open office database program?

Or did you have tracker fail not too long ago? If so, you might try a reboot of your computer.

I'm sure floyd or damien will be by shortly to better answer your question.