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



Permlink Replies: 25 - Pages: 2 [ 1 2 | Next ] - Last Post: 9 Jan 24, 09:22 Last Post By: davidekholm
davidekholm

Posts: 3,698
Registered: 18-Oct-2002
jAlbum 34 beta for testing
Posted: 28 Dec 23, 18:51
We're close to releasing v34. The focus on this release it to ease the life of power users that manage large galleries.

Changes:
  • New item ordering mechanism: Selected items can now be ordered by a number of factors (folders first, name, date, camera date, added date, rating, title, comment, category, type and shuffled). This ordering isn't automatically maintained/enforced (it's a "custom" ordering) so you have to re-issue it when you add new items. See right-click context menu->"Order selected by". (The existing "Order by" mechanism that maintains a certain ordering is still present)
  • Select-as-you-type added: You can now quickly locate and select items within jAlbum's Explorer by just typing the first few letters of the file name. This mechanism behaves just like its equivalent in Windows Explorer and Mac OSX Finder. select-as-you-type is also implemented in the Project Gallery, MultiMaker and Backup/Restore tools.
  • You now use SHIFT+1-9 to rate and flag images (added SHIFT key to avoid collision with select-as-you-type)
  • Added "Type" (file extension) ordering. (The old "Type" ordering was actually a Category ordering and is now correctly labeled "Category")
  • Folder navigation history added: jAlbum now keeps track of visited folders of the current project and enables you to go "Backward" and "Forward" to quickly peek at folder contents and then return to where you were before. Shortcuts: ALT-Left arrow and ALT-Right arrow.
  • Now supports the "back" mouse button on 4-button mice. This navigates back to the previously visited folder.
  • Bundled skins Tiger, Story and Projector updated
  • Fix: Should not require a DISPLAY when running in console mode

Installers:
Windows: https://jalbum.net/download/jAlbum-install.exe
Mac: https://jalbum.net/download/jAlbum.dmg
Linux: https://jalbum.net/download/jalbum_34-1_amd64.deb
Zip: https://jalbum.net/download/jAlbum.zip

Edited by: JeffTucker on 28 Dec 2023, 15:27, because David can't get the casing of the name of his own company right. ;)
RobM

Posts: 4,018
Registered: 4-Aug-2006
Re: jALbum 34 beta for testing
Posted: 28 Dec 23, 21:07   in response to: davidekholm in response to: davidekholm
When it launches on my Mac it shows 'Looking for Tiger skin' and then crashes. No log created in the config library. Attached is the Mac system crash log.
RobM

Posts: 4,018
Registered: 4-Aug-2006
Re: jALbum 34 beta for testing
Posted: 28 Dec 23, 21:20   in response to: RobM in response to: RobM
Currently looking at my old defaults.jap and a newly created one. The crash happens with my old defaults.jap active.
JeffTucker

Posts: 8,023
Registered: 31-Jan-2006
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 21:44   in response to: davidekholm in response to: davidekholm
No crashes for me.

I like the new sorting options! I've often wanted this kind of flexibility. No problems that I've seen with some quick testing, but I suspect this will get a real workout from some of the more intensive users. Most of my projects are long-standing, stable beasts, and I long ago adopted some file naming conventions to avoid the worst of the problems (especially in the big family album, with source material from 160 years).
RobM

Posts: 4,018
Registered: 4-Aug-2006
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 21:54   in response to: JeffTucker in response to: JeffTucker
I have narrowed it down to Tiger. I removed all Tiger settings from my defaults.jap and jAlbum loads fine. I then tried to load Tiger skin (bundled version) and it crashes. From Jeff's observation it looks like a Mac only (maybe Linux too) problem. It might even be just M processor Macs.

Edited by: RobM on 28 Dec 2023, 20:55
Also Animatics, Lucid, PhotoBlogger, Projector and Story
JeffTucker

Posts: 8,023
Registered: 31-Jan-2006
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 22:06   in response to: RobM in response to: RobM
It crashes on my ancient Mac, as well. And it isn't just Tiger. It seems to crash with most of the bundled skins - Animatics, Lucid, Photoblogger, Projector, Story. But all other skins seems to be OK.

ETA: I see we've arrived at the same list of suspects. ;)

ETA: And it is, indeed, only on the Mac that there's a problem. All skins load in Windows without issue.
RobM

Posts: 4,018
Registered: 4-Aug-2006
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 22:58   in response to: JeffTucker in response to: JeffTucker
Attachment thread-dump.txt (24.9 KB)
I have managed to get a thread dump just as Photoblogger starts to load, though I don't know if it is too early to catch the crash itself.
davidekholm

Posts: 3,698
Registered: 18-Oct-2002
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 23:13   in response to: RobM in response to: RobM
Thanks for reporting. In order to possibly resolve some crash issues we've had reported on Mac, I updated the bundled Java for the Mac version from v19 to v21.0.1 including JavaFX 21.0.1. I suspect that this is what causes the crash. The reason it only happens with some of our bundled skins is probably because they use the embedded web browser to paint the preview graphics within the skin settings tab. You can see that it's indeed the "webkit" component that crashes from the log:
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libjfxwebkit.dylib            	       0x1e5069ea0 0x1e23ac000 + 46915232
1   libjfxwebkit.dylib            	       0x1e4e6d01c 0x1e23ac000 + 44830748


I'll re-bundle jAlbum for Mac with Java 19 again. For the time being, you can simply copy the contents of jAlbum.app/Contents/runtime from an earlier jAlbum version to this one. That should cure the crash.
JeffTucker

