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


Permlink Replies: 21 - Pages: 2 [ 1 2 | Next ] - Last Post: 05-Dec-2018 20:44 Last Post By: waltbros Threads: [ Previous | Next ]
waltbros

Posts: 35
Registered: 26-Dec-2006
Saturn 12.0.0 error
Posted: 05-Dec-2018 15:00
 
  Click to reply to this thread Reply
Installed Saturn V12.0.0. Opened a project and hit "Make Album". Got this error message:

Stack trace for jAlbum 17.1.1 using skin Saturn 12:

se.datadosen.util.ScriptException: Sourced file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : illegal use of undefined variable, class, or 'void' literal : at Line: 5 : in file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : ? "TI" : "" ;
in infopage.htt at line number 41
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:75)
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:77)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1271)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1264)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1480)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2777)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2690)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1092)
Caused by: javax.script.ScriptException: Sourced file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : illegal use of undefined variable, class, or 'void' literal : at Line: 5 : in file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : ? "TI" : "" ;
in inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' at line number 5
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:96)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:57)
at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:54)
... 10 more
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 15:17   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
Please pass me the jalbum-settings.jap file. I can't produce that error, and it's occurring in a place where almost nothing has changed, so it's puzzling.

And, as always, try reinstalling the skin without jAlbum running, then launch it, open the project, and see what happens.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 15:30   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I think it here.
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 15:46   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
Hmmm.... No error when I make the album. I get your info page with the writeup about your site and your contact info.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 16:03   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Is that all you get? Just the contact page?
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 16:07   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
No, I get a regular album, using my own images, of course. But the error message indicates a problem with the template file for the info page, and I'm getting no error there at all.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 16:16   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
On the Info page setting, if I uncheck "Match Index Page Theme Image" I don't get the error
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 16:28   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
I still don't get an error, no matter what settings I use for the info page. I'll keep poking at it, but if I can't produce the error, I can't fix it.

All I can suggest is a clean reinstall of jAlbum, followed by a clean reinstall of Saturn.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 16:30   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Easier for me is to go back to V11.0.0
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 16:36   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
That's certainly another option. But it bugs me that I can't produce the error you're seeing. It falls into the "impossible" category - it's saying that a certain variable isn't defined, yet it is defined, two lines earlier in the same script. That's why I suggest some reinstalling - it should take only a few minutes.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 17:11   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
That's certainly another option. But it bugs me that I can't produce the error you're seeing. It falls into the "impossible" category - it's saying that a certain variable isn't defined, yet it is defined, two lines earlier in the same script. That's why I suggest some reinstalling - it should take only a few minutes.
OK, Complete uninstall and reinstall. Reinstalled Saturn V12.0.0. Opened project, made sure Match index page theme image box is checked. Hit Make Album and here is the read out

Stack trace for jAlbum 17.1.1 using skin Saturn 12:

se.datadosen.util.ScriptException: Sourced file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : illegal use of undefined variable, class, or 'void' literal : at Line: 5 : in file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : ? "TI" : "" ;
in infopage.htt at line number 41
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:75)
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:77)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1271)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1264)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1480)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2777)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2690)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1092)
Caused by: javax.script.ScriptException: Sourced file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : illegal use of undefined variable, class, or 'void' literal : at Line: 5 : in file: inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' : ? "TI" : "" ;
in inline evaluation of: `` ipwrapper = true; ipti = useThemes && infopageTheme && themeRoot; iptextclas . . . '' at line number 5
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:96)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:57)
at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:54)
... 10 more

Going back to V11.0.0

Edited by: waltbros on 05-Dec-2018 08:12
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 17:26   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
Utterly mystifying. :(

The only plausible explanation for this is that, for some reason, your copy of v.12 is still trying to use the infopage.htt template from v.11. There is one variable that has been eliminated in v.12.

Do me one favor. Reinstall Saturn v.12. Then choose Tools, Skin developer, Edit skin files. Head for the tab for infopage.htt. Go down to line 24, which starts with ipiconclass = ipti, and copy and paste that line here. Do the same for line 36, which starts with ipNav += "\n<div class='sa-navleftip'>

Those are literally the only two lines that are different between v.11 and v.12.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 17:52   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I guess I don't understand what you want me to copy and paste???
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 17:57   in response to: waltbros in response to: waltbros
 
  Click to reply to this thread Reply
I want you to install Saturn v.12, then go into the skin file editor, and show me what you're seeing on lines 24 and 36 of the infopage.htt file.
waltbros

Posts: 35
Registered: 26-Dec-2006
Re: Saturn 12.0.0 error
Posted: 05-Dec-2018 18:00   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Line 24 ipiconclass = ipti ? "TI" : ""; Line 36 ipNav += "\n
<a><img id='sa-prevarrow' src='res/index"%20+%20ipiconclass%20+%20".svg' alt='" + stIndexPage + "' title='" + stIndexPage + "'></a>
";
Legend
Forum admins
Helpful Answer
Correct Answer

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