Page MenuHomePhabricator

Cannot launch terminology in Ubuntu 16.04
Closed, ResolvedPublic

Description

I had upgraded terminology with latest patches(1c9c2a19ed95b4d046938fd4669e118dc21e4bec)
and I built and installed successfully.

roy:(~/efl/git/apps/terminology/build) sudo ninja install

[1/1] Installing files.
Installing data/themes/default.edj to /usr/local/share/terminology/themes/default.edj
Installing data/themes/mild.edj to /usr/local/share/terminology/themes/mild.edj
Installing data/themes/black.edj to /usr/local/share/terminology/themes/black.edj
Installing data/themes/solarized.edj to /usr/local/share/terminology/themes/solarized.edj
Installing data/themes/solarized_light.edj to /usr/local/share/terminology/themes/solarized_light.edj
Installing data/themes/mustang.edj to /usr/local/share/terminology/themes/mustang.edj
Installing data/themes/base16_ocean_dark.edj to /usr/local/share/terminology/themes/base16_ocean_dark.edj
Installing data/themes/smyck.edj to /usr/local/share/terminology/themes/smyck.edj
Installing data/themes/nord.edj to /usr/local/share/terminology/themes/nord.edj
Installing data/themes/nyanology/nyanology.edj to /usr/local/share/terminology/themes/nyanology.edj
Installing src/bin/terminology to /usr/local/bin/terminology
Installing src/bin/tybg to /usr/local/bin/tybg
Installing src/bin/tyalpha to /usr/local/bin/tyalpha
Installing src/bin/typop to /usr/local/bin/typop
Installing src/bin/tyq to /usr/local/bin/tyq
Installing src/bin/tycat to /usr/local/bin/tycat
Installing src/bin/tyls to /usr/local/bin/tyls
Installing src/bin/tysend to /usr/local/bin/tysend
Installing /home/myoungwoon/efl/git/apps/terminology/man/terminology.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/terminology-helpers.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/tyls.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/tyalpha.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/tybg.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/tycat.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/typop.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/tyq.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/man/tysend.1 to /usr/local/share/man/man1
Installing /home/myoungwoon/efl/git/apps/terminology/data/desktop/terminology.desktop to /usr/local/share/applications
Installing /home/myoungwoon/efl/git/apps/terminology/data/icons/terminology.png to /usr/local/share/icons/hicolor/128x128/apps
Installing /home/myoungwoon/efl/git/apps/terminology/data/images/terminology.png to /usr/local/share/terminology/images
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/10x20.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/4x6.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/5x7.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/5x8.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/6x10.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/6x12.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/6x13.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/6x9.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/7x13.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/7x14.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/8x13.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/9x15.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/9x18.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/nexus.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-12.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-14-bold.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-14.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-16-bold.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-16.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-18-bold.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-18.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-20-bold.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/terminus-20.pcf to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/TERMINUS.txt to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/fonts/XFONT.txt to /usr/local/share/terminology/fonts
Installing /home/myoungwoon/efl/git/apps/terminology/data/backgrounds/mystic.png to /usr/local/share/terminology/backgrounds
Installing /home/myoungwoon/efl/git/apps/terminology/data/backgrounds/texture_background.png to /usr/local/share/terminology/backgrounds
Running custom install script '/usr/bin/python3 /usr/local/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=terminology --langs=ca@@de@@el@@eo@@es@@fi@@fr@@hi@@it@@ko@@ms@@sl@@sr@@tr@@vi'
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/ca.gmo to /usr/local/share/locale/ca/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/de.gmo to /usr/local/share/locale/de/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/el.gmo to /usr/local/share/locale/el/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/eo.gmo to /usr/local/share/locale/eo/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/es.gmo to /usr/local/share/locale/es/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/fi.gmo to /usr/local/share/locale/fi/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/fr.gmo to /usr/local/share/locale/fr/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/hi.gmo to /usr/local/share/locale/hi/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/it.gmo to /usr/local/share/locale/it/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/ko.gmo to /usr/local/share/locale/ko/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/ms.gmo to /usr/local/share/locale/ms/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/sl.gmo to /usr/local/share/locale/sl/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/sr.gmo to /usr/local/share/locale/sr/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/tr.gmo to /usr/local/share/locale/tr/LC_MESSAGES/terminology.mo
Installing /home/myoungwoon/efl/git/apps/terminology/build/po/vi.gmo to /usr/local/share/locale/vi/LC_MESSAGES/terminology.mo
roy:(~/efl/git/apps/terminology/build)
roy:(~/efl/git/apps/terminology/build)

