Create account / Log in

Preferences keep re-setting.

Issues with the Vassal engine.

Moderators: Tim M, uckelman

Preferences keep re-setting.

Postby Dazooz » November 21st, 2010, 1:49 pm

When I set my preferences in a module, then play a game then close out the program everything is fine until I go to open the module again and the preferences have reverted back to their default settings. How do I get my preferences to stay?
Dazooz
 
Posts: 4
Joined: August 31st, 2010, 1:50 am

Re: Preferences keep re-setting.

Postby uckelman » November 22nd, 2010, 9:20 pm

Thus spake Thomas Russ:
>
> On Nov 21, 2010, at 5:49 AM, Dazooz wrote:
>
> > When I set my preferences in a module, then play a game then close out
> > the program everything is fine until I go to open the module again and
> > the preferences have reverted back to their default settings. How
> > do I
> > get my preferences to stay?
>
> The preference should automatically be saved, unless there is
> something that prevents writing of the file. This can often be a
> permissions problem.
>
> What type of computer and operating system are you using?
>
> What is in the error log file? You can find it in the Vassal folder
> in your home folder. It is called "errorLog".
>

I'm reposting this for TR, since the list bridge ate his message.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Preferences keep re-setting.

Postby Dazooz » November 30th, 2010, 12:35 am

I have an older Compaq running Windows XP.

Here is the errorlog file.

30 Nov 2010 02:32:00.703 0 -- Starting
30 Nov 2010 02:32:00.718 0 -- OS Windows XP
30 Nov 2010 02:32:00.718 0 -- Java version 1.6.0_22
30 Nov 2010 02:32:00.718 0 -- VASSAL version 3.1.14
30 Nov 2010 02:32:02.671 0 -- Manager
30 Nov 2010 02:33:01.515 0 -- Loading module file C:\Downloads\Wargames\Vassal\VassalWindows\games\Wilderness War\Wilderness_War_2_3.vmod
30 Nov 2010 02:33:01.531 0 -- Loading module Wilderness War
30 Nov 2010 02:33:06.734 0 C:\Program Files\Java\jre6\bin\java -Xms64M -Xmx128M -DVASSAL.id=1 -Duser.home=C:\Documents and Settings\Jason Lewandowski -cp lib\Vengine.jar VASSAL.launch.Player
30 Nov 2010 02:33:34.687 1 -- Wilderness War version 2.3
30 Nov 2010 02:33:34.703 1

30 Nov 2010 02:34:24.781 1 -- Exiting
30 Nov 2010 02:34:35.390 0 -- Loading module file C:\Downloads\Wargames\Vassal\VassalWindows\games\Wilderness War\Wilderness_War_2_3.vmod
30 Nov 2010 02:34:35.390 0 -- Loading module Wilderness War
30 Nov 2010 02:34:36.109 0 C:\Program Files\Java\jre6\bin\java -Xms128M -Xmx256M -DVASSAL.id=2 -Duser.home=C:\Documents and Settings\Jason Lewandowski -cp lib\Vengine.jar VASSAL.launch.Player
30 Nov 2010 02:34:59.359 2 -- Wilderness War version 2.3
30 Nov 2010 02:34:59.359 2

30 Nov 2010 03:01:23.609 2 java.io.IOException: Unable to write to C:\Documents and Settings\Jason Lewandowski\VASSAL\Preferences
Data stored in C:\Documents and Settings\Jason Lewandowski\VASSAL\temp78.zip
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:481)
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:266)
at VASSAL.preferences.PrefsEditor.write(PrefsEditor.java:235)
at VASSAL.preferences.Prefs.write(Prefs.java:206)
at VASSAL.build.GameModule.shutDown(GameModule.java:710)
at VASSAL.launch.ShutDownAction.actionPerformed(ShutDownAction.java:57)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

30 Nov 2010 03:01:23.828 2 -- Exiting
30 Nov 2010 03:02:12.765 0 -- Exiting
Dazooz
 
Posts: 4
Joined: August 31st, 2010, 1:50 am

Re: [messages] [Technical Support & Bugs] Re: Preferences ke

Postby uckelman » November 30th, 2010, 10:01 am

Thus spake Dazooz:
> I have an older Compaq running Windows XP.

This is a problem for which we've had a lot of reports but we've never been
able to reproduce it ourselves.

Would you cheheck the permissions on the file
C:\Documents and Settings\Jason Lewandowski\VASSAL\Preferences? One reason
this might fail is that you don't have permission to write to it.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Preferences keep re-setting.

Postby Dazooz » November 30th, 2010, 11:57 pm

What do you mean by permissions? The attributes? Read Only is not checked.
Dazooz
 
Posts: 4
Joined: August 31st, 2010, 1:50 am

Re: [messages] [Technical Support & Bugs] Re: Preferences ke

Postby uckelman » December 1st, 2010, 8:02 am

Thus spake Dazooz:
> What do you mean by permissions? The attributes? Read Only is not
> checked.
>

Yes. Is the file owned by your user account?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Preferences keep re-setting.

Postby Dazooz » December 1st, 2010, 10:30 am

I don't know how to check for that either, under properties? I didn't see anything about ownership.
Dazooz
 
Posts: 4
Joined: August 31st, 2010, 1:50 am

Re: [messages] [Technical Support & Bugs] Re: Preferences ke

Postby uckelman » December 1st, 2010, 10:38 am

Thus spake Dazooz:
> I don't know how to check for that either, under properties? I didn't
> see anything about ownership.

I don't know how to check for it either---I'm not a Windows user.


--
J.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Preferences keep re-setting.

Postby pgeerkens » December 16th, 2010, 6:33 am

I donèt have any XP machies any more, but in VIsta you do the following:
In Windows Explorer, select View -> Choose Details
and select the details owner, etc. that you wish to have displayed.

In Vista you can also right-click on the right-hand-pane header and select "More ..." to get the complete list of displayable attributes.

Or, navigate to the folder in a command prompt window, and run the command "Dir /Q".

Hope that helps.

Pieter
Pieter
-----------------------------------------
"Even on the attack, I found the spade [to be] the equal of the rifle."
Erwin Rommel, Infantry Attacks
User avatar
pgeerkens
 
Posts: 228
Joined: September 12th, 2010, 4:33 am
Location: Hamilton, Ontario, Canada

Re: Preferences keep re-setting.

Postby Tim M » December 16th, 2010, 6:40 am

pgeerkens wrote:I donèt have any XP machies any more, but in VIsta you do the following:
In Windows Explorer, select View -> Choose Details
and select the details owner, etc. that you wish to have displayed.

In Vista you can also right-click on the right-hand-pane header and select "More ..." to get the complete list of displayable attributes.

Or, navigate to the folder in a command prompt window, and run the command "Dir /Q".

Hope that helps.

Pieter


XP works same way
Tim,
Vassal Uber Geek/Guru

Problems? post your OS, Physical Mem, version of Vassal and Java plus the Module in question.
No developer can help with out that info, thx!
User avatar
Tim M
 
Posts: 1777
Joined: December 8th, 2007, 12:22 pm
Location: Earth


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 1 guest