3.2 builds

Very minor issue:

Using 3.2.0-svn 7848 this morning, I edited my module, did not save and inadvertantly exited the editor. On exit, I was not warned that I didn’t save the module and changes lost; looks like the ‘dirty’ flag might not be working right.

-Mark R.

Yes, it happens to me too, exactly as DrN. describes. I thought it was intended.

-Mark R.

As an aside, I’ve been getting this error:

[i] - A World At Arms - Global version 0.7.0

  • Bad Data in Module: Image not found moved
    [/i]
    Not related to this build (I’m sure I’m missing some irrelevant graphic somewhere), but to help I was wondering if the error message could be augmented to give the name of the image that is not found.

Thanks,
-Mark R.

Thus spake mroyer:

As an aside, I’ve been getting this error:

_ - A World At Arms - Global version 0.7.0

  • Bad Data in Module: Image not found moved
    _
    Not related to this build (I’m sure I’m missing some irrelevant graphic
    somewhere), but to help I was wondering if the error message could be
    augmented to give the name of the image that is not found.

The image which isn’t found is called “moved”.


J.

oh… :blush:

I got this message a couple of times also, but when I checked that file
“moved.gif” was in the module’s image folder. Now that someone else has
spotted this, I searched through the offending module and confirmed that
every instance of “moved” in the Buildfile is either descriptive text, part
of an attribute name, or accompanied by an extension. I added the file
“moved.png” and thus verified that it is not specific to the “.gif”
extension. I will check the code tonight to see if references to the
“moved” functionality may be stripping an extension somewhere.

Pieter

-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of mroyer
Sent: Wednesday, September 28, 2011 12:35 PM
To: messages@vassalengine.org
Subject: [messages] [Developers] Re: [Developers] Re: 3.2 builds

“uckelman” wrote:

The image which isn’t found is called “moved”.

oh… :blush:


Read this topic online here:

I found the attached code in MovementMarkable; and when I changed the highlighted code to “… moved.gif …” and reran it, the error disappeared. I looked back a couple of years and cannot see any change for this line, so I suspect that the new tiling algorithm is more strict than the old image look-up.

Joel:

Can you supply mroyer with a patch including svn7849 to ensure that the bug disappears for him also?

Thank you.

Once upon a time, in a land far, far away…

Good catch.

The original Vassal had this scheme where an image could be specified with no suffix and it was assumed to be a .gif. This caused problems and was removed and all non-suffix image references where changed. Looks like we missed one.

Thus spake DrNostromo:

Can you be more specific about what it’s actually doing? Is it
actually
taking as long on successive tries as the first time slicing happend?

I just ran a test. It took 22 seconds to tile the map image. I made a
change to the module version notes just to have something new to save
and saved it. Reopening it took 19 seconds to tile the map image. If I
close the module without saving anything, it does not tile the map image
if I reopen it. It appears to only do it if any change is saved to the
mod …even if the change has nothing to do with the graphics.

Try svn7850 and post the log. I’ve added some diagnostic output for the
method which checks whether an image should be tiled.


J.

svn7850

I made a copy of my current mod, opened it in the editor, images tiled. I made a change to the module version info and saved it. Re-opened the mod for editing and it tiled again. Log created in the Documents and Settings → Vassal is listed below.

I might also point out that my D&S/Vassal folder is loaded with tmp.zip files …almost 80 of them. Apparently one is being created every time I open a module. Also, the D&S/Vassal/Tiles folder is loaded with over 250 megs of files dating back to when I started using the 3.2 build.

