SexScripts : error reading file when publishing - https://ss.deviatenow.com:443/viewtopic.php?f=6&t=773 | Page 1 of 1 |
error reading file when publishing |
unnamed007 [ Mon Jul 02, 2018 2:53 pm ] |
---|---|
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. |
Re: error reading file when publishing |
doti [ Mon Jul 02, 2018 6:06 pm ] |
---|---|
Yes message is clear, so it must be a sort of issue with the system itself. Some ideas :
I'll try to find some other possible reasons tomorrow. |
Re: error reading file when publishing |
martlb [ Mon Jul 02, 2018 9:37 pm ] |
---|---|
Did you check it in the editor? You've to do that first before you can publish the script. |
Re: error reading file when publishing |
unnamed007 [ Mon Jul 02, 2018 9:59 pm ] |
---|---|
@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) |
Re: error reading file when publishing |
doti [ Wed Jul 04, 2018 8:59 am ] |
---|---|
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...") |
Re: error reading file when publishing |
unnamed007 [ Wed Jul 04, 2018 10:19 am ] |
---|---|
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) |
Re: error reading file when publishing |
doti [ Wed Jul 04, 2018 7:49 pm ] |
---|---|
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 ? |
Re: error reading file when publishing |
unnamed007 [ Wed Jul 04, 2018 11:56 pm ] |
---|---|
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. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |