epicenter icon indicating copy to clipboard operation
epicenter copied to clipboard

deb or AppImage won't run on Linux Mint 21.3

Open mrmatteastwood opened this issue 1 year ago • 13 comments

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

mrmatteastwood avatar Jul 23 '24 04:07 mrmatteastwood

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.

Arche151 avatar Jul 23 '24 05:07 Arche151

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

braden-w avatar Aug 05 '24 05:08 braden-w

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

Arche151 avatar Aug 05 '24 06:08 Arche151

Same result here. Also after updating to Whispering 4.8.0.

mrmatteastwood avatar Aug 07 '24 10:08 mrmatteastwood

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

Arche151 avatar Aug 16 '24 15:08 Arche151

@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 avatar Aug 16 '24 15:08 braden-w

In the meantime, does the website work?

https://whispering.bradenwong.com/

braden-w avatar Aug 16 '24 16:08 braden-w

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

Arche151 avatar Aug 16 '24 16:08 Arche151

For me, on a fresh vanilla ubuntu 24.04 install the issue when compiling or running seems to be with tauri and it's dependency on sharp0.32.

noboomu avatar Oct 21 '24 00:10 noboomu

I am still getting the same issue.

filiptrplan avatar Nov 07 '24 20:11 filiptrplan

Running into the same issue :<

navkuun avatar Mar 13 '25 11:03 navkuun

I think I can offer a suggestion for a fix. I have the same issue. I also run the desktop app from the terminal and when I click "Start Recording" I get the message:

Audio capture was requested but no device was found amongst 3 devices
IntConstraint 7, min -1, max -1, exact -1, ideal 16000
BooleanConstraint 9, exact -1, ideal 1
MediaConstraint 10 of type 3

Clearly the application that runs like a website within Tauri fails to request for microphone access. I think that is the crux of the problem. But I found this on the Tauri issues: https://github.com/tauri-apps/tauri/issues/10898#issuecomment-2558385422

pstamb avatar Mar 25 '25 23:03 pstamb

Tried to use AppImage on Ubuntu 24.04.2 and got the following

~/.AppImage$ ./Whispering_6.5.0_amd64.AppImage

** (WebKitWebProcess:33288): WARNING **: 16:18:40.948: The GStreamer FDK AAC plugin is missing, AAC playback is unlikely to work.
GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:33288): GLib-GObject-WARNING **: 16:18:40.949: invalid (NULL) pointer instance

(WebKitWebProcess:33288): GLib-GObject-CRITICAL **: 16:18:40.949: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

** (app:33213): WARNING **: 16:19:05.232: atk-bridge: get_device_events_reply: unknown signature

Niqnil avatar Apr 21 '25 08:04 Niqnil