Thread Locked This thread is locked - replies are not allowed.


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


Permlink Replies: 6 - Pages: 1 - Last Post: 27 Jul 23, 09:23 Last Post By: CharlesDuBoix
CharlesDuBoix

Posts: 18
Registered: 20-Aug-2016
errors when making albums after re-install
Posted: 4 Apr 23, 19:27
 
after re-install of windows and re-install of jAlbum I receive errors when making albums. This is the message:

Stack trace for jAlbum 30.1 using skin Tiger 3.28:
 
se.datadosen.util.ScriptException: <eval>:1 ReferenceError: "thumbHeightM" is not defined in main-m.css at line number 142
	at se.datadosen.util.ScriptException.of(ScriptException.java:59)
	at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:99)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
	at se.datadosen.jalbum.ast.IncludeNode.doEval(IncludeNode.java:89)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
	at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
	at se.datadosen.jalbum.AST.eval(AST.java:68)
	at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1537)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1775)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3655)
	at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3534)
	at se.datadosen.jalbum.JAlbumFrame$7.run(JAlbumFrame.java:1176)
Caused by: javax.script.ScriptException: ReferenceError: "thumbHeightM" is not defined in <eval> at line number 1
	at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
	at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:447)
	at org.openjdk.nashorn.api.scripting.NashornScriptEngine$1.eval(NashornScriptEngine.java:503)
	at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
	at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:67)
	... 12 more
Caused by: <eval>:1 ReferenceError: "thumbHeightM" 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:1614)
	at org.openjdk.nashorn.internal.scripts.Script$94$\^eval\_.:program(<eval>:1)
	at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
	at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
	at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
	at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:442)
	... 15 more


Any ideas on how to solve this?
thanks in advance

--Karel
JeffTucker

Posts: 8,334
Registered: 31-Jan-2006
Re: errors when making albums after re-install
Posted: 4 Apr 23, 19:29   in response to: CharlesDuBoix in response to: CharlesDuBoix
 
Reinstall the previous version of the skin. I get this error even when making a new, simple project with default settings.
JeffTucker

Posts: 8,334
Registered: 31-Jan-2006
Re: errors when making albums after re-install
Posted: 4 Apr 23, 20:05   in response to: JeffTucker in response to: JeffTucker
 
Still getting the same error with version 3.28.1.
CharlesDuBoix

Posts: 18
Registered: 20-Aug-2016
Re: errors when making albums after re-install
Posted: 4 Apr 23, 20:28   in response to: JeffTucker in response to: JeffTucker
 
Version 3.26.2
of Tiger works fine :-)
thanks for the tip :-)

Edited by: CharlesDuBoix on 8 Apr 2023, 20:19
Laza

Posts: 1,510
Registered: 6-Sep-2005
Re: errors when making albums after re-install
Posted: 4 Apr 23, 21:42   in response to: JeffTucker in response to: JeffTucker
 
I was dumb enough to make the same mistake just another way in the fixed version. :)
JeffTucker

Posts: 8,334
Registered: 31-Jan-2006
Re: errors when making albums after re-install
Posted: 4 Apr 23, 22:16   in response to: Laza in response to: Laza
 
It takes true coding genius to be able to create the same bug in multiple different ways. I can usually manage only one. ;)
CharlesDuBoix

Posts: 18
Registered: 20-Aug-2016
Re: errors when making albums after re-install
Posted: 27 Jul 23, 09:23   in response to: CharlesDuBoix in response to: CharlesDuBoix
 
Thanks, issue has been solved by Laza in an update.
Legend
Forum admins
Helpful Answer
Correct Answer

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