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


This question is answered.


Permlink Replies: 16 - Pages: 2 [ 1 2 | Next ] - Last Post: 4 Oct 23, 17:35 Last Post By: davidekholm Threads: [ Previous | Next ]
RobM

Posts: 4,066
Registered: 4-Aug-2006
Backup projects
Posted: 2 Oct 23, 23:18
 
Attachment BackingUp.png (35.0 KB)
If you select a single or couple of projects to backup it works. But if you try to backup the same project(s) again, to the same location, it sometimes never completes, see attached typical dialogue.

Changing the save to location lets it work, but then you get the same problem. Even after restarting I have run into the problem.
davidekholm

Posts: 4,014
Registered: 18-Oct-2002
Re: Backup projects
Posted: 3 Oct 23, 12:28   in response to: RobM in response to: RobM
 
That's odd. I can't reproduce it. Does it seem to happen with multiple projects? For instance with "Sample Project"? If it's pretty project specific, perhaps you can zip and make available that project?
RobM

Posts: 4,066
Registered: 4-Aug-2006
Re: Backup projects
Posted: 3 Oct 23, 13:14   in response to: davidekholm in response to: davidekholm
 
I’ll try to get a reproducible set. I have seen it on single and multiple projects. Sometimes restarting fixes it but not always.
JeffTucker

Posts: 8,522
Registered: 31-Jan-2006
Re: Backup projects
Posted: 3 Oct 23, 13:56   in response to: RobM in response to: RobM
 
I'm getting the same sort of "hangs." I'm on my ancient little Macbook Air at the beach, and have only two projects on there, both of them just little 6-image test albums. Nothing even remotely fancy or interesting about them. If I back up both of them, then choose just one and try to back it up again, it never completes. I can close the dialog box by clicking the red dot. But if I do it again, I get a dialog box that says "Backing up," but that is otherwise entirely empty. Can't close that one - have to quit the app.
davidekholm

Posts: 4,014
Registered: 18-Oct-2002
Re: Backup projects
Posted: 3 Oct 23, 14:19   in response to: JeffTucker in response to: JeffTucker
 
Before starting the backup, open jAlbum's system console, then when this happens again, hit the "Dump threads" button and pass me the generated file. It will probably tell me what causes the backup to hang.
JeffTucker

Posts: 8,522
Registered: 31-Jan-2006
Re: Backup projects
Posted: 3 Oct 23, 14:30   in response to: davidekholm in response to: davidekholm
 
Attachment thread-dump.txt (45.7 KB)
Attachment thread-dump-1.txt (52.9 KB)
Here are a couple. It's very inconsistent, so tough to test.
davidekholm

Posts: 4,014
Registered: 18-Oct-2002
Re: Backup projects
Posted: 3 Oct 23, 15:07   in response to: JeffTucker in response to: JeffTucker
 
Well, those thread dumps shows that there is no active or pending copy activity at all. The relevant threads must have quit for some reason. Please do a core update to v33.0.1 and open the system console. Now issue a backup and note when it prints "Copier thread quitting"
JeffTucker

Posts: 8,522
Registered: 31-Jan-2006
Re: Backup projects
Posted: 3 Oct 23, 15:35   in response to: davidekholm in response to: davidekholm
 
When the hang occurs, I am getting the "Copier thread quitting" message, and the output backup has been updated (I've made some project settings changes to trigger it), but the dialog box is hung.

I'm also getting some suspicious numbers in the progress display, which might point to the underlying problem. Screenshot.
RobM

Posts: 4,066
Registered: 4-Aug-2006
Re: Backup projects
Posted: 4 Oct 23, 00:35   in response to: davidekholm in response to: davidekholm
 
I've just tried the bundled sample project and it fails more times than it works - less than two in ten goes. The 'Copier thread quitting' message appeared as soon as I click the backup button, nothing else printed to the console - exactly the same as a working backup reports.
JeffTucker

Posts: 8,522
Registered: 31-Jan-2006
Re: Backup projects
Posted: 4 Oct 23, 02:15   in response to: RobM in response to: RobM
 
That's probably just a problem with your fancy new M2. Try it with a 10-year-old Air running macOS 11.7.10! When I bought this (near the beach, as it happens, because there's no sales tax in Delaware), it seemed so fast....
davidekholm

Posts: 4,014
Registered: 18-Oct-2002
Re: Backup projects
Posted: 4 Oct 23, 11:43   in response to: JeffTucker in response to: JeffTucker
Correct
I'm aware that the "processed" vs "total" byte count is off. Can't really tell why. I've investigated it: For the "total" calculation, I call "length()" on each ordinary file (not folders). For the "processed" calculation, I add up the number of transferred bytes. These two should eventually match but obviously doesn't. I'll investigate it further as it may reveal another bug.

I've now released v33.0.2 as a core update. See if that one behaves better. That version doesn't try to ignore copying already copied files.
RobM

Posts: 4,066
Registered: 4-Aug-2006
Re: Backup projects
Posted: 4 Oct 23, 12:34   in response to: davidekholm in response to: davidekholm
 
That is working perfectly now, thanks.
RobM

Posts: 4,066
Registered: 4-Aug-2006
Re: Backup projects
Posted: 4 Oct 23, 12:42   in response to: davidekholm in response to: davidekholm
 
Would you consider a small change for a future update, include the 'location' selector as in the project gallery? Being able to see just the loaded 'recent' projects instead of every project would make finding a project easier. Navigating the list by keystroke, on first letter, would be easier too.
davidekholm

Posts: 4,014
Registered: 18-Oct-2002
Re: Backup projects
Posted: 4 Oct 23, 15:29   in response to: RobM in response to: RobM
Helpful
Now these issues should be fixed. Rob, I added both a location selector and made the table navigateable using ordinary key presses as well. SHIFT+key will navigate backwards and Enter will trigger the backup/restore action. Just do a core update to enjoy
JeffTucker

Posts: 8,522
Registered: 31-Jan-2006
Re: Backup projects
Posted: 4 Oct 23, 15:38   in response to: davidekholm in response to: davidekholm
 
It all seems pretty solid, but I'll leave it to RobM to test more extensively.
Legend
Forum admins
Helpful Answer
Correct Answer

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