Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lunacy can't launch on ubuntu 21.10 #56

Closed
icychick-liu opened this issue Feb 17, 2022 · 6 comments
Closed

lunacy can't launch on ubuntu 21.10 #56

icychick-liu opened this issue Feb 17, 2022 · 6 comments

Comments

@icychick-liu
Copy link

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

@benduckwdesign
Copy link

benduckwdesign commented Mar 24, 2022

            .-/+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?

@tibring
Copy link

tibring commented Jul 7, 2022

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

@benduckwdesign
Copy link

@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.

@benduckwdesign
Copy link

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.

@Mikolaytis
Copy link
Collaborator

@Mikolaytis
Copy link
Collaborator

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

Beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants