Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Adw.Application is undefined #73

Closed
neurofreak-alt opened this issue May 17, 2022 · 1 comment
Closed

TypeError: Adw.Application is undefined #73

neurofreak-alt opened this issue May 17, 2022 · 1 comment

Comments

@neurofreak-alt
Copy link

When I run version 2.0.5, I get an error and the program crashes:

$ touche
(com.github.joseexposito.touche:43967): Gjs-CRITICAL **: 16:33:36.156: JS ERROR: TypeError: Adw.Application is undefined
main@webpack:///../src/index.js?:43:23
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@/usr/bin/touche:11:17

This is the output of strace:

(com.github.joseexposito.touche:43967): Gjs-CRITICAL **: 16:33:36.156: Script /usr/bin/touche threw an exception  

strace
    108608:     calling init: /usr/lib64/libgtk-4.so.1
    108608:
    108608:     opening file=/usr/lib64/libgtk-4.so.1 [0]; direct_opencount=1
    108608:
    108608:     /usr/lib64/libgtk-4.so.1: error: symbol lookup error: undefined symbol: g_module_check_init (fatal)
    108608:     /usr/lib64/libgtk-4.so.1: error: symbol lookup error: undefined symbol: g_module_unload (fatal)
    108608:
    108608:     file=/usr/lib64/com.github.joseexposito.touche/libadwaita-1.so.0 [0];  dynamically loaded by /usr/lib64/libgmodule-2.0.so.0 [0]
    108608:
    108608:     file=libadwaita-1.so.0 [0];  dynamically loaded by /usr/lib64/libgmodule-2.0.so.0 [0]
    108608:     file=libadwaita-1.so.0 [0];  generating link map
    108608:       dynamic: 0x00007f8c6151ed20  base: 0x00007f8c613f0000   size: 0x0000000000131508
    108608:         entry: 0x00007f8c614050f0  phdr: 0x00007f8c613f0040  phnum:                  9
    108608:
    108608:
    108608:     calling init: /usr/lib64/libadwaita-1.so.0
    108608:
    108608:     opening file=/usr/lib64/libadwaita-1.so.0 [0]; direct_opencount=1
    108608:
    108608:     /usr/lib64/libadwaita-1.so.0: error: symbol lookup error: undefined symbol: g_module_check_init (fatal)
    108608:     /usr/lib64/libadwaita-1.so.0: error: symbol lookup error: undefined symbol: g_module_unload (fatal)

(com.github.joseexposito.touche:108608): Gjs-CRITICAL **: 15:06:17.606: JS ERROR: TypeError: Adw.Application is undefined
main@webpack:///../src/index.js?:43:23
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
@/usr/bin/touche:11:17


(com.github.joseexposito.touche:108608): Gjs-CRITICAL **: 15:06:17.606: Script /usr/bin/touche threw an exception

What can it be and what should I check?

@JoseExposito
Copy link
Owner

Hi! And thanks for the bug report. How did you install Touché? For Flathub?

If not, I really recommend to use the Flatpak package, as it bundles all dependencies.

The crash looks like an issue finding libadwaita, or a modern version of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants