Bug#1091840: marknote: Fails to import notes from KJots with notes in subdirectories
Package: marknote
Version: 1.3.0-4
Severity: normal
Dear Maintainer,
KJots no longer works, and it was suggested that Marknote can import
notes, but it does not work in my case.
With strace, I see this:
```
readlink("/home", 0x7ffd86967c30, 1023) = -1 EINVAL (Netinkamas argumentas)
readlink("/home/vincas", 0x7ffd86967c30, 1023) = -1 EINVAL (Netinkamas argumentas)
readlink("/home/vincas/.local", 0x7ffd86967c30, 1023) = -1 EINVAL (Netinkamas argumentas)
readlink("/home/vincas/.local/share", 0x7ffd86967c30, 1023) = -1 EINVAL (Netinkamas argumentas)
readlink("/home/vincas/.local/share/notes", 0x7ffd86967c30, 1023) = -1 EINVAL (Netinkamas argumentas)
statx(AT_FDCWD, "/home/vincas/.local/share/notes/tmp", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd86969090) = -1 ENOENT (Toks failas ar aplankas neegzistuoja)
statx(AT_FDCWD, "/home/vincas/.local/share/notes/cur", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd86969090) = -1 ENOENT (Toks failas ar aplankas neegzistuoja)
statx(AT_FDCWD, "/home/vincas/.local/share/notes/new", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd86969090) = -1 ENOENT (Toks failas ar aplankas neegzistuoja)
```
So it searches tmp/cur/new inside ~/.local/share/notes.
But in my case, I hate three subdirectories there (created by KJots):
```
$ tree -d ~/.local/share/notes/
/home/vincas/.local/share/notes/
├── Kita
│ ├── cur
│ ├── new
│ └── tmp
├── Nurodos
│ ├── cur
│ ├── new
│ └── tmp
└── Žinynas
├── cur
├── new
└── tmp
```
And Marknote does not allow to select Maildir directory.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.11.10-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8), LANGUAGE=lt
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages marknote depends on:
ii libc6 2.40-4
ii libkf6breezeicons6 6.8.0-2
ii libkf6colorscheme6 6.8.0-1
ii libkf6configcore6 6.8.0-1
ii libkf6configgui6 6.8.0-1
ii libkf6configwidgets6 6.8.0-1
ii libkf6coreaddons6 6.8.0-1
ii libkf6crash6 6.8.0-1
ii libkf6i18n6 6.8.0-2
ii libkf6xmlgui6 6.8.0-1
ii libkpim6mime6 [libkpim6mime6-24.12] 24.12.0-2
ii libmd4c-html0 0.5.2-2+b1
ii libqt6core6t64 6.7.2+dfsg-5
ii libqt6gui6 6.7.2+dfsg-5
ii libqt6qml6 6.7.2+dfsg-11
ii libqt6quick6 6.7.2+dfsg-11
ii libqt6quickcontrols2-6 6.7.2+dfsg-11
ii libqt6widgets6 6.7.2+dfsg-5
ii libstdc++6 14.2.0-12
ii qml6-module-org-kde-iconthemes 6.8.0-1
ii qml6-module-org-kde-kirigami 6.8.0-2
ii qml6-module-org-kde-kirigamiaddons-components 1.6.0-1
ii qml6-module-org-kde-kirigamiaddons-delegates 1.6.0-1
ii qml6-module-org-kde-kirigamiaddons-formcard 1.6.0-1
ii qml6-module-org-kde-kirigamiaddons-settings 1.6.0-1
ii qml6-module-org-kde-kitemmodels 6.8.0-1
ii qml6-module-org-kde-sonnet 6.8.0-1
ii qml6-module-qt-labs-platform 6.7.2+dfsg-11
ii qml6-module-qtcore 6.7.2+dfsg-11
ii qml6-module-qtqml 6.7.2+dfsg-11
ii qml6-module-qtqml-models 6.7.2+dfsg-11
ii qml6-module-qtquick 6.7.2+dfsg-11
ii qml6-module-qtquick-controls 6.7.2+dfsg-11
ii qml6-module-qtquick-dialogs 6.7.2+dfsg-11
ii qml6-module-qtquick-layouts 6.7.2+dfsg-11
ii qml6-module-qtquick-templates 6.7.2+dfsg-11
ii qml6-module-qtquick-window 6.7.2+dfsg-11
marknote recommends no packages.
marknote suggests no packages.
-- no debconf information
Reply to: