Importing ICS file using dbus-send doesn't work if Calendar app is not open

asked 2019-06-15 22:14:39 +0200

useretail gravatar image

updated 2019-06-15 22:28:19 +0200

Xperia X, SFOS 3.0.3.10 (Hossa)

I began experiencing this bug after recent update(s). In previous release(s) everything worked perfectly.

I'm using dbus import command from wiki: https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet#Calendar

dbus-send --print-reply --type=method_call --dest=com.jolla.calendar.ui /com/jolla/calendar/ui com.jolla.calendar.ui.importFile string:/home/nemo/calendar.ics

Two logs were made using journalctl:

  1. Log when Calendar app shows up with a spinner, but nothing happens and after few seconds it disappears. https://pastebin.com/q3Bff9XY

  2. Sometimes the same command opens Calendar app as expected. I was able to capture the log as well https://pastebin.com/CmyHDUyr

edit retag flag offensive close delete

Comments

If you can reproduce this bug in 3.0.3, please upvote. Thanks

useretail ( 2019-06-17 00:36:38 +0200 )edit