This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 2 Jul 25, 15:43 Last Post By: JeffTucker Threads: [ Previous | Next ]
TomJr

Posts: 14
Registered: 9-Jun-2022
Error in latest update to Story
Posted: 1 Jul 25, 13:31
 
  Click to reply to this thread Reply
Hey all,

Was updating a portfolio in Story, got this error remaking album:

Stack trace for jAlbum 37.6 using skin Story 6.2:

se.datadosen.util.ScriptException: /Users/thenry/Library/JAlbum/skins/Story/init.js:1203 ReferenceError: "autoRotate360" is not defined in init.js at line number 1203
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:3351)
at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:3977)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3649)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3564)
at se.datadosen.jalbum.MakeAlbumTask.doInBackground(MakeAlbumTask.java:184)
at se.datadosen.jalbum.TaskManager$BackgroundTask.call(TaskManager.java:113)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javax.script.ScriptException: ReferenceError: "autoRotate360" is not defined in /Users/thenry/Library/JAlbum/skins/Story/init.js at line number 1203
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:436)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:420)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine$1.eval(NashornScriptEngine.java:476)
at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:3423)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:3345)
... 9 more
Caused by: /Users/thenry/Library/JAlbum/skins/Story/init.js:1203 ReferenceError: "autoRotate360" is not defined
at org.openjdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:318)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:290)
at org.openjdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1604)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$41$34318$init.getLightboxVars(/Users/thenry/Library/JAlbum/skins/Story/init.js:1203)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$37$43500$init.initAlbum(/Users/thenry/Library/JAlbum/skins/Story/init.js:1510)
at org.openjdk.nashorn.internal.scripts.Script$30$init.:program(/Users/thenry/Library/JAlbum/skins/Story/init.js:1956)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:506)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:519)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:415)
... 13 more

Any ideas?
JeffTucker

Posts: 8,052
Registered: 31-Jan-2006
Re: Error in latest update to Story
Posted: 1 Jul 25, 15:46   in response to: TomJr in response to: TomJr
 
  Click to reply to this thread Reply
Confirmed. This occurs with a simple test album, default skin settings.

Until it's fixed, the only alternative is to reinstall Story 6.1.0:

https://jalbum.net/web/GetSkinFile?versionId=5501&type=jaskin
Laza

Posts: 1,556
Registered: 6-Sep-2005
Re: Error in latest update to Story
Posted: 2 Jul 25, 12:13   in response to: TomJr in response to: TomJr
 
  Click to reply to this thread Reply
I released the fixed version now.

(No idea, how my tests worked - perhaps the missing variable has leaked in the settings file from the Tiger skin.)
TomJr

Posts: 14
Registered: 9-Jun-2022
Re: Error in latest update to Story
Posted: 2 Jul 25, 15:23   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
OK, now seems to be OK....thanks!

Edited by: TomJr on 2 Jul 2025, 15:43
JeffTucker

Posts: 8,052
Registered: 31-Jan-2006
Re: Error in latest update to Story
Posted: 2 Jul 25, 15:42   in response to: TomJr in response to: TomJr
 
  Click to reply to this thread Reply
TomJr wrote:
Now, when I remake or Force Remake the gallery with the new version, the folders no longer work, and ALL photos show up on screen.

This, I can't confirm. AFAIK, nothing has changed with regard to folder processing. Try refreshing your browser cache.

Don't bother doing a Force Remake. All that does is cause all of the image and video files to be reprocessed. Unless you're having some sort of weird problem with the scaling of the images, a Force Remake isn't necessary. It's just a waste of processing and uploading time.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums