icalconverter export failed | How to set default calendar ?
Hello,
using: SailfishOS 2.0.2.43
i tryed to export my (local) calendar.
[nemo@Sailfish ~]$ icalconverter export ~/Documents/calendar.ics -d
[W] mKCal::ExtendedCalendar::defaultStorage:2057 - Unable to create calendar database directory: "/home/nemo/.local/share/system/privileged/Calendar/mkcal"
[C] mKCal::SqliteStorage::open:188 - sqlitestorage.cpp: 188 - sqlite3_open error: 14 on database "/home/nemo/.local/share/system/privileged/Calendar/mkcal/db"
[C] mKCal::SqliteStorage::open:189 - sqlitestorage.cpp: 189 - unable to open database file
[W] {anonymous}::defaultLocalCalendarNotebook:85 - No default local calendar notebook found!
[W] NemoCalendarImportExport::constructExportIcs:514 - No default notebook exists or invalid notebook uid specified: ""
[W] main:828 - No data to export!
[nemo@Sailfish ~]$ ls -la /home/nemo/.local/share/system/privileged/Calendar/mkcal
ls: cannot access /home/nemo/.local/share/system/privileged/Calendar/mkcal: Permission denied
[nemo@Sailfish ~]$ devel-su
[root@Sailfish nemo]# ls -la /home/nemo/.local/share/system/privileged/Calendar/mkcal
total 40
drwxr-xr-x 2 nemo privileged 4096 Aug 6 09:07 .
drwxr-xr-x 3 nemo privileged 4096 May 13 14:15 ..
-rw-r--r-- 1 nemo privileged 28672 Aug 6 09:07 db
-rw-r--r-- 1 nemo privileged 0 Aug 6 09:07 db.changed
What did i wrong ? How to set default calendar ?
Thanks
And if you give debugging flag -v instead of -d (destructive, only for import what I can tell)? Do you see something more informative then?
ljo ( 2016-08-06 11:29:53 +0300 )edittry calling icalconverter as root
bomo ( 2016-08-11 21:25:42 +0300 )editthis works, thanks, but not the entry's from user: nemo in the export file.
ds2k5 ( 2016-08-12 10:12:56 +0300 )editMaybe it is then picking the wrong DB, is it possible to specify the correct (nemo's not root's) DB manually?
bomo ( 2016-08-12 10:23:41 +0300 )edit