However, I cann't launch terminology because of following errors.

roy:(~/efl/git/apps/terminology/build) terminology
clouseau_debug_init - In
ERR<2596>:terminology ../src/bin/utils.c:48 theme_apply() Could not load any theme for group=terminology/base: File Does Not Exist
ERR<2596>:terminology ../src/bin/utils.c:48 theme_apply() Could not load any theme for group=terminology/core: File Does Not Exist
ERR<2596>:terminology ../src/bin/utils.c:48 theme_apply() Could not load any theme for group=terminology/background: File Does Not Exist
CRI<2596>:win ../src/bin/win.c:5631 term_new() Couldn't find terminology theme! Forgot 'ninja install'?
CRI<2596>:terminology ../src/bin/main.c:906 elm_main() Could not create terminal widget.

Could you tell me how to fix them?

I guess something in your setup changed.
Could you run terminology like that: EINA_LOG_LEVELS="edje:4" src/bin/terminology and paste the output?

output:

roy:(~/efl/git/apps/terminology) EINA_LOG_LEVELS="edje:4" terminology
clouseau_debug_init - In
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/win/base/default': 1.
INF<22966>:edje lib/edje/edje_calc.c:2710 _edje_part_recalc_single() file /usr/local/share/elementary/themes/default.edj, group elm/win/base/default has a non-fixed part 'elm.swallow.menu'. You should add 'fixed: 0 1'. But in order to optimize the edje calc, we add it automatically.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/border/base/default': 1.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/icon/terminology/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/icon/terminology/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/icon/terminology/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/icon/terminology/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/top_side/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/top_side/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/bottom_side/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/bottom_side/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/top_left_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/top_left_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/bottom_left_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/bottom_left_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/bottom_right_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/bottom_right_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/top_right_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/cursor/top_right_corner/default': 0.
DBG<22966>:edje lib/edje/edje_load.c:348 edje_mmap_group_exists() edje_file_group_exists: '/usr/local/share/elementary/themes/default.edj', 'elm/conformant/base/default': 1.
ERR<22966>:terminology ../src/bin/utils.c:48 theme_apply() Could not load any theme for group=terminology/base: File Does Not Exist
ERR<22966>:terminology ../src/bin/utils.c:48 theme_apply() Could not load any theme for group=terminology/core: File Does Not Exist
ERR<22966>:terminology ../src/bin/utils.c:48 theme_apply() Could not load any theme for group=terminology/background: File Does Not Exist
CRI<22966>:win ../src/bin/win.c:5631 term_new() Couldn't find terminology theme! Forgot 'ninja install'?
CRI<22966>:terminology ../src/bin/main.c:906 elm_main() Could not create terminal widget.
DBG<22966>:edje lib/edje/edje_program.c:1444 _edje_emit_handle() EDJE EMIT: (0x26037e0) signal: "seat,added,seat1,default" source: ""
DBG<22966>:edje lib/edje/edje_program.c:1444 _edje_emit_handle() EDJE EMIT: (0x26037e0) signal: "edje,language," source: "edje"
DBG<22966>:edje lib/edje/edje_program.c:1444 _edje_emit_handle() EDJE EMIT: (0x26037e0) signal: "edje,state,ltr" source: "edje"
DBG<22966>:edje lib/edje/edje_program.c:1444 _edje_emit_handle() EDJE EMIT: (0x26037e0) signal: "load" source: ""
DBG<22966>:edje lib/edje/edje_program.c:1444 _edje_emit_handle() EDJE EMIT: (0x26037e0) signal: "edje,state,ltr" source: "edje"

I couldn't find any major clue to resolve this. :(

Maybe you could strace terminology to see where it's looking for edj files.

The main reason is that the permissions of all edj files for terminology theme (/usr/local/share/terminology/themes/)
I had changed permissions of all themes and then terminology is working well.
Thanks. :)

billiob closed this task as Resolved.Mar 5 2019, 2:30 AM