VASSAL 3.2.9-svn8952 launch on Mac

hi

another comment. I just noticed, in the VASSAL folder “prefs”, the file “Invasion_20_of_20_Malta_20_1942” is 132.8 MB!!! Could not open the file with text editor.

All of the other type module preference files are much much smaller in memory (~4 KB, one is 688 KB).

kurt

Thus spake kvn:

In addition, the activity we did required my password for the module
Invasion of Malta 1942 to join as the Axis, which I don’t recall ever
creating. So Joel suggested I send J. Uckelman a saved game file, and
he can recover this, so I can continue play an exisiting game as the
Axis. How do I send you a saved game file?

Email.


J.

Thus spake kvn:

hi

another comment. I just noticed, in the VASSAL folder “prefs”, the file
“Invasion_20_of_20_Malta_20_1942” is 132.8 MB!!! Could not open the
file with text editor.

All of the other type module preference files are much much smaller in
memory (~4 KB, one is 688 KB).

The prefs file for the module definitely should not be like that.
Compress it and send it to me.


J.

Thus spake JoelCFC25:

As for the Invasion of Malta module, I can confirm that the map board’s
colors are all wrong (pinkish) on this Windows 7 PC (64 bit Java
1.7.0_21) in both VASSAL 3.2.8 and VASSAL 3.2.9-svn8952. I extracted the
map board image from the module and it looks totally normal to me in
GIMP and any other software I use to view it.

That’s maddening. Apparently this means that the color-correction bug
in Java has been fixed on Mac OS X and Linux, but not on Windows. So
I’ll have to reintroduce the color-correction-correction workaround
code, but limit it to run on Windows only.


J.

enclosed is the compressed copy of Invasion of Malta preferences file found in VASSAL preferences folder.

Kurt

hi

I am unable to launch VASSAL 3.2.8 nor VASSAL 3.2.9-svn8952 because of the Java Heap Size error (see enclosed error log previously submitted).

what is the correct way to reset the software?

Regards
Kurt

Thus spake kvn:

hi

I am unable to launch VASSAL 3.2.8 nor VASSAL 3.2.9-svn8952 because of
the Java Heap Size error (see enclosed error log previously submitted).

what is the correct way to reset the software?

The immediate problem is the size of the prefs file for the IoM module.
If you deleted that, you would likely be able to load the module once
again. However, if you do that, it’s going to hinder troubleshooting,
so I’d prefer that you not and wait for me to have a look at the file
you sent. (I’m travelling presently, so it’s hard to predict when I’ll
have time—it might be a day or two.)


J.

ok I will wait for your reply.

thanks
Kurt

hi

I re-read the email thread of everything that has happened, and noticed one thing was not mentioned in the troubleshooting activity with JoelCFC25. I had tried to open up my VASSAL General Preferences (when I was able to launch VASSAL) and nothing was displayed. I note this item in case it is relevant to finding what the problem is.

Kurt

Thus spake kvn:

enclosed is the compressed copy of Invasion of Malta preferences file
found in VASSAL preferences folder.

Here’s a corrected copy of the prefs file, in case you need your
password from it. Just replace the corrupted one with this file.

Ack, that didn’t come through the forum. I’ll email you the file.

hello

I have placed the corrected copy of the prefs file for Invasion of Malta in the prefs folder.

I am unable to launch VASSAL 3.2.8 nor 3.2.9-svn8952. Java Heap Size error.

Reference post on December 9 2013.

Please advise

Regards

Kurt

Thus spake kvn:

hello

I have placed the corrected copy of the prefs file for Invasion of Malta
in the prefs folder.

I am unable to launch VASSAL 3.2.8 nor 3.2.9-svn8952. Java Heap Size
error.

Check the sizes of the files in the prefs folder. Are any of them more
than a few hundred kilobytes?


J.

Please try 3.2.9-svn8958 and let us know whether this works for you. This contains fixes for both our preferences writing bug and a more complete workaround for the JPEG colorspace bug in the version of Java you’re using.

