Error when trying to launch Instagraph

Hi! Im trying to launch Instagraph and I got gtk message error, but I cant understand how to fix it

The app is launching but I couldn`t to log in

[alex@probook ~]$ instagraph
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
OffscreenRenderer::OffscreenRenderer(QObject*)
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
qrc:///Main.qml:104: TypeError: Cannot read property '__clarityFilter' of null
file:///snap/instagraph/86/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:108:25: Unable to assign [undefined] to QFont
file:///snap/instagraph/86/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:103:33: Unable to assign [undefined] to QQuickGradient*
file:///snap/instagraph/86/usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/Button.qml:92:27: Unable to assign [undefined] to QColor
APP_ID isn't set, the handler ignored

My system is

[alex@probook ~]$ neofetch
██████████████████  ████████   alex@probook 
██████████████████  ████████   ------------ 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: HP ProBook 6540b 
████████            ████████   Kernel: 5.9.1-1-rt19-MANJARO 
████████  ████████  ████████   Uptime: 26 mins 
████████  ████████  ████████   Packages: 1406 (pacman), 3 (snap) 
████████  ████████  ████████   Shell: bash 5.1.0 
████████  ████████  ████████   Resolution: 1366x768 
████████  ████████  ████████   DE: Plasma 5.20.4 
████████  ████████  ████████   WM: KWin 
████████  ████████  ████████   WM Theme: McMojave 
████████  ████████  ████████   Theme: McMojave [Plasma], Mcata-dark [GTK2/3 
████████  ████████  ████████   Icons: Mojave-CT-Classic [Plasma], Mojave-CT 
                               Terminal: konsole 
                               Terminal Font: Noto Mono 10 
                               CPU: Intel i5 M 430 (4) @ 2.267GHz 
                               GPU: AMD ATI Mobility Radeon HD 4350/4550 
                               Memory: 1692MiB / 5791MiB

You are using the real-time kernel, if there is not a really good reason for this try kernel 5.10 or 5.4.

Where did you take instagraph? I cannot find it in official repos nor in AUR.
Maybe you need to rebuilt it, since such utility itself is giving you more errors.

The warning message of xapp is already fixed in upstream: your utility seems to have different issues.

I have reasons to use rt kernel - I am profession musician and I write music on my pc, so it`s necessary to me have low latency

I tried several kernels - this app doesn`t work anyway

Instagraph is from a snap store, I`m not sure I can rebuild it

Seems that it is missing something

The project is open source and I was able to compile it however it have incomplete “make install” instructions and don’t run anyway because it seeking Ubuntu components, it show only a blank window

$ ./Instagraph
WARNING: CPU random generator seem to be failing, disabling hardware random number generation
WARNING: RDRND generated: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
qrc:/Main.qml:6:1: module “Ubuntu.DownloadManager” is not installed
import Ubuntu.DownloadManager 1.2
^
qrc:/Main.qml:5:1: module “Ubuntu.Content” is not installed
import Ubuntu.Content 1.3
^
qrc:/Main.qml:4:1: module “Ubuntu.Components.Popups” is not installed
import Ubuntu.Components.Popups 1.3
^
qrc:/Main.qml:2:1: module “Ubuntu.Components” is not installed
import Ubuntu.Components 1.3
^
qrc:/Main.qml:6:1: module “Ubuntu.DownloadManager” is not installed
import Ubuntu.DownloadManager 1.2
^
qrc:/Main.qml:5:1: module “Ubuntu.Content” is not installed
import Ubuntu.Content 1.3
^
qrc:/Main.qml:4:1: module “Ubuntu.Components.Popups” is not installed
import Ubuntu.Components.Popups 1.3
^
qrc:/Main.qml:2:1: module “Ubuntu.Components” is not installed
import Ubuntu.Components 1.3
^
qrc:/Main.qml:6:1: module “Ubuntu.DownloadManager” is not installed
import Ubuntu.DownloadManager 1.2
^
qrc:/Main.qml:5:1: module “Ubuntu.Content” is not installed
import Ubuntu.Content 1.3
^
qrc:/Main.qml:4:1: module “Ubuntu.Components.Popups” is not installed
import Ubuntu.Components.Popups 1.3
^
qrc:/Main.qml:2:1: module “Ubuntu.Components” is not installed
import Ubuntu.Components 1.3
^
qrc:/Main.qml:6:1: module “Ubuntu.DownloadManager” is not installed
import Ubuntu.DownloadManager 1.2
^
qrc:/Main.qml:5:1: module “Ubuntu.Content” is not installed
import Ubuntu.Content 1.3
^
qrc:/Main.qml:4:1: module “Ubuntu.Components.Popups” is not installed
import Ubuntu.Components.Popups 1.3
^
qrc:/Main.qml:2:1: module “Ubuntu.Components” is not installed
import Ubuntu.Components 1.3

Thanks for your try! I hope developers`ll fix it someday

You can report such issue to developers:

Make sure to have such modules on your system:
Eg, I have them:

locate xapp-gtk3-module
/etc/X11/xinit/xinitrc.d/80xapp-gtk3-module.sh
/usr/lib/gtk-3.0/modules/libxapp-gtk3-module.so


locate canberra-gtk-module
/etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
/usr/lib/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop
/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so
/usr/lib32/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib32/gtk-3.0/modules/libcanberra-gtk-module.so

If you have them, so at least, while reporting the issue, you can tell to them.

Thanks, I`ve wrote to him email, hope he fix it

The proper way should have been to report the issue in the “Issues” section:

Issues · turanmahmudov/Instagraph · GitHub

This because not every developer can track the issues with private messages; also because, if someone else is facing an issue, can join in the ticket.
Is the same for every github and gitlab project, as well for every software projects - like, eg, TOR - which have the bug tracker.

I didn`t know about it, thanks!