de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Error with Autosave.groovy
PostPosted: Thu Apr 02, 2015 8:39 pm 
Offline
Active member
I have been getting an error message popping up at random times (i.e. often when I'm not even running sexscripts at all, which is disturbing). It reads as follows:

Could not write : java.io.FileNotFoundException: scripts\autosave.groovy (The requested operation cannot be performed on a file with a user-mapped section open)

I have a script called autosave.groovy among my scripts but I'm unsure what script it is associated with. I have been running the "sub control" script lately in its various iterations.

Any suggestions on what I should do? (running Windows 7, if that matters.)


Top
 Profile Send private message 
 
 Re: Error with Autosave.groovy
PostPosted: Fri Apr 03, 2015 10:31 am 
Offline
Site Admin
User avatar
I have no direct simple solution, I'll explain.
This file is only wrote by SexScripts main process. It is never read. Writing happens every 10 minutes if the editor is open. I checked the related code : simple, no obvious problem.
The error is : another process (of the same software or another) is writing in it at the same time (using the file mapping APIs - hsared memory). It is Windows related.

The most probable cause I see : an virus scanner, or two, open it for something. That can be also a virus itself that cause this (less probable).

You may also add this line at the end of data.properties (then save it and relaunch SexScripts), that will stop the autosaver :
Code:
application.editor.assistlevel = 254


Top
 Profile Send private message 
 
 Re: Error with Autosave.groovy
PostPosted: Fri Apr 03, 2015 3:23 pm 
Offline
Active member
You may also add this line at the end of data.properties (then save it and relaunch SexScripts), that will stop the autosaver :
Code:
application.editor.assistlevel = 254
[/quote]

Thanks for getting back to me. At the risk of sounding really stupid, could explain how I do that? I'm a total luddite, so I don't even know how to open the data.properties file.


Top
 Profile Send private message 
 
 Re: Error with Autosave.groovy
PostPosted: Fri Apr 03, 2015 3:48 pm 
Offline
Site Admin
User avatar
You'll see a "data.properties" file in the main folder of SexScripts. Open it with a text editor. Notepad may be problematic (no carriage return), but notepad++, pspad, context, vi, ultraedit, ... will do the trick. Avoid OpenOffice or Word for that. Wordpad may be ok.
Add the line, save, and restart SexScripts.


Top
 Profile Send private message 
 
 Re: Error with Autosave.groovy
PostPosted: Tue Apr 07, 2015 3:42 pm 
Offline
Active member
Thank you, doti. That worked like a charm. You are a wizard!


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.