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


Permlink Replies: 7 - Pages: 1 - Last Post: 20-Oct-2020 12:56 Last Post By: davidekholm Threads: [ Previous | Next ]
PeterGibb

Posts: 160
Registered: 20-Nov-2009
Error with the Tiger Skin - Apparantly
Posted: 17-Oct-2020 17:44
 
  Click to reply to this thread Reply
Hello,

Well I think I can reproduce this as I have been able to on three occasions so far.

I launch jAlbum, load an album from my list on the left side, select the little down arrow on the 'Make Album' button, have a quick look at 'Multi Maker', close it, then use the 'make album' button option.

The make album process stops abruptly and a window pops up saying that I have had an issue with the 'Tiger' skin... Which is the interesting bit really, as I dont use the Tiger skin.. The album I have opened is using the MatrixSlide skin, and what a brilliant little skin it is.

I have attached a screenshot

I just thought I would mention it thats all, I am using jAlbum version 22.1

I have also used the copy to clipboard error option which is below.....

Regards Peter

Edit... It seems that as long as I dont open, look at and close the Multi maker window, all works fine.

Stack trace for jAlbum 22.1 using skin Tiger 2.13.6:

se.datadosen.util.ScriptException: javax.script.ScriptException: Sourced file: inline evaluation of: `` ctObjectTitle = (fileTitle != void) ? cleanString(fileTitle) : null; ctObject . . . '' : Undefined argument: locVideoLink : at Line: 12 : in file: inline evaluation of: `` ctObjectTitle = (fileTitle != void) ? cleanString(fileTitle) : null; ctObject . . . '' : ( locVideoLink , encodeMyURLs )
in objectLevel.inc at line number 1
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.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.IncludeNode.doEval(IncludeNode.java:92)
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.IteratorNode.handleIteration(IteratorNode.java:109)
at se.datadosen.jalbum.ast.IteratorNode.doEval(IteratorNode.java:97)
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:75)
at se.datadosen.jalbum.AlbumBean.makeIndexPages(AlbumBean.java:3302)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1572)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2862)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2774)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1128)
Caused by: javax.script.ScriptException: Sourced file: inline evaluation of: `` ctObjectTitle = (fileTitle != void) ? cleanString(fileTitle) : null; ctObject . . . '' : Undefined argument: locVideoLink : at Line: 12 : in file: inline evaluation of: `` ctObjectTitle = (fileTitle != void) ? cleanString(fileTitle) : null; ctObject . . . '' : ( locVideoLink , encodeMyURLs )
in inline evaluation of: `` ctObjectTitle = (fileTitle != void) ? cleanString(fileTitle) : null; ctObject . . . '' at line number 12
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:62)
... 16 more

Edited by: PeterGibb on 17-Oct-2020 17:00
JeffTucker

Posts: 6,866
Registered: 31-Jan-2006
Re: Error with the Tiger Skin - Apparantly
Posted: 18-Oct-2020 14:42   in response to: PeterGibb in response to: PeterGibb
 
  Click to reply to this thread Reply
Not sure what's going on there - I think David will have to sort it out, as it appears to involve the "multi maker" script, about which I know nothing.

The error message says that it's coming from Tiger, but the variables it's referencing are all very familiar - they're part of MatrixSlide.
PeterGibb

Posts: 160
Registered: 20-Nov-2009
Re: Error with the Tiger Skin - Apparantly
Posted: 18-Oct-2020 22:37   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Okeydoke,

Its something I can reproduce and hope it can be solved, as
I really like using the Multi maker but am giving it a miss for now.

Thank You for that explanation

Regards, Peter
RobM

Posts: 3,222
Registered: 4-Aug-2006
Re: Error with the Tiger Skin - Apparantly
Posted: 18-Oct-2020 23:34   in response to: PeterGibb in response to: PeterGibb
 
  Click to reply to this thread Reply
Just a thought that as Tiger is the default skin, have you set your default skin to something other than Tiger? If not does doing that stop the error?
PeterGibb

Posts: 160
Registered: 20-Nov-2009
Re: Error with the Tiger Skin - Apparantly
Posted: 19-Oct-2020 10:30   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Hello

Yes, my default skin is/was MatrixSlide, I just reset things so Tiger skin is my default and restarted jAlbum, things are as they were and the error still exists. The error exists whatever skin I choose as my default.

However, if I actually 'use' Multi maker to upload some albums all goes as it should with no warnings, the albums upload completes.

But, upon going back into Multi maker and then closing its window straight away, my subsequent uploads using the 'make album' button produce the error again...

It seems that the error does NOT occur if I actually USE Multi maker to upload an album, also the error does NOT occur if I do not use Multi maker, AT ALL.

But the error DOES occur if I just open the Multi maker window and close it straight away.

I hope this makes some sense...

Regards, Peter
davidekholm

Posts: 3,222
Registered: 18-Oct-2002
Re: Error with the Tiger Skin - Apparantly
Posted: 19-Oct-2020 17:25   in response to: PeterGibb in response to: PeterGibb
 
  Click to reply to this thread Reply
Thanks for reporting. I checked the source code for the MultiMaker. It apparently does some weird global changes which shouldn't be necessary, and are having these side effects. I've now removed them.

To have the fix applied, just replace your lib/jalbum-core.jar file with this update: http://jalbum.net/download/beta/jalbum-core.jar

Yes, it's a beta, which has somewhat better repeated album making performance (using precompiled javascript on consecutive album makes). This beta also avoids re initializing the script engine on each make album. All in all I see twice as fast album making for Sample Portfolio now.

(MultiMaker is based on an older "Batch make album" script. These odd global changes are probably left overs from those days).
PeterGibb

Posts: 160
Registered: 20-Nov-2009
Re: Error with the Tiger Skin - Apparantly
Posted: 19-Oct-2020 19:11   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Thank You,

That seems to have done it, all is working now and the uploads do look
a fair bit faster.

Every time I time I post up it seems I add to someone's workload, my apologies,
the new Multimaker is such a useful thing to have, its so well laid out and I
use it whenever possible.

Many Thanks

Regards, Peter
davidekholm

Posts: 3,222
Registered: 18-Oct-2002
Re: Error with the Tiger Skin - Apparantly
Posted: 20-Oct-2020 12:56   in response to: PeterGibb in response to: PeterGibb
 
  Click to reply to this thread Reply
PeterGibb wrote:
Thank You,

That seems to have done it, all is working now and the uploads do look
a fair bit faster.

Every time I time I post up it seems I add to someone's workload, my apologies,
the new Multimaker is such a useful thing to have, its so well laid out and I
use it whenever possible.

Many Thanks

Regards, Peter


It's not a burden at all. You've help me find a rather nasty bug here. The sooner it's fixed (which just happened) the better for all :-)
Legend
Forum admins
Helpful Answer
Correct Answer

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