icons8 / lunacy-docs

Documentation for Lunacy, Graphic Design Software with built-in assets

Home Page:https://lunacy.docs.icons8.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lunacy can't launch on ubuntu 21.10

icychick-liu opened this issue · comments

Both deb package and snap store have the same problem, lunacy can't run after installed.
PC_info

            .-/+oossssoo+/-.               mikudayo@kitsune 
        `:+ssssssssssssssssss+:`           ---------------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 21.10 x86_64 
    .ossssssssssssssssssdMMMNysssso.       Kernel: 5.13.0-37-generic 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 2 hours, 17 mins 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 2612 (dpkg), 71 (flatpak), 10 (snap) 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: bash 5.1.8 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Resolution: 3840x2160, 2560x1440 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   DE: GNOME 40.5 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM Theme: gnome-professional-40.1-dark 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Theme: gnome-professional-40.1-dark [GTK2/3] 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Icons: WhiteSur-dark [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Terminal: gnome-terminal 
  +sssssssssdmydMMMMMMMMddddyssssssss+     CPU: AMD Ryzen 9 3900XT (24) @ 4.000GHz 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      GPU: NVIDIA GeForce RTX 2070 
    .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA GeForce GT 710 
      -+sssssssssssssssssyyyssss+-         Memory: 7117MiB / 128723MiB 
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.                                       

I see a couple errors / warnings about fonts though with conf.d and there's weird GPU artifact bugs around the mouse, but the GPU artifacts may just be NVIDIA proprietary drivers acting up. Other than that the snap works for me on Ubuntu 21.10.

What didn't work for me however was the flatpak but I haven't seen any note of it on the website, so I'm unsure whether that's supposed to be an official option or not; it's based on the deb regardless. Flatpak crashes shortly after launch with a stack trace about Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty. (regarding Avalonia).

Is there anything in the console you can post that appears after you run it? Have you tried uninstalling the snap and reinstalling it?

@benduckwdesign
Hi!
Could you try the latest version of Lunacy. It should be free of the font issue.

@benduckwdesign Hi! Could you try the latest version of Lunacy. It should be free of the font issue.

Just updated all of my flatpaks, issue is still occurring. Same trace as I mentioned from the other issue.

Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty.
   at Avalonia.Media.FontManager..ctor(IFontManagerImpl platformImpl)
   at Avalonia.Media.FontManager.get_Current()
...
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
   at Lunacy.Program.Main(String[] args) in /builds/lunacy/lunacy/Lunacy/Lunacy/Program.cs:line 16

I am now on Ubuntu 22.04 LTS x86_64 so this may have affected any presumed results. Flatpak of Lunacy is on version 8.5.2 from org.flathub.Stable which was last updated on 2022-06-15. If there is a newer version of Lunacy that you would like me to test than 8.5.2 then we will have to wait for it to refresh in the flatpak distribution.

Still happening with 9.0.9, same Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty., with trace leading back to Lunacy.Program.Main(String[] args) in /builds/lunacy/lunacy/Lunacy/Lunacy/Program.cs:line 16.

I will make a possible hotfix now. You can test it in beta build, available here:

Beta