ktgw0316 / LightZone

LightZone is a photo editor for Mac, Windows, and Linux.
BSD 3-Clause "New" or "Revised" License
324 stars 50 forks source link

Ubuntu 23.10 (Mantic) Lightzone 5.0.0 Beta 2 Doesn't start #322

Closed sfink16 closed 1 month ago

sfink16 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Ubuntu 23.10 (Mantic) Lightzone 5.0.0 Beta 2 Doesn't start when running under the Ubuntu 22.04 OS. I can no longer install Lightzone Ubuntu 22.04 (Jammy). I'm stuck not being able to run either.

To Reproduce Steps to reproduce the behavior:

  1. Install via the --> sudo add-apt-repository ppa:lightzone-team/lightzone <-- PPA
  2. Run sudo apt update
  3. Run sudo apt install Lightzone
  4. The installation is successful to run Lightzone 5.0.0 Beta2.
  5. The following error is return: Screenshot from 2023-10-10 16-45-14

Expected behavior Lightzone to start with no errors.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2023-10-10 16-55-40

Desktop (please complete the following information):

Additional context Add any other context about the problem here. The installation seems to force a different version (23.10) then my OS (22.04). I can't figure out why. Screenshot from 2023-10-10 16-55-40 Screenshot from 2023-10-10 16-57-08 Screenshot from 2023-10-10 16-56-54

sfink16 commented 1 year ago

Note: I get the same results when I run on an Ubuntu 23.10 Live CD.

ktgw0316 commented 1 year ago

@sfink16

java.lang.ClassNotFoundError: jiconfont/icons/FontAwesome

I think I already solved this error in #295. In my virtualbox, the jiconfont.icons.FontAwesome exists in classpath (/usr/share/java/*).

$ dpkg -l libjiconfont-font-awesome-java | tail -1
ii  libjiconfont-font-awesome-java 4.7.0.0-2    all    jIconFont - Font Awesome
$ jar tf /usr/share/java/jiconfont-font_awesome.jar | grep "FontAwesome"
jiconfont/icons/FontAwesome$1.class
jiconfont/icons/FontAwesome.class

Could you check the same commands as above on your machine?

sfink16 commented 1 year ago

Remember @ktgw0316 , I'm running 23.10 not 23.04 as per issue 295. I needed to run 23.10 due to CR3 only working in 23.10. That may be the reason you're getting different results then me. Here are my results from the two commands that you list above, although it seems like I'm doing the commands wrong: Screenshot from 2023-10-14 22-31-08

ktgw0316 commented 1 year ago

I'm running 23.10 not 23.04 as per issue 295. I needed to run 23.10 due to CR3 only working in 23.10.

Yes, I understand that. I also updated the virtualbox to 23.10, but maybe there is something not cleanly updated on my side. My libjiconfont-font-awesome-java version is different than yours, so I'll look into it.

sfink16 commented 1 year ago

@ktgw0316 - I messed up my screenshot by not installing the II that was recommended. Maybe this is better: Screenshot from 2023-10-14 22-31-08

ktgw0316 commented 1 year ago

I upgraded the libjiconfont-font-awesome-java to 4.7.0.1-1, and now lightzone crashes as you said. Sorry about that. I need to fix this issue not only for mantic but lunar and kinetic.

The difference is:

sfink16 commented 1 year ago

Thanks! At least I know a problem does exist and it wasn't only me that had the problem.

ktgw0316 commented 1 year ago

Source code change to fix this issue is trivial, but applying it only certain version of distribution when building packages on launchpad PPA is little bit tough...

sfink16 commented 1 year ago

It sounds complicate considering 3 different versions. If I can help in any way, let me know, although I haven't coded since my COBOL mainframe days many years ago.

ktgw0316 commented 1 year ago

Note for myself:

fontawesome ver. Launchpad recipe comment
4.7.0.0 lightzone-daily
4.7.0.1 lightzone-daily-22.10 patch from font-awesome-patch branch
ktgw0316 commented 1 year ago

Fix released on PPA (lightzone - 5.0.0~beta2-0~202310150417).

sfink16 commented 1 year ago

Success!!! Thanks @ktgw0316 !! Colors and exposure may be off a little bit, but I'm still testing. Of course we don't have RTC that Tex used to create but we can create our own if needed and desired. You have notes on this discussion, so I'll leave it up to you to close if you think it can be closed. Thanks again!