I'm using Stencyl 4.1.0 on Debian 12, Mate window manager.
I'm creating agame from scratch, starting with sound import.
I'm trying to import the sounds from the assets of Crash Course 2, e.g. "General Shooter Spacey Level.mp3"
I get a fatal pop-up saying:
Then, if I force foreground java logs with _PRESERVE_TERMINAL_="true" ,
I can see the following exception:
I'm creating agame from scratch, starting with sound import.
I'm trying to import the sounds from the assets of Crash Course 2, e.g. "General Shooter Spacey Level.mp3"
I get a fatal pop-up saying:
Code: [Select]
Failed to read file.
/tmp/stencyl9738103851681509839/scratch/convert-0.mp3"
Then, if I force foreground java logs with _PRESERVE_TERMINAL_="true" ,
I can see the following exception:
Code: [Select]
2024-12-30 19:39:12,599 DEBUG [AWT-EventQueue-0] stencyl.sw.app.editors.sound.SoundPage: Sound In: /home/alex/assets/CC2 Game Assets/General Shooter Spacey Level.mp3
2024-12-30 19:39:12,617 DEBUG [Loading Sound] stencyl.sw.core.tasks.SoundImportTask: Import Sound took 11ms
2024-12-30 19:39:12,620 ERROR [Loading Sound] stencyl.core.api.tasks.Task: Failed: Loading Sound
at stencyl.core.api.tasks.Task.failWithError(Task.java:701)
at stencyl.core.api.tasks.TaskIOHelper.readFileToByteArray(TaskIOHelper.java:243)
at stencyl.sw.app.editors.sound.SoundPlaybackPanel.refreshSound(SoundPlaybackPanel.java:126)
at stencyl.sw.app.editors.sound.SoundPlaybackPanel.lambda$loadNewSoundFromDisk$0(SoundPlaybackPanel.java:112)
at stencyl.sw.app.editors.sound.SoundPlaybackPanel.loadNewSoundFromDisk(SoundPlaybackPanel.java:110) <Task: Loading Sound>
at stencyl.sw.app.editors.sound.SoundPage.refreshSoundData(SoundPage.java:265)
at stencyl.sw.app.editors.sound.SoundPage.showChooser(SoundPage.java:247)
at stencyl.sw.app.editors.sound.SoundPage.addAddon(SoundPage.java:231)
at stencyl.app.lists.create.CreateNewPanel$1.mousePressed(CreateNewPanel.java:43)
at java.awt.Component.processMouseEvent(null:-1)
at javax.swing.JComponent.processMouseEvent(null:-1)
at java.awt.Component.processEvent(null:-1)
at java.awt.Container.processEvent(null:-1)
at java.awt.Component.dispatchEventImpl(null:-1)
at java.awt.Container.dispatchEventImpl(null:-1)
at java.awt.Component.dispatchEvent(null:-1)
at java.awt.LightweightDispatcher.retargetMouseEvent(null:-1)
at java.awt.LightweightDispatcher.processMouseEvent(null:-1)
at java.awt.LightweightDispatcher.dispatchEvent(null:-1)
at java.awt.Container.dispatchEventImpl(null:-1)
at java.awt.Window.dispatchEventImpl(null:-1)
at java.awt.Component.dispatchEvent(null:-1)
at java.awt.EventQueue.dispatchEventImpl(null:-1)
at java.awt.EventQueue$4.run(null:-1)
at java.awt.EventQueue$4.run(null:-1)
at java.security.AccessController.doPrivileged(null:-1)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(null:-1)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(null:-1)
at java.awt.EventQueue$5.run(null:-1)
at java.awt.EventQueue$5.run(null:-1)
at java.security.AccessController.doPrivileged(null:-1)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(null:-1)
at java.awt.EventQueue.dispatchEvent(null:-1)
at java.awt.EventDispatchThread.pumpOneEventForFilters(null:-1)
at java.awt.EventDispatchThread.pumpEventsForFilter(null:-1)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(null:-1)
at java.awt.EventDispatchThread.pumpEvents(null:-1)
at java.awt.EventDispatchThread.pumpEvents(null:-1)
at java.awt.EventDispatchThread.run(null:-1)
Caused by: java.io.FileNotFoundException: /tmp/stencyl9738103851681509839/scratch/convert-0.mp3 (No such file or directory)
at java.io.FileInputStream.open0(null:-2)
at java.io.FileInputStream.open(null:-1)
at java.io.FileInputStream.<init>(null:-1)
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:2388)
at org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils.java:2467)
at stencyl.core.api.tasks.TaskIOHelper.readFileToByteArray(TaskIOHelper.java:239)
at stencyl.sw.app.editors.sound.SoundPlaybackPanel.refreshSound(SoundPlaybackPanel.java:126)
at stencyl.sw.app.editors.sound.SoundPlaybackPanel.lambda$loadNewSoundFromDisk$0(SoundPlaybackPanel.java:112)
2024-12-30 19:39:12,623 ERROR [Loading Sound] stencyl.core.api.tasks.Task: Failed: Loading Sound
2024-12-30 19:39:12,624 ERROR [Loading Sound] stencyl.app.comp.dg.MessageDialog: Error: Failed to read file. - /tmp/stencyl9738103851681509839/scratch/convert-0.mp3