Missing card and counter text

Hi,

The border stays visible, but the text is not. I have tried rotating it several times.

Best,

Guillaume

Thus spake gdaudin:

Hi,

The border stays visible, but the text is not. I have tried rotating it
several times.

So, it seems that the problem is not related to the complexity of the
SVG. I’ll have another thing for to try later today.


J.

Thus spake Joel Uckelman:

Thus spake gdaudin:

Hi,

The border stays visible, but the text is not. I have tried rotating it
several times.

So, it seems that the problem is not related to the complexity of the
SVG. I’ll have another thing for to try later today.

I’ve uploaded an archive containing the files for running another test:

vassalengine.org/~uckelman/b … k-test.zip

This test doesn’t involve any of our code. What this will test is
whether Batik’s own SVG viewer is able to render SVG correctly on your
system.

Here’s what to do:

  1. Unzip the archive.
  2. % cd batik-test
  3. % java -jar batik-squiggle.jar test.svg

What you should see first is the splash screen for Batik’s Squiggle
viewer, followed by a window containing a rendering of the same image
from the last test.

Does the test image render correctly this way?


J.

Hi,

Thanks for that.

It does not work. I still have an empty square.

Best,

Guillaume

Greetings!

I have the same issue that Guillaume reported with Vassal (Virgin Queen module) and retina-display macbook pro. Your standalone SVG test with the batik.jar seems to work correctly.

Thanks for your help!

Warmest regards,

Michael

I should mention that I am using:

OSX: 10.8.2

VASSAL-3.2.3-svn8552-retina-svg-macosx

Java:
java version “1.7.0_04”
Java™ SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot™ 64-Bit Server VM (build 23.0-b21, mixed mode)

Thanks again for helping us fix this!

Warmest regards,

Michael

Aha ! I am running

java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Let me go, upgrade and try again.

Thus spake gdaudin:

Hi,

Thanks for that.

It does not work. I still have an empty square.

This eliminates our code as the problem. Now I’ll ask about the bug on
the Batik mailing list. I’ll report back when I know more.


J.

This is getting curiouser and curiouser.

After upgrade and reboot,

java -version on terminal gives me :
java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

But System Preferences Panel tell me I have java 1.7 - (build 1.7.0_13-b20)

Anyway, it still does not work after the upgrade.

Best,

Guillaume

Thus spake mgringo:

“mgringo” wrote:

Greetings!

I have the same issue that Guillaume reported with Vassal (Virgin
Queen module) and retina-display macbook pro. Your standalone SVG test
with the batik.jar seems to work correctly.

Thanks for your help!

Warmest regards,

Michael

I should mention that I am using:

OSX: 10.8.2

VASSAL-3.2.3-svn8552-retina-svg-macosx

Java:
java version “1.7.0_04”
Java™ SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot™ 64-Bit Server VM (build 23.0-b21, mixed mode)

That’s unexpected.

So, we have the standalone test working with Java 7, but not with
Java 6?

mgringo, do you see the text if you load this module with this build
of VASSAL?

vassalengine.org/~uckelman/b … est-2.vmod
vassalengine.org/~uckelman/b … macosx.dmg


J.

Thus spake gdaudin:

This is getting curiouser and curiouser.

After upgrade and reboot,

java -version on terminal gives me :
java version “1.6.0_37”
Java™ SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot™ 64-Bit Server VM (build 20.12-b01-434, mixed mode)

But System Preferences Panel tell me I have java 1.7 - (build
1.7.0_13-b20)

Start VASSAL and post the errorLog (you can find this under Help >
Error Log in the Module Manager). This will tell us which version
of Java VASSAL is running in.


J.

Here is what I have :

2013-02-18 11:34:28,527 [0-main] INFO VASSAL.launch.StartUp - Starting
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_37
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8547
2013-02-18 11:34:28,957 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager

So Vassal is actually using 1.6 (and Terminal too). I’ll look around and try to solve that.

Best,

Guillaume

Hum… Still no cigar. But Oracle tells me that I have the right Java installed.

typing
% /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
Gives me :
java version “1.7.0_13”
Java™ SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot™ 64-Bit Server VM (build 23.7-b01, mixed mode)

typing
% java -version

gives me the old one.

I am over my head with this one, I am afraid.

Thus spake gdaudin:

Hum… Still no cigar. But Oracle tells me that I have the right Java
installed.

typing
% /Library/Internet
Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
Gives me :
java version “1.7.0_13”
Java™ SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot™ 64-Bit Server VM (build 23.7-b01, mixed mode)

typing
% java -version

gives me the old one.

I am over my head with this one, I am afraid.

This means that Java 6 is found on your PATH before Java 7. The command
‘which java’ will show you the path of the java binary which is found
on your path. What does it say?

I did a bit of searching and turned up this:

docs.oracle.com/javase/7/docs/we … c-jre.html

It seems to be saying that you can’t have more than one JRE installed
at a time, but it looks like you do.


J.

Hi,

I managed to uninstall all Java versions, and then re-install Java 1.7.

However, when I then try to open Vassal, I get a message telling me that I need to install Java SE 6 to get started.

Best,

Guillaume

Thus spake gdaudin:

Hi,

I managed to uninstall all Java versions, and then re-install Java 1.7.

However, when I then try to open Vassal, I get a message telling me that
I need to install Java SE 6 to get started.

According to this:

docs.oracle.com/javase/7/docs/we … c-jre.html

the JRE 7 installer doesn’t create proper symlinks for the java binary.
I have no idea why Oracle thinks it’s acceptible for the installer to
behave that way, since it leaves you with exactly this problem. They’re
essentially saying “our installer doesn’t finish doing its job”.

What’s the output now when you run each of the following:

which java

java -version

ls -l /System/Library/Frameworks/JavaVM.framework/Versions


J.

I get

%which java
/usr/bin/java
%java -version
No Java runtime present, requesting install.
%ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 → CurrentJDK
drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current → A
lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK → /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

So, if I understand well, I should install the JDK rather than the JRE ?

Best,

Guillaume

Thus spake gdaudin:

%which java
/usr/bin/java
%java -version
No Java runtime present, requesting install.

This is funny. Apparently MacOS has a placeholder for the java binary.
What does

ls -l /usr/bin/java

say?

%ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 → CurrentJDK
wxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 → CurrentJDK
drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current → A
lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK →
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

Ok, show me:

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A

and

ls -l /System/Library/Java/JavaVirtualMachines

I’m trying to get a sense of what state your machine is in right now.


J.

Thus spake gdaudin:

So, if I understand well, I should install the JDK rather than the JRE ?

Maybe. But don’t do that yet.


J.

I have now installed JDK.

%which java
/usr/bin/java
%java -version
java version “1.7.0_13”
Java™ SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot™ 64-Bit Server VM (build 23.7-b01, mixed mode)
%ls -l /System/Library/Frameworks/JavaVM.framework/Versions lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 → CurrentJDK
drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current → A
lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK → /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

But Vassal still requires Java 6 to start.