Zathura Failed to Acquire Session Bus and Displaying Nothing
Currently I am on:
- macOS 12.0.1
- zathura 0.4.5
- girara 0.3.6
- pdf-poppler 0.3.0
It took my quite a long time to install zathura, since somehow using brew install zathura
returned an error on some function not accepting positional arguments. Upon researching this seems to be an issue with meson@0.60.0
, so I switched to compile and install from source using meson@0.58.0
(which worked). The only other steps I had to change is to comment out the line in /opt/homebrew/opt/meson/bin/meson
:
#sys.exit(load_entry_point('meson==0.59.0', 'console_scripts', 'meson')())
then installation is done. Yet obviously it is bugged because when I enter zathrua
in command line, it gave me a transparent window, essentially displaying nothing.
A debug log is shown here. I am not sure what to do at this point
zathura -l debug
debug: ../girara/template.c:311: base_changed(): Variable 'session' not set.
debug: ../zathura/plugin.c:278: register_plugin(): plugin: filetype mapping added: com.adobe.pdf
debug: ../zathura/plugin.c:173: load_plugin(): Successfully loaded plugin from '/usr/local/lib/zathura/libpdf-poppler.dylib'.
debug: ../zathura/plugin.c:176: load_plugin(): plugin pdf-poppler: version 0.3.0
debug: ../girara/config.c:363: girara_config_parse(): reading configuration file '/etc/xdg/zathurarc'
debug: ../girara/config.c:270: config_parse(): failed to open config file '/etc/xdg/zathurarc'
debug: ../girara/config.c:363: girara_config_parse(): reading configuration file '/etc/zathurarc'
debug: ../girara/config.c:270: config_parse(): failed to open config file '/etc/zathurarc'
debug: ../girara/config.c:363: girara_config_parse(): reading configuration file '/Users/jasonyux/.config/zathura/zathurarc'
debug: ../girara/config.c:270: config_parse(): failed to open config file '/Users/jasonyux/.config/zathura/zathurarc'
debug: ../girara/session.c:935: girara_set_window_icon(): Loading window icon with name: org.pwmt.zathura
debug: ../zathura/zathura.c:366: init_database(): Using plain database backend.
debug: ../zathura/zathura.c:201: zathura_update_view_ppi(): monitor width: 301 mm, pixels: 1512, ppi: 127.59
debug: ../zathura/dbus-interface.c:139: name_lost(): Lost connection or failed to acquire 'org.pwmt.zathura.PID-44546' on session bus.
(dbus
is installed already)