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



Permlink Replies: 124 - Pages: 9 [ Previous | 1 ... 3 4 5 6 7 8 9 | Next ] - Last Post: 29 Oct 25, 19:50 Last Post By: davidekholm Threads: [ Previous | Next ]
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 18:01   in response to: JeffTucker in response to: JeffTucker
I've got another one for you, alas! Add this project to My Album, open it, close, and relaunch jAlbum. Check out the screenshot. Notice that the PDF with an attached image hasn't even been chosen for the project's thumbnail image. And yet, it has taken over the entry in the recent projects list entirely!

ETA: This one is the same in Win11 and macOS Tahoe.
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 18:05   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
I'm still getting rc25.

But more important, I'm seeing a bizarre lockup in macOS Tahoe. If I open a skin's files for editing, all appears OK. But if I then CTRL-O and try to open one of the other skin files (like in an includes directory), the entire Mac locks up. I can't even get to the Force Quit choice, and I have to do a forced shutdown of the entire machine.


Can you double-check that behaviour with v37.7.3 ?
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 18:10   in response to: davidekholm in response to: davidekholm
Attachment thread-dump-1.txt (24.6 KB)
davidekholm wrote:
Can you double-check that behaviour with v37.7.3 ?

Yup, same problem in 37.7.3. :(

ETA: Thread dump attached.

ETA: And in 36.1. This would seem to be a Tahoe issue - I'm sure I'd have seen it before now. Only did the Tahoe update within the last week.
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 19:03   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
I've got another one for you, alas! Add this project to My Album, open it, close, and relaunch jAlbum. Check out the screenshot. Notice that the PDF with an attached image hasn't even been chosen for the project's thumbnail image. And yet, it has taken over the entry in the recent projects list entirely!

ETA: This one is the same in Win11 and macOS Tahoe.


Fixed the ugly painting of the project icon in rc28. Also fixed issue with view published album now working
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 19:08   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
Fixed the ugly painting of the project icon in rc28.

Yes, that's better!

What's the all-time record for release candidates? ;)
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 21:00   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
davidekholm wrote:
Can you double-check that behaviour with v37.7.3 ?

Yup, same problem in 37.7.3. :(

ETA: Thread dump attached.

ETA: And in 36.1. This would seem to be a Tahoe issue - I'm sure I'd have seen it before now. Only did the Tahoe update within the last week.


Thanks Jeff.
I haven't updated to Tahoe yet, but will probably need to in order to put myself in the same situation as you. In the meantime, can you check if executing this code from the system console works or crashes. This code should open a file chooser in the most classic way:
fd = new FileDialog(window)
fd.show()
fd.getFile();
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 21:01   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
davidekholm wrote:
Fixed the ugly painting of the project icon in rc28.

Yes, that's better!

What's the all-time record for release candidates? ;)


We've at least beaten our internal record by now. :-)
RobM

Posts: 3,878
Registered: 4-Aug-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 21:26   in response to: davidekholm in response to: davidekholm
Odd error with Missive skin, error code
se.datadosen.util.ScriptException: java.lang.NullPointerException: Cannot invoke "String.getBytes(String)" because "s" is null in Contents.htt at line number 310

What is odd is that nowhere in Missive is there a 'getBytes' call.

Related code to line 310
objects = new HashMap();
	String name;
	int ident = 0;
	String parentName = currentFolder.getVars().get("title");
	parentName = parentName.replaceAll("\"", """);
	parentName = parentName.replaceAll("'", "'");
 
	//get the path to the current folder
	for (AlbumObject ao : currentFolder.getDescendants()) {
		Category cat = ao.getCategory();
		Scope vars = ao.getVars();
		name = vars.get("title");
		name = name.replaceAll("\"", """);
		name = name.replaceAll("'", "'") + ident;
		if ((cat == Category.webPage || cat == Category.folder) && !ao.isHidden() && !parentName.equals(name) && !currentObject.isWithin(ao)) {
			objects.put(name, ao);
			ident++;
		}
	}
 
	Map< Date, Object> sortedMap = new TreeMap< Date, Object>(objects);
 
	sortedKeys=new ArrayList(objects.keySet());
	if(ctSort) Collections.sort(sortedKeys);
 
	def contents() {     	
		for (String aok : sortedKeys) {
			thisTitle = objects.get(aok).getTitle();
			thumbs = objects.get(aok).getThumbnailPath();
			thumbPath = "";
			if(thumbs == null) thumbs = objects.get(aok).getVars().get("thumbPath");
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 21:33   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
I haven't updated to Tahoe yet, but will probably need to in order to put myself in the same situation as you. In the meantime, can you check if executing this code from the system console works or crashes. This code should open a file chooser in the most classic way:
fd = new FileDialog(window)
fd.show()
fd.getFile();
That works, once I put semicolons at the ends of the lines - otherwise, big crash! BeanShell needs the semicolons - Groovy doesn't. ;)
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 21:40   in response to: RobM in response to: RobM
RobM wrote:
Odd error with Missive skin....

I'm not getting any errors in Missive, on either platform. I gave it a project with a few folders and a subfolder, and included the Contents.htt page. Worked as it's supposed to. :)
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 22:04   in response to: JeffTucker in response to: JeffTucker
New release candidate again. Now views gather objects from hidden folders as well
RobM

Posts: 3,878
Registered: 4-Aug-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 22:08   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
RobM wrote:
Odd error with Missive skin....

I'm not getting any errors in Missive, on either platform. I gave it a project with a few folders and a subfolder, and included the Contents.htt page. Worked as it's supposed to. :)

Gremlins, I need to track em down!
RobM

Posts: 3,878
Registered: 4-Aug-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 22:09   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
New release candidate again. Now views gather objects from hidden folders as well
Is that an option that can be switched off? I'm sure users won't want objects from hidden folders included as some use them to store originals.
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: jAlbum 38 release candidate for testing
Posted: 24 Oct 25, 22:19   in response to: RobM in response to: RobM
RobM wrote:
davidekholm wrote:
New release candidate again. Now views gather objects from hidden folders as well
Is that an option that can be switched off? I'm sure users won't want objects from hidden folders included as some use them to store originals.

I agree. "Hidden" should mean "hidden," not just partially concealed.
ronvanrossum

Posts: 66
Registered: 16-Jul-2014
Re: jAlbum 38 release candidate for testing
Posted: 25 Oct 25, 09:39   in response to: davidekholm in response to: davidekholm
David,
There is a small error in the original English text file: a backslash is missing on line 2496. See the attached screenshot.

I have attached the correct Dutch version for RC29.
Legend
Forum admins
Helpful Answer
Correct Answer

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