Hi,
I want to automate export of preview png, but Spine rise exception.
Here is my settings file png.json:
{
"class": "png",
"exportType": "Frame",
"animation": "None",
"skin": "Current",
"images":"true"
}
Command line:
C:\Users\saffran\Google Drive\Animations\Spine\ScriptTest\scripts>"C:\Program Fi
les (x86)\Spine\Spine.com"
---
input "C:\Users\saffran\Google Drive\Animations\Spi
ne\ScriptTest\scripts\png_2.json"
---
output "C:\Users\saffran\Google Drive\Anima
tions\Spine\ScriptTest\Bear\generated-preview"
---
export "C:\Users\saffran\Google
Drive\Animations\Spine\ScriptTest\scripts\png.json"
Spine Launcher 3.6.49
Windows 7 Ultimate x86 6.1
Java 1.7.0_80 Esoteric Software
32-bit Server VM
ERROR: Error reading export settings file:
C:/Users/saffran/Google Drive/Animations/Spine/ScriptTest/scripts/png.json
jH: Error reading file: C:/Users/saffran/Google Drive/Animations/Spine/ScriptTes
t/scripts/png.json
at iF.a(SourceFile:715)
at mP.<init>(SourceFile:63)
at com.esotericsoftware.spine.editor.Editor.main(SourceFile:1341)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at java.lang.invoke.MethodHandleImpl$BindCaller$T/19651588.invoke_V(Meth
odHandleImpl.java:933)
at tzax.y.run(SourceFile:1682)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:302)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo
main.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: jH:
at iF.a(SourceFile:900)
at iF.a(SourceFile:713)
... 22 more
Caused by: kg: Class not found: png
at kd.a(SourceFile:30)
at iF.a(SourceFile:898)
... 23 more
Caused by: java.lang.ClassNotFoundException: png
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at kd.a(SourceFile:28)
... 24 more
What I'm doing wrong?
Thanks!