2011-09-28 19:29:38,368 [0-main] INFO VASSAL.launch.StartUp - Starting
2011-09-28 19:29:38,368 [0-main] INFO VASSAL.launch.StartUp - OS Windows XP
2011-09-28 19:29:38,368 [0-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_26
2011-09-28 19:29:38,368 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.0-svn7850
2011-09-28 19:29:38,446 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2011-09-28 19:29:53,711 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module file C:\Games\VassalFiles\TBK_New\Mod\TBK_0.99_A0003_test.vmod
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Exit.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Redo.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Screen_Capture.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Server.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Undo.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Zoom.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Zoom_In.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Menu_Zoom_Out.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Icon_Overview.png mtime == 1317228058000
2011-09-28 19:29:53,743 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.TilingHandler - Map_Kingdom.png mtime == 1317228058000
2011-09-28 19:29:53,836 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Utilities\Java6u22\bin\java -classpath lib\Vengine.jar -Xmx250M -DVASSAL.id=2 -Duser.home=C:\Documents and Settings\Rich -DVASSAL.port=1947 VASSAL.tools.image.tilecache.ZipFileImageTiler C:\Games\VassalFiles\TBK_New\Mod\TBK_0.99_A0003_test.vmod C:\Documents and Settings\Rich\VASSAL\tiles\8fe97276072bddfc89da25570726c88b7d8d21f2 256 256 images/Map_Kingdom.png
2011-09-28 19:29:54,618 [2-main] INFO VASSAL.tools.image.tilecache.ZipFileImageTiler - Starting
2011-09-28 19:29:54,649 [2-main] INFO VASSAL.tools.image.tilecache.FileArchiveImageTiler - Tiling images/Map_Kingdom.png
2011-09-28 19:30:12,649 [2-main] INFO VASSAL.tools.image.tilecache.ZipFileImageTiler - Exiting
2011-09-28 19:30:12,758 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.launch.AbstractLaunchAction - Loading module To Be King
2011-09-28 19:30:12,758 [0-SwingWorker-pool-3186591-thread-1] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Utilities\Java6u22\bin\java -Xms256M -Xmx512M -DVASSAL.id=1 -DVASSAL.port=1949 -Duser.home=C:\Documents and Settings\Rich -cp lib\Vengine.jar VASSAL.launch.Editor --edit – C:\Games\VassalFiles\TBK_New\Mod\TBK_0.99_A0003_test.vmod
2011-09-28 19:30:13,727 [1-main] INFO VASSAL.launch.StartUp - Starting
2011-09-28 19:30:13,743 [1-main] INFO VASSAL.launch.StartUp - OS Windows XP
2011-09-28 19:30:13,743 [1-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_26
2011-09-28 19:30:13,743 [1-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.0-svn7850
2011-09-28 19:30:13,743 [1-main] INFO VASSAL.launch.Launcher - Editor
2011-09-28 19:30:15,790 [1-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Image not found: Splash.png
2011-09-28 19:30:16,180 [1-AWT-EventQueue-0] WARN VASSAL.launch.BasicModule - To Be King version 0.99_A0003
2011-09-28 19:30:32,430 [1-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2011-09-28 19:30:33,243 [0-IPC receiver for 14247087] ERROR VASSAL.tools.ipc.IPCMessageReceiver -
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_26]
at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[na:1.6.0_26]
at VASSAL.tools.ipc.IPCMessageReceiver.run(IPCMessageReceiver.java:34) ~[Vengine.jar:na]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_26]
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.AbstractLaunchAction - Loading module file C:\Games\VassalFiles\TBK_New\Mod\TBK_0.99_A0003_test.vmod
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Exit.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Redo.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Screen_Capture.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Server.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Undo.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Zoom.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Zoom_In.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Menu_Zoom_Out.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Icon_Overview.png mtime == 1317263430000
2011-09-28 19:30:41,461 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.TilingHandler - Map_Kingdom.png mtime == 1317263430000
2011-09-28 19:30:41,508 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Utilities\Java6u22\bin\java -classpath lib\Vengine.jar -Xmx250M -DVASSAL.id=4 -Duser.home=C:\Documents and Settings\Rich -DVASSAL.port=1951 VASSAL.tools.image.tilecache.ZipFileImageTiler C:\Games\VassalFiles\TBK_New\Mod\TBK_0.99_A0003_test.vmod C:\Documents and Settings\Rich\VASSAL\tiles\8fe97276072bddfc89da25570726c88b7d8d21f2 256 256 images/Map_Kingdom.png
2011-09-28 19:30:42,290 [4-main] INFO VASSAL.tools.image.tilecache.ZipFileImageTiler - Starting
2011-09-28 19:30:42,321 [4-main] INFO VASSAL.tools.image.tilecache.FileArchiveImageTiler - Tiling images/Map_Kingdom.png
2011-09-28 19:30:59,602 [4-main] INFO VASSAL.tools.image.tilecache.ZipFileImageTiler - Exiting
2011-09-28 19:30:59,743 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.launch.AbstractLaunchAction - Loading module To Be King
2011-09-28 19:30:59,743 [0-SwingWorker-pool-3186591-thread-2] INFO VASSAL.tools.io.ProcessLauncher - launching C:\Utilities\Java6u22\bin\java -Xms256M -Xmx512M -DVASSAL.id=3 -DVASSAL.port=1953 -Duser.home=C:\Documents and Settings\Rich -cp lib\Vengine.jar VASSAL.launch.Editor --edit – C:\Games\VassalFiles\TBK_New\Mod\TBK_0.99_A0003_test.vmod
2011-09-28 19:31:00,774 [3-main] INFO VASSAL.launch.StartUp - Starting
2011-09-28 19:31:00,774 [3-main] INFO VASSAL.launch.StartUp - OS Windows XP
2011-09-28 19:31:00,774 [3-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_26
2011-09-28 19:31:00,774 [3-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.0-svn7850
2011-09-28 19:31:00,774 [3-main] INFO VASSAL.launch.Launcher - Editor
2011-09-28 19:31:02,743 [3-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Image not found: Splash.png
2011-09-28 19:31:03,149 [3-AWT-EventQueue-0] WARN VASSAL.launch.BasicModule - To Be King version 0.99_A0003
2011-09-28 19:31:05,321 [3-AWT-EventQueue-0] INFO VASSAL.build.GameModule - Exiting
2011-09-28 19:31:06,149 [0-IPC receiver for 18093512] ERROR VASSAL.tools.ipc.IPCMessageReceiver -
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_26]
at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream.readObject0(Unknown Source) ~[na:1.6.0_26]
at java.io.ObjectInputStream.readObject(Unknown Source) ~[na:1.6.0_26]
at VASSAL.tools.ipc.IPCMessageReceiver.run(IPCMessageReceiver.java:34) ~[Vengine.jar:na]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_26]

PS - Am I safe in assuming that I can delete all those tmp file and all the stuff in the Tiles folder?

Thus spake DrNostromo:

PS - Am I safe in assuming that I can delete all those tmp file and all
the stuff in the Tiles folder?

The tmp files are supposed to be deleted when VASSAL is finished with
them. You can delete these. My current hypothesis is that they were not
cleaned up by earlier broken builds due to exceptions. I’d like to know
if the current build is still leaving them behind.

The contents of the tiles folder is the tile cache. If you delete that,
it will be recreated, but that will force every module you load to slice
its images into tiles again—which is what we were trying to avoid.


J.

Hi,

Using the v3.2 series, (the last available is svn7848) The Processingg Tile Image function kills this Module : No cards available into the Module Deck.

After loading into v3.2 : Deck is now empty
Using v3.1 series ; Deck is full and no image problem found.

The module link is : vassalfactory.org/index.php? … 98&Itemid=

Is it possible to know what the Processing Tile Image function do and to have a report when images are “killed” and not used ?

Regards,
Grégory

Newest date on the tmp files is 9/25 so this no longer seems to be a problem.

Ok, good. Since the tiles are still being processed every time I edit a mod anyway, deleting them isn’t really a problem, at the moment.

I’m not experiencing this problem. I’m building a mod in 3.2 and I’ve opened a mod for editing that was built in 3.1.15 and saved it in 3.2. All graphics and decks have remained intact. I strictly use PNG’s in my modules. Are the missing images of a different format?

Also, I’m getting that error that was discussed earlier: - Bad Data in Module: Image not found moved

re:

see my post yesterday concerning the file MovementMarkable.java:

I tried installing and running svn7850 (on a Windows XP machine) just now to see what it’s like. The fonts are smaller for me, just like the screenshots on page 5 of the thread. Upon loading my Here I Stand module, it reported “Bad Data in Module: Image not found” for everything that’s an SVG–and none of my toolbar buttons using SVG appear. I’m guessing support for SVG is being left out for the sake of simplicity right now?

Thus spake JoelCFC25:

I tried installing and running svn7850 (on a Windows XP machine) just
now to see what it’s like. The fonts are smaller for me, just like the
screenshots on page 5 of the thread. Upon loading my Here I Stand
module, it reported “Bad Data in Module: Image not found” for everything
that’s an SVG–and none of my toolbar buttons using SVG appear. I’m
guessing support for SVG is being left out for the sake of simplicity
right now?

No, it’s not intentional, SVG is just broken at the moment. (I
discovered this myself last night.)


J.

Thus spake pgeerkens:

I found the attached code in MovementMarkable; and when I changed the
highlighted code to “… moved.gif …” and reran it, the error
disappeared. I looked back a couple of years and cannot see any change
for this line, so I suspect that the new tiling algorithm is more strict
than the old image look-up.

Merged to trunk@7851.

Joel:

Can you supply __mroyer __with a patch including __svn7849 __to ensure
that the bug disappears for him also?

Try the svn7851 build.


J.

Thus spake DrNostromo:

svn7850

I made a copy of my current mod, opened it in the editor, images tiled.
I made a change to the module version info and saved it. Re-opened the
mod for editing and it tiled again. Log created in the Documents and
Settings → Vassal is listed below.

I need a bit more information in the diagnostic output than what that
build printed. I’ve uploaded a build marked “mtime0” for you to try.
Do the same, and post the log from that build.


J.

Thus spake soft-bug:

Using the v3.2 series, (the last available is svn7848) The Processingg
Tile Image function
kills this Module : No cards available into the
Module Deck.

After loading into v3.2 : Deck is now empty
Using v3.1 series ; Deck is full and no image problem found.

According to the errorLog, the names of the image files which aren’t
found all have no extensions.

This is related to the “moved” image being reported as missing in
some modules. I wonder if the switch to not appending ‘.gif’ to the
names of images we can’t find is going to be problematic. I was hoping
we’d finally be able to stop that…


J.