Jinjinov / OpenHabitTracker

C# .NET 8 Blazor habit tracker application. Works on Web, Windows, Linux, Android, iOS and macOS.
https://openhabittracker.net
GNU General Public License v3.0
52 stars 7 forks source link

Program hangs when opening, interface won't load #2

Open vinegraft opened 1 month ago

vinegraft commented 1 month ago

Expected Behavior

The interface loads when the program is run.

Actual Behavior

A spinning exclamation marks logo spins forever and the interface never loads.

Steps to Reproduce the Problem

Run the program.

Specifications

Jinjinov commented 1 month ago

Thank you for reporting this!

Jinjinov commented 1 month ago

The only library that supports Blazor on Linux is the Photino.Blazor library.

This seems to be a Photino.Blazor issue, it seems it has problems with .NET 8

https://github.com/tryphotino/photino.Blazor/issues/108 https://github.com/tryphotino/photino.Blazor/issues/123 - on Ubuntu 22.04 https://github.com/tryphotino/photino.Blazor/issues/128

Linux Mint 21.3 features a Linux kernel 5.15 and an Ubuntu 22.04 package base.

I remember that Photino.Blazor was working with .NET 7 without problems.

I am actually working on creating a Snap and a Flatpak for Linux, but both have problems.

That is why I am planning to add extensive logging and error reporting, which should also help with this problem.

Can you try installing libwebkit2gtk-4.1 with

sudo apt-get install libwebkit2gtk-4.1

and try again?

vinegraft commented 1 month ago

Can you try installing libwebkit2gtk-4.1 with

sudo apt-get install libwebkit2gtk-4.1

and try again?

I just tried this and the same problem persists, even after rebooting.

Jinjinov commented 1 month ago

Can you try downloading version 1.0.7 from https://openhabittracker.net/ ?

Can you also try installing the snap version? https://snapcraft.io/openhabittracker