• Editor
  • Can't export video in 4.1, access denied

Hi, it's the first time I'm trying to export a video of any format, from Spine, using my recently assembled PC.
I'm running Linux KDE Plasma 6 and this is the kind of error I get from the log (only the final part):

   at java.lang.ProcessImpl.<init>(Unknown Source)
   at java.lang.ProcessImpl.start(Unknown Source) ...
ERROR: Unable to export:
[error] Error during export.
   at s.qFm._(_:304)
   at s.qFm._(_:256)
   at s.Wli._(_:693)
   at java.lang.Thread.run(Unknown Source)
Cause: [io] java.lang.RuntimeException: 
   at s.dUh.D(_:160)
   at s.dUh._(_:141)
   at s.DMa._(_:115)
   at s.qFm._(_:329)
   at s.qFm._(_:285) ...
Cause: [error] 
   at s.dUh._(_:134)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ...
Cause: [io] Cannot run program "/home/fabiano/Applicazioni/Spine/launcher/2/bin/ffmpeg-linux" (in directory "/home/fabiano/kDrive/LAVORI/CAPECOD/GAMENAME/SIMBOLI/PHARAOH"): error=13, Permesso negato
   at java.lang.ProcessBuilder.start(Unknown Source)
   at java.lang.ProcessBuilder.start(Unknown Source)
   at s.OXN._(_:101)
   at s.dUh._(_:114) ...
Cause: [io] error=13, Permesso negato
   at java.lang.ProcessImpl.forkAndExec(Native Method)
   at java.lang.ProcessImpl.<init>(Unknown Source)
   at java.lang.ProcessImpl.start(Unknown Source) ...

I'm attaching the full log of this session, there are a lot of these errors even if I tried to export just once, probably due to the preview generation.

spine.log
29kB
Related Discussions
...

The error you're encountering, Permesso negato (Permission denied), suggests that Spine is unable to execute the ffmpeg-linux binary required for video export due to insufficient permissions. This is a common issue on Linux systems where executable files may not have the necessary execution permissions set.

To resolve this issue, you need to grant execution permissions to the ffmpeg-linux binary. You can do this by opening a terminal, navigating to the directory where ffmpeg-linux is located (/home/fabiano/Applicazioni/Spine/launcher/2/bin/ in your case), and running the following command:

chmod +x ffmpeg-linux

This command changes the mode of the file to add execution permissions. After executing this command, try exporting your video from Spine again. If the problem was solely due to execution permissions, this should resolve it.

Remember, Linux is case-sensitive and precise with file paths, so ensure you're in the correct directory when you execute the chmod command. If you encounter further issues, it might be related to other permissions or environmental configurations specific to your Linux setup.

We'll make sure the permissions are right for the next launcher build (soon). For now you can do:

chmod +x Spine/launcher/2/bin/ffmpeg-linux
chmod +x Spine/launcher/2/bin/oxipng-linux