Can't "End logfile" VASSAL 6.6.1/VASL 3.4.6

Martin

Member
Joined
Dec 22, 2003
Messages
85
Reaction score
11
Location
Copenhagen
Country
llDenmark
Hi Guys

I tried to end a logfile (PbEM), but get this. Any of you able to help? :
15507
and this specifix text:
java.nio.file.NoSuchFileException: C:\Users\martin\AppData\Local\Temp\vassal_8765949680686114422\savedGame_12798904159503813960
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
at java.base/java.nio.file.Files.createFile(Files.java:652)
at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:137)
at java.base/java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:160)
at java.base/java.nio.file.Files.createTempFile(Files.java:872)
at VASSAL.tools.io.ZipArchive.makeTempFileFor(ZipArchive.java:409)
at VASSAL.tools.io.ZipArchive.getOutputStream(ZipArchive.java:268)
at VASSAL.tools.io.ZipArchive.getOutputStream(ZipArchive.java:240)
at VASSAL.tools.io.ZipArchive.add(ZipArchive.java:312)
at VASSAL.build.module.BasicLogger.write(BasicLogger.java:326)
at VASSAL.build.module.BasicLogger$1.actionPerformed(BasicLogger.java:484)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1012)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1056)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6614)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6379)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4990)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4822)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4919)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4548)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4489)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2769)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4822)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Suppressed: java.nio.file.NoSuchFileException: C:\Users\martin\AppData\Local\Temp\vassal_8765949680686114422\DB 106 - 035_5994138825254483120.vlog
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
at java.base/java.nio.file.Files.createFile(Files.java:652)
at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:137)
at java.base/java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:160)
at java.base/java.nio.file.Files.createTempFile(Files.java:872)
at VASSAL.tools.io.ZipArchive.makeTempFileFor(ZipArchive.java:409)
at VASSAL.tools.io.ZipArchive.writeToDisk(ZipArchive.java:464)
at VASSAL.tools.io.ZipArchive.close(ZipArchive.java:386)
at VASSAL.build.module.BasicLogger.write(BasicLogger.java:325)
... 38 more
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
722
Reaction score
452
Location
Durham
Country
llUnited Kingdom
Dropbox holds files open sometimes. Try saving somewhere else.
 

Martin

Member
Joined
Dec 22, 2003
Messages
85
Reaction score
11
Location
Copenhagen
Country
llDenmark
Thanks Uckelman

I choose the save destination when starting the logfile, - is there any way of saving somewhere other than Dropbox where I can keep this log that I am at the end of?! If I choose "Save game as", then I think it only saves the current situation and not the log :-(

Thanks,
Martin
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
722
Reaction score
452
Location
Durham
Country
llUnited Kingdom
The development branch for 3.5 takes a different approach to saving files, given that we've found network drives on Windows to be increasingly hostile. Until then, I'd choose a location on a local drive to start with if you're having this problem often.
 

Martin

Member
Joined
Dec 22, 2003
Messages
85
Reaction score
11
Location
Copenhagen
Country
llDenmark
OK, thanks. I've been using Dropbox for about four years for logfiles and first time I've had this problem.

Thanks again, will save on local drive initially from now on :)
 

Robin Reeve

The Swiss Moron
Staff member
Moderator
Joined
Jul 26, 2003
Messages
19,710
Reaction score
5,710
Location
St-Légier
First name
Robin
Country
llSwitzerland
OK, thanks. I've been using Dropbox for about four years for logfiles and first time I've had this problem.

Thanks again, will save on local drive initially from now on :)
I have had the same problem with Dropbox recently.
I now save my logfiles on Google Drive.
 

BigAl737

Elder Member
Joined
Apr 5, 2011
Messages
1,517
Reaction score
1,280
Location
AK
Country
llUnited States
I seen this when saving to Dropbox sometimes. When I’ve had this I click OK and tried the save again. It’s always worked the second time for me.
 

DougRim

Forum Guru
Joined
Apr 23, 2012
Messages
2,011
Reaction score
2,348
Location
Ottawa
Country
llCanada
I don't think this is a drop box issue. I noted this error, too, and I don't use drop box.
See Uckelman's post: it may be any network location (ie non-local device). I have not heard of anyone having an issue when trying to save to local drives.

Personally, I have been able to save games to dropbox. But I don't use logfiles.
 

dwardzala

Va Tech Hokie
Joined
Apr 20, 2004
Messages
598
Reaction score
70
Location
Detroit/Ann Arbor Ar
Country
llUnited States
See Uckelman's post: it may be any network location (ie non-local device). I have not heard of anyone having an issue when trying to save to local drives.

Personally, I have been able to save games to dropbox. But I don't use logfiles.
See this thread - I don't use dropbox and experience the same behavior.
 

Martin

Member
Joined
Dec 22, 2003
Messages
85
Reaction score
11
Location
Copenhagen
Country
llDenmark
damn, had same issue with dropbox last night where a logfile ould not be saved to Dropbox. i will stop saving to dropbox directly now and instead save to "desktop" and then copy paste logfile to dropbox.

what do you PbEM guys find the easiest way of sharing logfiles (fewest clicks)? saving to a folder on computer and then attaching to an email or what do you do? thanks, martin
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
722
Reaction score
452
Location
Durham
Country
llUnited Kingdom
I'd be interested to hear how you find 3.5.0-beta1 in this regard. Saving to a network drive using Windows should work better now (but cannot be done 100% reliably no matter what we do, as we can't control when other processes might have a file open).
 

BigAl737

Elder Member
Joined
Apr 5, 2011
Messages
1,517
Reaction score
1,280
Location
AK
Country
llUnited States
damn, had same issue with dropbox last night where a logfile ould not be saved to Dropbox. i will stop saving to dropbox directly now and instead save to "desktop" and then copy paste logfile to dropbox.
Try cancelling the save and then trying the save again. I’ve always had it work the second time.

what do you PbEM guys find the easiest way of sharing logfiles (fewest clicks)? saving to a folder on computer and then attaching to an email or what do you do? thanks, martin
This.
 

Martin

Member
Joined
Dec 22, 2003
Messages
85
Reaction score
11
Location
Copenhagen
Country
llDenmark
hi again, now I'm always saving to Windows "Desktop", but get this problem 20 % of the time (log can't be saved), so have to begin a new logfile, all over. have any of you changed anything than solved this problem, for instance updated to another VASSAL version? still using 3.4.6 here, hesitant to try 3.5.0-beta1, since i have 2 long term PbEM opponents right now.
thanks, martin
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
722
Reaction score
452
Location
Durham
Country
llUnited Kingdom
What happens when you try to save with VASSAL-3.4.12-SNAPSHOT-zip_dir_fix, which you can get here?
 
Top