Bug 377909

Summary: Wrong source path
Product: [Applications] pimsettingexporter Reporter: Martyn Yates <martynjy>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: guentera
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: wrong source path

Description Martyn Yates 2017-03-22 03:15:27 UTC
Created attachment 104677 [details]
wrong source path

Whilst exporting PIM settings I get the following error:

Impossible to backup "/home/suse/.local/share/share/contacts/".

Obviously 'share/share' does not exist.

openSUSE Tumbleweed
KDE Plasma 5.9.2
pimsettingexporter 5.4.3
Comment 1 Laurent Montel 2017-03-22 14:13:30 UTC
"QString url = Utils::resourcePath(agent, QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/share/contacts/"));"
We use just this line
and QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) ==  ~/.local/
So do you redefine some XDG environment variable ?
Comment 2 g 2018-06-13 09:13:45 UTC
I have the same problem in:

openSUSE Leap 42.3 (Kontact 5.5.2), 
Leap 15 (Kontact 5.7.3)
KDE-neon 5.12.5 (Kontact 5.8.2).
Language: German.

I don't redefine any environment variable.
Comment 3 Christoph Feck 2018-06-28 00:06:29 UTC

*** This bug has been marked as a duplicate of bug 395911 ***