Before loading the Invasion of Malta module, clear your tile cache. (Look under Tools > Clear Tile Cache in the Module Manager). If you don’t clear the tile cache, you’ll see map tiles written by the previous version of VASSAL, so it’s essential that you do this before reporting on whether 3.2.9-svn8958 works for you.

(JoelCFC25: Please also try this build with the IoM module to check that the colorspace fix works for you.)

hi

I downloaded the 3.2.9-svn8958 link above. I double click on the VASSAL icon to launch,and nothing happens. I see the VASSAL icon on the bottom row of my screen, but nothing ever happens. I have to force quit VASSAL.

The I try launching 3.2.8. I get the message about Java Heap Size error.

My prefs folder has two files that are larger that a few hundred kB; the Invasion of Malta prefs file is 4kB.

  1. _5B_Advanced_5D__20_Third_20_Reich 688kB
  2. V_Global 28.5MB

File 1), I also have two other 3R prefs file (each 4kB). I only have one 3R module in the module manager, and it launched fine. so not sure why I have several 3R prefs file, perhaps 1) is not active with the 3R module I am using. I never had a problem with 3R and using VASSAL. It has been the IoM module that seeems to be screwing everything up.

I have no idea what file 2 is for.

Please advise

Regards
Kurt

Thus spake kvn:

hi

I downloaded the 3.2.9-svn8958 link above. I double click on the VASSAL
icon to launch,and nothing happens. I see the VASSAL icon on the bottom
row of my screen, but nothing ever happens. I have to force quit
VASSAL.

What VASSAL icon are you clicking on? Have you dragged the app bundle
to /Applications first?

The I try launching 3.2.8. I get the message about Java Heap Size
error.

When do you get the error? Before opening a module? After? If so, which
module? We need the errorLog from that run. Please post it.


J.

Q1. "What VASSAL icon are you clicking on? Have you dragged the app bundle to /Applications first? "
A1. The link you sent me in a prior post to this thread, this link for VASSAL 3.2.9-svn8958 downloads a .dmg file. I move this file to my desktop, and open up the disk image. I then double click the icon to launch 3.2.9-svn8958. Nothing happens. I don’t know what you mean; “drag the app bundle to /Applications first.” OK, I then also dragged the .dmg file to my Applications folder. Nothing happens when I double click the icon from there either. I must then force quit VASSAL. I don’t have an “app bundle” after download, all I see is a .dmg file.

Q2. “When do you get the error? Before opening a module? After? If so, which module?”
A2. When trying to launch VASSAL 3.2.8, I get the error message about Java Heap Size immediately. The VASSAL menu does not even appear, nothing, just the error message. I have already replaced the Invasion of Malta prefs file you sent me (4 KB). I downloaded 3.2.8 fresh from the website (and get a new .dmg file). I am not able to get to the module selection window.

Error log is enclosed.

I am unable to launch 3.2.8 nor 3.2.9-svn8958

Thus spake kvn:

Q1. "What VASSAL icon are you clicking on? Have you dragged the app
bundle to /Applications first? "
A1. The link you sent me in a prior post to this thread, this link for
VASSAL 3.2.9-svn8958 downloads a .dmg file. I move this file to my
desktop, and open up the disk image. I then double click the icon to
launch 3.2.9-svn8958. Nothing happens. I don’t know what you mean;
“drag the app bundle to /Applications first.” OK, I then also dragged
the .dmg file to my Applications folder. Nothing happens when I double
click the icon from there either. I must then force quit VASSAL. I
don’t have an “app bundle” after download, all I see is a .dmg file.

One reason you’re having a problem with 3.2.9-svn8958 is that you’re not
using it the way you’re supposed to. The .dmg is NOT intended to be run
directly. Because I am not a Mac user and don’t have access to a Mac, I
can’t describe what the actions you need to take are with any more
specificity than that you need to drag the app bundle which is in the
.dmg to your /Applications folder, and then run the app bundle from
there.

In an upcoming build, you’ll see something like this when you open the
.dmg:

jhelioviewer.org/imgs/JHelioview … enshot.png

