braden-w / whispering

https://whispering.bradenwong.com/
MIT License
284 stars 32 forks source link

deb or AppImage won't run on Linux Mint 21.3 #210

Open mrmatteastwood opened 2 months ago

mrmatteastwood commented 2 months ago

Steps to Reproduce:

  1. Install .deb on Linux Mint
  2. Attempt to run
  3. Attempt to run AppImage

Current Results: When attempting to run Whispering after installing from .deb, this happens:

$ whispering
whispering: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

When attempting to run the AppImage, the Whispering icon shows up in the system tray and a blank window opens:

image

Terminal output for AppImage:

$ ./whispering_4.6.3_amd64_3500bf3eea9c786e525655a781bb4a95.AppImage 
Gtk-Message: 06:27:06.076: Failed to load module "xapp-gtk3-module"
Gtk-Message: 06:27:06.605: Failed to load module "xapp-gtk3-module"
GStreamer element appsink not found. Please install it
GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:47096): GLib-GObject-WARNING **: 06:27:07.981: invalid (NULL) pointer instance

(WebKitWebProcess:47096): GLib-GObject-CRITICAL **: 06:27:07.981: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Additional Information: My PC's specs: https://termbin.com/eaac

Arche151 commented 2 months ago

Same issue on Ubuntu for me, unfortunately.

Whisperings Desktop version works on my Windows PC, but I get that blank screen when trying to use it in Ubuntu.

braden-w commented 2 months ago

Hey guys, sorry for the late response! Just to clarify, is it possible that your machines are missing some packages? I unfortunately don't have a linux machine to replicate, but Tauri has a few packages that it recommends for each platform.

It seems like you could try installing the missing xapp-gtk3-module with

sudo apt-get install xapp-gtk3-module

or with your preferred package manager.

If that doesn't work, try installing the linux packages recommended by Tauri here:

sudo apt update
sudo apt install libwebkit2gtk-4.0-dev \
    build-essential \
    curl \
    wget \
    file \
    libssl-dev \
    libgtk-3-dev \
    libayatana-appindicator3-dev \
    librsvg2-dev
Arche151 commented 2 months ago

@braden-w No stress and thanks for getting back to us!

When trying to run sudo apt-get install xapp-gtk3-module, I get the error, that Ubuntu was unable to located the package.

So I ran

sudo apt update
sudo apt install libwebkit2gtk-4.0-dev \
    build-essential \
    curl \
    wget \
    file \
    libssl-dev \
    libgtk-3-dev \
    libayatana-appindicator3-dev \
    librsvg2-dev

The commands ran successfully but unfortunately that didn't fix the issue. But I have more information for you that might help troubleshooting.

When starting Whispering from the terminal, I get these errors:


GStreamer element appsink not found. Please install it
GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:122582): GLib-GObject-WARNING **: 08:39:56.531: invalid (NULL) pointer instance

(WebKitWebProcess:122582): GLib-GObject-CRITICAL **: 08:39:56.531: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

ChatGPT advised me to run sudo apt install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav

but the blank screen issue persists, unfortunately.

mrmatteastwood commented 2 months ago

Same result here. Also after updating to Whispering 4.8.0.

Arche151 commented 2 months ago

@braden-w I installed Whispering 5.0.0 (was excited for the new local transcription function), but unfortunately still neither the .deb nor the AppImage work :/

When trying to run the .deb, I get this error: [libssl.so.1.1](whispering: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory) And I cannot install libssl.so.1.1 (I ran sudo apt-get install -f, but that didn't install anything)

When trying to run the AppImage, I get this error:

Gtk-Message: 17:22:36.980: Failed to load module "xapp-gtk3-module"
Gtk-Message: 17:22:37.242: Failed to load module "xapp-gtk3-module"
GStreamer element appsink not found. Please install it
GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:267551): GLib-GObject-WARNING **: 17:22:37.960: invalid (NULL) pointer instance

(WebKitWebProcess:267551): GLib-GObject-CRITICAL **: 17:22:37.960: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Pleaase, fix the Linux version of Whispering.

I am on Ubuntu 22.04. btw.

braden-w commented 2 months ago

@Arche151 Aww man, sorry to hear that! I'm going to go through an upgrade to Tauri v2. Hopefully this fixes some issues. Really tough and don't know why this Linux bug keeps persisting.

braden-w commented 2 months ago

In the meantime, does the website work?

https://whispering.bradenwong.com/

Arche151 commented 2 months ago

@braden-w No worries and thanks for your continued work! Yess, the website works for me.