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


Permlink Replies: 23 - Pages: 2 [ 1 2 | Next ] - Last Post: 8 Jul 22, 13:00 Last Post By: Soomre Threads: [ Previous | Next ]
Soomre

Posts: 59
Registered: 1-May-2009
Server mode - monitoring image folder gives error
Posted: 27 Jun 22, 21:36
 
  Click to reply to this thread Reply
External Tools - Server Mode with Upload
Addimg new image with Ligtroom Plugin.
Error
bsh.ReflectError: Method uploadAlbum( se.datadosen.jalbum.JAlbumContext, boolean ) not found in class'se.datadosen.jalbum.UploadBean' in Server mode with upload.bsh at line number 113
Message comes - album is made and uploaded. But no ne image in online folder.
After adding next new image with LR - no action taken vy Server Mode.
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Server mode - monitoring image folder gives error
Posted: 27 Jun 22, 23:38   in response to: Soomre in response to: Soomre
 
  Click to reply to this thread Reply
Odd. Please try this update. Put it inside jAlbum's "tools" folder:
Soomre

Posts: 59
Registered: 1-May-2009
Re: Server mode - monitoring image folder gives error
Posted: 28 Jun 22, 20:39   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
What can I say ...

bsh.EvalError: Method progress( se.datadosen.jalbum.event.ProgressEvent ) not found in bsh scripted object: AnonymousBlock : at Line: -1 : in file: <Called from Java Code> : <Compiled Java Code>
in Server mode with upload.bsh at line number 113
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Server mode - monitoring image folder gives error
Posted: 30 Jun 22, 11:25   in response to: Soomre in response to: Soomre
 
  Click to reply to this thread Reply
Sorry. I should have done more testing. Here's an update.

(Sidenote: This tool is basically replaced by the MultiMaker)
Soomre

Posts: 59
Registered: 1-May-2009
Re: Server mode - monitoring image folder gives error
Posted: 30 Jun 22, 12:36   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Where is watch folders in MultiMaker? I remember it was but not anymore ...
What do I miss!
Soomre

Posts: 59
Registered: 1-May-2009
Re: Server mode - monitoring image folder gives error
Posted: 30 Jun 22, 13:42   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Error:
java.lang.NullPointerException in Server mode with upload.bsh at line number 118

But uploaded.
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 16:14   in response to: Soomre in response to: Soomre
Helpful
  Click to reply to this thread Reply
Soomre wrote:
Where is watch folders in MultiMaker? I remember it was but not anymore ...
What do I miss!

Ah, this has been moved to the project's context menu. Just open the project's context menu then access "Monitor changes" and tick both "Make album" and "Upload". Now jAlbum's does this work in the background using the "Multi Maker". There is really no need for the external tool anymore. See "Project monitoring" under https://jalbum.net/blog/entry/jalbum-25-a-time-saver-for-power-users
Soomre

Posts: 59
Registered: 1-May-2009
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 16:32   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Ouch! This was THAT easy ...
Monitoring helps me a lot!
Thnx!
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 16:34   in response to: Soomre in response to: Soomre
 
  Click to reply to this thread Reply
Soomre wrote:
Ouch! This was THAT easy ...
Monitoring helps me a lot!
Thnx!

You're welcome. Even I initially forgot about it :-)
Soomre

Posts: 59
Registered: 1-May-2009
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 16:42   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Works like a chram.
Only quesation - is it possible to set wait time - f you add many many new images it seems to start making album right away before adding new images is finished.
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 16:53   in response to: Soomre in response to: Soomre
 
  Click to reply to this thread Reply
Soomre wrote:
Works like a chram.
Only quesation - is it possible to set wait time - f you add many many new images it seems to start making album right away before adding new images is finished.

That's a great feature request. Here's what I'd suggest:
  • On detected changes, have jAlbum start a short timer, say 10 seconds.
  • After this delay, if no additional changes have occurred, make the album. If there ARE new changes, start the timer again.

What do you think?
PeterGibb

Posts: 266
Registered: 20-Nov-2009
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 17:04   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Well, I don't mean to interrupt this, but I for one, think a delaying timer would be a GREAT idea.

Could users be able to setup a delay time ?. and be one that would be remembered...

Peter
Soomre

Posts: 59
Registered: 1-May-2009
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 18:43   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I think this approach is very logical. And useful.
davidekholm

Posts: 3,442
Registered: 18-Oct-2002
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 18:53   in response to: Soomre in response to: Soomre
 
  Click to reply to this thread Reply
I'll add a 3s delay, meaning that when there's been no further changes for 3s, then the make operation kicks in. I can't really see much need for this to be configurable, unless you manually add images to a folder one by one. Perhaps better to detect whether additional image were added during the make operation and then trigger another make?
PeterGibb

Posts: 266
Registered: 20-Nov-2009
Re: Server mode - monitoring image folder gives error
Posted: 4 Jul 22, 20:22   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Just thought I would ask, I often add 6 or 10 images to an album and then spend time organising their order and position within the album.

Do you think 5 seconds might be better, just to allow me some time before it all starts.

A delay is something I haven't mentioned in the past but am pleased its come up as it will be a very useful thing.

MultiMaker is working really well.

Peter
Legend
Forum admins
Helpful Answer
Correct Answer

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