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


Post new topic Reply to topic  [ 8 posts ] 
Author Message
 error reading file when publishing
PostPosted: Mon Jul 02, 2018 2:53 pm 
Offline
Active member
Hello,

I'm trying to publish a script from the editor, but it claims it can not find the script.

The exact error being "os.name : Windows 10
os.arch : x86
java.version : 1.8.0_171
java.io.FileNotFoundException: F:\sexscripts\scripts\scriptname.groovy (The system cannot find the file specified)"

The issue is that the script is there, I even tried saving it with the editor, and it confirms it's in that exact folder with the exact same path. I can also run the script locally with absolutely no issues.

Initially my script had an underline in the name, and I thought that caused the issue, since then it was removed and its just a one-word name.


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Mon Jul 02, 2018 6:06 pm 
Offline
Site Admin
User avatar
Yes message is clear, so it must be a sort of issue with the system itself. Some ideas :
  • F: is not with a standard filesystem (I don't kow how exactly)
  • The directory is not a real directory (but a .zip, a link...)
  • Some security issues (check the security properties of the file and the directory)
  • Another software is messing up (Filebot, Rivatuner, an antivirus...)

I'll try to find some other possible reasons tomorrow.


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Mon Jul 02, 2018 9:37 pm 
Offline
Veteran
Did you check it in the editor?
You've to do that first before you can publish the script.


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Mon Jul 02, 2018 9:59 pm 
Offline
Active member
@doti

F: is a normal partition. There are no other issues when installing or using other software.
It's a standard folder.
I tried running sexscripts.exe as an administrator, it did not help.
I only use windows defender and it didn't flare up or anything.

@martlb

Initially it said I had to check the script. I checked it. Problem still persists.

@everyone

Please do let me know if there's some sort of debugger or logging tool I can use to troubleshoot this further. I tried doing the basics (ex. disabling firewall, running as an admin, changing file names, checking extension, etc)


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Wed Jul 04, 2018 8:59 am 
Offline
Site Admin
User avatar
Can you send here the full error that you can see in the file error.log ? It should contain a call stack (some lines starting with "at...")


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Wed Jul 04, 2018 10:19 am 
Offline
Active member
Code:
Wed Jul 04 11:19:06 EEST 2018
os.name : Windows 10
os.arch : x86
java.version : 1.8.0_171
java.io.FileNotFoundException: F:\sexscripts\scripts\waitingggame.groovy (The system cannot find the file specified)

   at java.io.FileInputStream.open0(Native Method)
   at java.io.FileInputStream.open(Unknown Source)
   at java.io.FileInputStream.<init>(Unknown Source)
   at java.io.FileInputStream.<init>(Unknown Source)
   at ss.desktop.Publisher.addToZipStream(Publisher.java:221)
   at ss.desktop.Publisher.addPathToZipStream(Publisher.java:263)
   at ss.desktop.Publisher.doPublish(Publisher.java:278)
   at ss.desktop.Publisher.execute(Publisher.java:107)
   at ss.desktop.EditorFrame$8.actionPerformed(EditorFrame.java:239)
   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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Wed Jul 04, 2018 7:49 pm 
Offline
Site Admin
User avatar
I have no more idea from now.
Her is the java code corresponding :
Code:
FileInputStream fis = new FileInputStream(fileName);

So not much to say.

I can see there is 3 "g" in the script name (waitingGgame), can you check that eventually ?


Top
 Profile Send private message 
 
 Re: error reading file when publishing
PostPosted: Wed Jul 04, 2018 11:56 pm 
Offline
Active member
doti wrote:
I have no more idea from now.
Her is the java code corresponding :
Code:
FileInputStream fis = new FileInputStream(fileName);

So not much to say.

I can see there is 3 "g" in the script name (waitingGgame), can you check that eventually ?

I feel stupid now. The problem was from the typo with the three "g"s.

Thanks for the help, it published just fine after I ammended it.


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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 - 2020
This website uses session cookies only.