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


Permlink Replies: 5 - Pages: 1 - Last Post: 8 Oct 21, 14:37 Last Post By: davidekholm Threads: [ Previous | Next ]
justinhow

Posts: 66
Registered: 3-Apr-2020
Background Upload error "no target directory set"
Posted: 7 Oct 21, 16:50
 
  Click to reply to this thread Reply
Just testing the new jAlbum 25 background make and upload feature. This looks good, however when it goes to upload it says "no target directory set" which I assume is referring to the folder on my web server folder to upload to. I use my own web server.
When I upload the old interactive way jAlbum does provide the correct location by default (as I had previously specified).
So where do you set this in settings for the background upload?
Thanks
davidekholm

Posts: 4,108
Registered: 18-Oct-2002
Re: Background Upload error "no target directory set"
Posted: 8 Oct 21, 10:07   in response to: justinhow in response to: justinhow
 
  Click to reply to this thread Reply
justinhow wrote:
Just testing the new jAlbum 25 background make and upload feature. This looks good, however when it goes to upload it says "no target directory set" which I assume is referring to the folder on my web server folder to upload to. I use my own web server.
When I upload the old interactive way jAlbum does provide the correct location by default (as I had previously specified).
So where do you set this in settings for the background upload?
Thanks

Please perform a manual, "foreground" upload again, then ensure that you save you project settings afterwards. Now see if jAlbum has correctly registered the target folder.
justinhow

Posts: 66
Registered: 3-Apr-2020
Re: Background Upload error "no target directory set"
Posted: 8 Oct 21, 10:57   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Still no luck - I get the same error message.
Can this thread be moved to the bug section of the forum or shall I re-post?

Java error:
java.lang.IllegalStateException: No target directory set
	at se.datadosen.jalbum.UploadAlbumTask.doInBackground(UploadAlbumTask.java:101)
	at se.datadosen.jalbum.TaskManager$BackgroundTask.call(TaskManager.java:110)
	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)
davidekholm

Posts: 4,108
Registered: 18-Oct-2002
Re: Background Upload error "no target directory set"
Posted: 8 Oct 21, 13:26   in response to: justinhow in response to: justinhow
Helpful
  Click to reply to this thread Reply
Thanks for reporting this bug. It only manifests if you're trying to upload to the root of your ftp account, or rather if you're trying to upload straight to the web root folder. Is this perhaps the case for you?

However, jAlbum should not behave like this. I've made adjustments to v25.0.2 now. To get this revision, choose Tools->External tools->"jAlbum core update" and restart jAlbum when prompted. The splash screen should now say 25.0.2.
justinhow

Posts: 66
Registered: 3-Apr-2020
Re: Background Upload error "no target directory set"
Posted: 8 Oct 21, 14:28   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Hi
I am indeed uploading to the root of an FTP server. I have updated to 25.02 and re-tested - all seems OK now in background upload.
Thanks for this excellent speedy resolution!
davidekholm

Posts: 4,108
Registered: 18-Oct-2002
Re: Background Upload error "no target directory set"
Posted: 8 Oct 21, 14:37   in response to: justinhow in response to: justinhow
 
  Click to reply to this thread Reply
You're welcome. Thanks for reporting this.
Legend
Forum admins
Helpful Answer
Correct Answer

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