[akregator] [Bug 378757] New: Archive: Archive folder not created if missing, articles not saved
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Thu Apr 13 22:13:45 BST 2017
https://bugs.kde.org/show_bug.cgi?id=378757
Bug ID: 378757
Summary: Archive: Archive folder not created if missing,
articles not saved
Product: akregator
Version: 5.2.3
Platform: Debian testing
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: general
Assignee: kdepim-bugs at kde.org
Reporter: esainane+kde at gmail.com
Target Milestone: ---
I noticed that Akregator was not remembering the articles between sessions,
even though Configure -> Archive -> Default Archive Settings was set to "Keep
all articles".
Attaching strace:
[...]
mkdir("/home", 0777) = -1 EEXIST (File exists)
stat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("/home/user", 0777) = -1 EEXIST (File exists)
stat("/home/user", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("/home/user/.local", 0777) = -1 EEXIST (File exists)
stat("/home/user/.local", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
mkdir("/home/user/.local/share", 0777) = -1 EEXIST (File exists)
stat("/home/user/.local/share", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
mkdir("/home/user/.local/share/akregator", 0777) = -1 EEXIST (File exists)
stat("/home/user/.local/share/akregator", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
open("/home/user/.local/share/akregator/Archive/archiveindex.mk4", O_RDWR) = -1
ENOENT (No such file or directory)
open("/home/user/.local/share/akregator/Archive/archiveindex.mk4",
O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory)
open("/home/user/.local/share/akregator/Archive/feedlistbackup.mk4", O_RDWR) =
-1 ENOENT (No such file or directory)
open("/home/user/.local/share/akregator/Archive/feedlistbackup.mk4",
O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory)
[...]
While it checks for ~/.local/share/akregator (and parents),
~/.local/share/akregator/Archive/archiveindex.mk4, and
~/.local/share/akregator/Archive/feedlistbackup.mk4, creating them if they do
not exist, there does not appear to be any attempt to check for
~/.local/share/akregator/Archive/ and create it if it does not exist, leading
to the failure to create the files in this directory.
Manually creating ~/.local/share/akregator/Archive works around the problem,
with articles then being properly archived and preserved between sessions.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list