and you’ll be able to copy the app bundle to /Applications by dragging
the icon on the left to the icon on the right. Apparently this is
typical for apps distributed by .dmg—but we’ve been producing a .dmg
since 2006 or so and were only made aware of it this month.

Q2. “When do you get the error? Before opening a module? After? If so,
which module?”
A2. When trying to launch VASSAL 3.2.8, I get the error message about
Java Heap Size immediately. The VASSAL menu does not even appear,
nothing, just the error message. I have already replaced the Invasion
of Malta prefs file you sent me (4 KB). I downloaded 3.2.8 fresh from
the website (and get a new .dmg file). I am not able to get to the
module selection window.

The errorLog tells me that Java is running out of memory while loading
one of your preferences files. Show me the sizes of all of the files in
VASSAL’s prefs directory. You can do that from a terminal with:

ls -al “~/Library/Application Support/VASSAL/prefs/”

Paste the output here.


J.

Q1. You keep referring to an “Application Bundle”. When I download 3.2.8 or 3.2.9-svn8958, I get one file. A .dmg file. There are not multiple files. I drag this one file (.dmg) to the folder /Applications. What am I doing incorrectly in the download? It gives me one file. I have no choice in how this is presented. How do I turn a .dmg into a bundle of multiple files?

Q2. Below is the output from the list command.

regards
Kurt

Kurt-Van-Nugtrens-MacBook-Pro:prefs kurtvannugtren$ ls -al
total 56984
drwxr-xr-x 12 kurtvannugtren staff 408 Dec 22 15:25 .
drwxr-xr-x 12 kurtvannugtren staff 408 Dec 23 21:22 …
-rw-r–r–@ 1 kurtvannugtren staff 6148 Dec 22 15:26 .DS_Store
-rw-r–r-- 1 kurtvannugtren staff 60 Nov 22 14:08 A3R
-rw-r–r-- 1 kurtvannugtren staff 639 Dec 6 12:40 Air_20_Assault_20_On_20_Crete
-rw-r–r–@ 1 kurtvannugtren staff 471 Dec 19 19:01 Invasion_20_of_20_Malta_20_1942
-rw-r–r-- 1 kurtvannugtren staff 84 Nov 22 14:08 Stratego
-rw-r–r-- 1 kurtvannugtren staff 63 Nov 22 14:08 Third_20_Reich_20_4th_20_edition
-rw-r–r-- 1 kurtvannugtren staff 30 Nov 22 14:08 Unnamed_20_module
-rw-r–r-- 1 kurtvannugtren staff 30 Nov 22 14:08 VASSAL_20_Tour
-rw-r–r-- 1 kurtvannugtren staff 28448893 Dec 7 16:02 V_Global
-rw-r–r-- 1 kurtvannugtren staff 687139 Dec 5 23:52 _5B_Advanced_5D__20_Third_20_Reich

Thus spake kvn:

Q1. You keep referring to an “Application Bundle”. When I download
3.2.8 or 3.2.9-svn8958, I get one file. A .dmg file. There are not
multiple files. I drag this one file (.dmg) to the folder
/Applications. What am I doing incorrectly in the download? It gives
me one file. I have no choice in how this is presented. How do I turn
a .dmg into a bundle of multiple files?

You’re downloading the correct thing.

Look inside the .dmg you downloaded. (I’m not sure how exactly you do
that. Maybe by clicking on it?) In the root folder of the .dmg, you
should see a folder called “VASSAL-3.2.9-svn8958.app”. This folder is
the app bundle. This folder is the thing you are supposed to drag to
/Applications.

Q2. Below is the output from the list command.

-rw-r–r-- 1 kurtvannugtren staff 28448893 Dec 7 16:02 V_Global

This is why you can’t start VASSAL. The V_Global prefs file is 27MB.
Once you delete that file, you should be able to start VASSA again.

Something you’re doing seems to be triggering the prefs bug in 3.2.8
far more than it happens for other people. Please stop using 3.2.8 and
instead switch to 3.2.9-svn8958 until we finish with troubleshooting
your problem. This way, if your V_Global file gets corrupted again, we
will know we still have a problem in 3.2.9-svn8958 which we can then
investigate.


J.