Posts: 8,023
Registered: 31-Jan-2006
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 23:22   in response to: davidekholm in response to: davidekholm
Sounds about right. On the Mac, if I choose the integrated browser for previews, any attempt to preview an album causes the crash, no matter what skin is involved.

It's OK in Windows.
davidekholm

Posts: 3,698
Registered: 18-Oct-2002
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 23:23   in response to: JeffTucker in response to: JeffTucker
Ok. Back to Java 19 on the Mac version again. Just re-download it.
RobM

Posts: 4,018
Registered: 4-Aug-2006
Re: jAlbum 34 beta for testing
Posted: 28 Dec 23, 23:31   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
Ok. Back to Java 19 on the Mac version again. Just re-download it.
Much better :)
ps23Rick

Posts: 10
Registered: 24-Dec-2023
Re: jAlbum 34 beta for testing
Posted: 29 Dec 23, 00:37   in response to: davidekholm in response to: davidekholm
Here's the results when running without a DISPLAY on FreeBSD.. this is when using openjdk 20 :

root@jalbum:/usr/local/share/java # java --version
openjdk 20.0.2 2023-07-18
OpenJDK Runtime Environment (build 20.0.2+9-1)
OpenJDK 64-Bit Server VM (build 20.0.2+9-1, mixed mode, sharing)


This is the line that is used to fire up jalbum as shown below.. just in case you need to know that
cd "/usr/local/share/java/jalbum" && "/usr/local/bin/java" -Djava.awt.headless=true -jar JAlbum.jar "$@"


root@jalbum:/usr/local/share/java # jalbum -displayVersion
jAlbum v34b1 started in console mode
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at se.datadosen.jalbum.ProjectSettings.<init>(ProjectSettings.java:56)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3654)
	at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3583)
	at se.datadosen.jalbum.JAlbumConsole.<init>(JAlbumConsole.java:95)
	at se.datadosen.jalbum.JAlbum.main(JAlbum.java:376)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at se.datadosen.jalbum.Main.main(Main.java:45)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at se.datadosen.util.BeanBinder.getProperties(BeanBinder.java:506)
	at se.datadosen.util.BeanBinder.getProperties(BeanBinder.java:434)
	at se.datadosen.jalbum.ProjectSettings.<init>(ProjectSettings.java:49)
	... 7 more
Caused by: java.lang.NoClassDefFoundError: javafx/beans/property/ReadOnlyBooleanWrapper
	at se.datadosen.jalbum.LicenseManagerImpl.<init>(LicenseManagerImpl.java:36)
	at se.datadosen.jalbum.JAlbumContext.getLicenseManager(JAlbumContext.java:118)
	at se.datadosen.jalbum.AlbumBean.getLicenseManager(AlbumBean.java:731)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	... 11 more
Caused by: java.lang.ClassNotFoundException: javafx.beans.property.ReadOnlyBooleanWrapper
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 15 more


Edited by: ps23Rick on 29 Dec 2023, 00:39
JeffTucker

Posts: 8,023
Registered: 31-Jan-2006
Re: jAlbum 34 beta for testing
Posted: 29 Dec 23, 00:40   in response to: ps23Rick in response to: ps23Rick
jAlbum requires both Java and JavaFX.
ps23Rick

Posts: 10
Registered: 24-Dec-2023
Re: jAlbum 34 beta for testing
Posted: 29 Dec 23, 01:23   in response to: JeffTucker in response to: JeffTucker
hmm.. ok.. I installed openjfx14 and it installed without issue but it runs exactly the same way.. Is there something I need to turn-on somewhere to get it to load? I think there's some environment variable for Java specifying locations of java runtime stuff.. ? My goodness but it's been a long time since I've dealt with Java..

edit

Got it further..

Below is what my /usr/local/bin/jalbum script looks like :
#!/bin/sh
 
cd "/usr/local/share/java/jalbum" && "/usr/local/bin/java" -Djava.awt.headless=true --module-path /usr/local/openjfx14/lib --add-modules javafx.controls -jar JAlbum.jar "$@"


Below is what happens when it runs now :

root@jalbum:/usr/local/share/java # jalbum -displayVersion
jAlbum v34b1 started in console mode
se.datadosen.jalbum.NotADirectoryException: Specified image directory is not a directory: ""
	at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:3841)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3660)
	at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3583)
	at se.datadosen.jalbum.JAlbumConsole.<init>(JAlbumConsole.java:95)
	at se.datadosen.jalbum.JAlbum.main(JAlbum.java:376)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at se.datadosen.jalbum.Main.main(Main.java:45)


Edited by: ps23Rick on 29 Dec 2023, 01:29
JeffTucker

Posts: 8,023
Registered: 31-Jan-2006
Re: jAlbum 34 beta for testing
Posted: 29 Dec 23, 02:09   in response to: ps23Rick in response to: ps23Rick
I think we need to back up a few steps, here. What is it, exactly, that you're trying to do? And more to the point, why?

jAlbum is a desktop application, not something that's intended to run server-side. You run it on the desktop, make your album (which is just a collection of HTML, CSS, and JS files), then upload it to a server. Once on the server, it's truly static.

It sounds to me like you're trying to execute jAlbum in a server environment. I won't say that's impossible, but I don't understand why you're trying to do that.
Legend
Forum admins
Helpful Answer
Correct Answer

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