Created attachment 154856 [details] macOS crash report SUMMARY *** Digikam 7.9 and 7.8 cannot start on macOS 12.6.2. The loading window remains indefinitely, and macOS says the application is 'not responding.' *** STEPS TO REPRODUCE 1. Attempt to open digikam by any means OBSERVED RESULT Indefinite digikam loading window EXPECTED RESULT Digikam opens SOFTWARE/OS VERSIONS Windows: macOS: 12.6.2 Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION I have attached the error report that is generated by macOS in the "share with apple" dialog, truncated to reach the file size limit. Previously, digikam was working on my system on macOS 12, but I have not used it in some months. I do not know if a minor version update to macOS or digikam occurred since digikam was working properly. I tried uninstalling digikam 7.9 and installing 7.8, but the problem is the same. It is not possible for me to downgrade my OS to investigate that as a cause.
Here i use a Intel MacBook pro 2015 with MacOS 12.6.1 and digiKam run perfectly here. I don't yet update to last Monterey version, but i doubt that it's a problem. Note : the PKG installer is also build on this computer... I also versified that digiKam run on Ventura 13.1 on a macbook air M1 and all work fine using Apple Rosetta 2 translator. Gilles Caulier
Oh, i sse that your architecture is arm64: you need Rosetta 2 to run digiKam, as it compiled for Intel only for the moment. Gilles Caulier
(In reply to caulier.gilles from comment #2) > Oh, i sse that your architecture is arm64: you need Rosetta 2 to run > digiKam, as it compiled for Intel only for the moment. > > Gilles Caulier Previously it was running fine with Rosetta 2. I do not know what could have changed that now prevents the program from starting at all.
Please create a log in the terminal, maybe we can see from the debug output why digiKam doesn't start. Description here also for macOS: https://www.digikam.org/contribute/ Maik
Created attachment 154889 [details] terminal debug output
Ok, database initialization was done without errors. In theory, the next debug output is the search paths for the color profiles. What is the last status text in the top left of the splash screen? Maik
I do not see any relevant text in the splash screen. On the top left, there is only three blue circles and no text. On the top left, there is "7.9.0".
Git commit 2c16bd8cb2b38c4044b8d6bfd49f11785eefc38a by Maik Qualmann. Committed on 29/12/2022 at 21:41. Pushed by mqualmann into branch 'qt5-maintenance'. try to fix hanging splash screen on macOS M +3 -5 core/app/main/digikamapp.cpp https://invent.kde.org/graphics/digikam/commit/2c16bd8cb2b38c4044b8d6bfd49f11785eefc38a
Gilles, a new digiKam-7.10.0 test bundle in the next few days would be nice. Maik
yes i will do it tomorrow morning.
PKG installers for MacOS are updated online... Gilles
I have tried installing this version: digiKam-7.10.0-20221230T084822-MacOS-x86-64-debug.pkg The behavior is not different from the released 7.9.0 version: the spashscreen displays "7.10.0" in the top right, but there is not any text in the top left. The terminal debug output is also equivalent.
Hi, I rebuild from scratch the digiKam 7.10.0 PKG with last macOS Monterrey + XCode updates. The binary compatibility is now macOS 10.15.0. So it must start on your computer. Files are available here : https://files.kde.org/digikam/ Please test and give us a feedback Thanks in advance Gilles Caulier
Screenshot of digiKam 7.10.0 running on macOS 12.6.2 https://i.imgur.com/VV4GNDN.png Gilles Caulier
Created attachment 155504 [details] digikam terminal output 20230122
Thank you for the continued help with this. I have installed this version: digiKam-7.10.0-20230121T052218-MacOS-x86-64-debug.pkg The behavior is similar. The splashscreen hangs indefinitely, and no text is displayed in the top left. The terminal error output is slightly different and I have uploaded it.
Can you create a fresh test account on your computer and run digiKam from scratch with it. Just to see if the program can be initialized with nothing in collection. Gilles Caulier
Git commit 3047438f88762a3514ab5d578d581bbb0d5b5cda by Maik Qualmann. Committed on 22/01/2023 at 16:07. Pushed by mqualmann into branch 'qt5-maintenance'. this static QSplashScreen::showMessage() call is weird M +3 -3 core/libs/dialogs/dsplashscreen.cpp https://invent.kde.org/graphics/digikam/commit/3047438f88762a3514ab5d578d581bbb0d5b5cda
Gilles, please create a new macOS bundle. The problem must be related to the splash screen. Maik
Well, the Q is : why i cannot reproduce this problem ?
I tried opening digikam from another user account, and I immediately have the welcome setup wizard. Seems it was an issue with my particular user environment. The working user account is a fresh non-administrator account. My main user account, where digikam does not open, is an administrator account with a lot of installed software. Unfortunately, I am not able (organization policy) to make any additional accounts to investigate e.g. whether the admin status matters. If you have any suggestions of what software or customizations could be causing the problem for my main account, please let me know. Thanks.
No idea. here digiKam is installed in a standard account and in admin account an there is no difference. I tried on 2 computers, on older 2015 Macbook pro intel and one Macbook Air M1. The PKG have been recompiled today with last changes from Maik. Please try again with this version on your standard computer. Gilles Caulier
Created attachment 155530 [details] digikam terminal output 20230123 I have tried again using this version: digiKam-7.10.0-20230122T164001-MacOS-x86-64-debug.pkg The behavior remains the same, hang on splashscreen without text in the upper left.
Did you install digiKam on the standard and default directory "/Applications" ? Which kind of extra applications did you install on your computer ? Can you list the /Applications directory contents ? Note : here, i have also plenty of programs installed and i never seen this kind of dysfunction under macOS. Showfoto is also available with digiKam as a stand alone program. Look into digiKam.org application directory. Try to start it to see if dysfunction is reproducible. Can you also try to reset the settings file of digiKam. I listed the conf files in the documentation here : https://docs.digikam.org/en/getting_started/installation.html#configuration-files No needs to delete files. Just backup one by one to see if you can identify the problem. Gilles Caulier
From a command line xdpyinfo can help to know which X11 extension are present. Look on start of this command report. Gilles Caulier
Created attachment 155532 [details] digikamrc breaking It seems the problem was my digikam settings file: /Users/redacted/Library/Preferences/digikamrc When I move it, digikam opens the setup wizard successfully, and when I put it back, it is broken again. I have never manually interacted with this file. I have attached the settings file. Perhaps there is some obvious problem with it, which might be repaired without losing all settings?
Please set "Show Splash=true" to "Show Splash=false" in your digiKamrc. I know that I'm stuck on the splash screen at the moment, but after opening the splash screen, a message is first written in the upper left corner (first stage is: Initializing...). Since it doesn't appear anymore... Maik
I see in your digiKamrc that you macOS are also affected by the problem that due to changes to the KF5 library, the monitor device names were not resolved and only the string placeholders were saved as a result. Because of these "\s" strings, the config is no longer clean. Delete all lines beginning with "\s", these are all just saved window sizes. Maik
MacOS 10.15 is now required to run last digiKam versions. Gilles Caulier
Created attachment 158580 [details] digikam_log20230430
(In reply to Maik Qualmann from comment #28) > I see in your digiKamrc that you macOS are also affected by the problem that > due to changes to the KF5 library, the monitor device names were not > resolved and only the string placeholders were saved as a result. Because of > these "\s" strings, the config is no longer clean. > Delete all lines beginning with "\s", these are all just saved window sizes. > > Maik Hello again, I never got this working, but I am again using the same macOS computer and would like to use digikam. I attempted a fresh install: I deleted /Applications/digikam.org/ and the digikam files in ~/Library/Preferences/, then installed digikam version 8.0.0. The setup dialogs proceed as expected, but when the main program should start, it immediately hangs without any GUI windows displayed. After killing the unresponsive digikam process, I start digikam a second time. No setup dialog or GUI windows are displayed, the process hangs immediately. I have attached the terminal output.