Bug#1091840: marknote: Fails to import notes from KJots with notes in subdirectories
Hej,
Am Mittwoch, 1. Januar 2025, 11:34:37 MEZ schrieb Vincas Dargis:
> 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.
You can check if your bug has already been reported at
https://bugs.kde.org/buglist.cgi?quicksearch=marknote&list_id=3013928,
but it doesn't look that way. Feel free to create a bug there.
--
Med vänliga hälsningar
Patrick Franz
Reply to: