mkiol / dsnote

Speech Note Linux app. Note taking, reading and translating with offline Speech to Text, Text to Speech and Machine translation.
Mozilla Public License 2.0
425 stars 19 forks source link

flatpak failed to launch #150

Open mpiko opened 1 month ago

mpiko commented 1 month ago

Downloaded the flatpak via the software manager. Pressed Launch. Nothing.

PRETTY_NAME="LMDE 6 (faye)" NAME="LMDE" VERSION_ID="6" VERSION="6 (faye)" VERSION_CODENAME=faye ID=linuxmint HOME_URL="https://www.linuxmint.com/" SUPPORT_URL="https://forums.linuxmint.com/" BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/" PRIVACY_POLICY_URL="https://www.linuxmint.com/" ID_LIKE=debian DEBIAN_CODENAME=bookworm

mkiol commented 1 month ago

Hi. Thanks for the report.

Could you please start the app from terminal with --verbose option?

flatpak run net.mkiol.SpeechNote --verbose

What is the output?

klausbu commented 4 weeks ago

I have a similar issue on Ubuntu 22.04:

After installing the flatpak and amd GPU support, the application starts but I get immediately a message, telling me , that the application is not responding and a message in the application window telling me, that no language is installed while the language button is greyed out.

mkiol commented 3 weeks ago

@klausbu Thanks for reporting.

Could you please start the app from the terminal with --verbose option to see more detailed logs?

flatpak run net.mkiol.SpeechNote --verbose

There is also special option --gpu-scan-off (in v4.6 --hw-scan-off) that disables HW scanning when app starts. Most likely this "freeze" is due to some error in detecting GPU cards. You can re-enable GPU detection in Settings->Other.

To disable GPU detection when app starts:

flatpak run net.mkiol.SpeechNote --gpu-scan-off --verbose

To re-enable:

image

mpiko commented 1 week ago

Hi any luck fixing this? Here is the output again: 

@.*** ~/.local/share/flatpak/repo $ flatpak run net.mkiol.SpeechNote --verbose error: While opening repository /home/michael/.local/share/flatpak/repo: opening repo: openat(config): No such file or directory

@.*** ~/.local/share/flatpak/repo $ ls extensions objects refs state tmp

@.*** ~/.local/share/flatpak/repo $

On Sun, 2024-07-14 at 03:04 -0700, mkiol wrote:

Hi. Thanks for the report. Could you please start the app from terminal with --verbose option? flatpak run net.mkiol.SpeechNote --verbose What is the output? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

mkiol commented 1 week ago

@mpiko Hi. The output is somehow corrupted or unreadable - I don't know why. Would you be able to reinstall Speech Note and repeat the test starting the app from the terminal using this commands:

flatpak uninstall net.mkiol.SpeechNote --delete-data
flatpak install net.mkiol.SpeechNote
flatpak run net.mkiol.SpeechNote --verbose

Thanks!

mpiko commented 1 week ago

Thank you very much for looking into this issue.  As indicated in a previous message,  this directory does exist: /home/michael/.local/share/flatpak/repo: opening repo: openat(config): No such file or directory  Just for the sake of it, I tried each command as a regular user before trying sudo. 

Here is the output as requested:

@. ~ $ flatpak uninstall net.mkiol.SpeechNote --delete-data error: While opening repository /home/michael/.local/share/flatpak/repo: opening repo: openat(config): No such file or directory @. ~ $ sudo flatpak uninstall net.mkiol.SpeechNote --delete- data

ID Branch Op

  1. [-] net.mkiol.SpeechNote stable r

Uninstall complete. Delete data for net.mkiol.SpeechNote? [y/n]: y @. ~ $ flatpak install net.mkiol.SpeechNote error: While opening repository /home/michael/.local/share/flatpak/repo: opening repo: openat(config): No such file or directory @. ~ $ sudo flatpak install net.mkiol.SpeechNote Looking for matches…

net.mkiol.SpeechNote permissions: ipc network fallback-x11 pulseaudio wayland x11 devices file access [1] dbus access [2]

[1] xdg-config/kdeglobals:ro, xdg-desktop, xdg-documents, xdg-download, xdg-music, xdg-videos [2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications, org.kde.KGlobalSettings, org.kde.StatusNotifierWatcher, org.kde.kconfig.notify

ID Branch Op Remote Download

  1. [✓] net.mkiol.SpeechNote stable i flathub 1.1 GB / 959.1 MB

Installation complete. @. ~ $ flatpak run net.mkiol.SpeechNote --verbose error: While opening repository /home/michael/.local/share/flatpak/repo: opening repo: openat(config): No such file or directory @. ~ $ sudo flatpak run net.mkiol.SpeechNote --verbose error: "flatpak run" is not intended to be run as sudo flatpak run. Use sudo -i or su -l instead and invoke "flatpak run" from inside the new shell. @.*** ~ $

On Wed, 2024-08-14 at 11:43 -0700, mkiol wrote:

@mpiko Hi. The output is somehow corrupted or unreadable - I don't know why. Would you be able to reinstall Speech Note and repeat the test starting the app from the terminal using this commands: flatpak uninstall net.mkiol.SpeechNote --delete-data flatpak install net.mkiol.SpeechNote flatpak run net.mkiol.SpeechNote --verbose Thanks! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

mkiol commented 5 days ago

It looks like you can't even uninstall the app. It seems like the problem is not directly related to Speech Note, but rather something is broken in Flatpak itself. Not much I can help here :/

Maybe reinstalling Flatpak completely will help 🤔

mpiko commented 4 days ago

Yeah, it did uninstalled: @.*** ~ $ sudo flatpak uninstall net.mkiol.SpeechNote --delete- data

ID Branch Op

  1. [-] net.mkiol.SpeechNote stable r

Uninstall complete. Delete data for net.mkiol.SpeechNote? [y/n]: y

On Sat, 2024-08-17 at 01:42 -0700, mkiol wrote:

It looks like you can't even uninstall the app. It seems like the problem is not directly related to Speech Note, but rather something is broken in Flatpak itself. Not much I can help here :/ Maybe reinstalling Flatpak completely will help 🤔 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>