Bug 369375

Summary: Using pimsettingexporter --import fails to restore settings from other version of OS
Product: [Applications] pimsettingexporter Reporter: Freek de Kruijf <freekdekruijf>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: mark
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Freek de Kruijf 2016-09-26 10:10:27 UTC
I used pimsettingexporter to save all settings on openSUSE 42,1. To restore these settings on the same account in openSUSE 42.2 I use:
>  pimsettingexporter -v
pimsettingexporter 5.3.0 (QtWebEngine)
The main problem I had was that this application did not use the names I gave to the 6 IMAP servers I use. So I has problems to match folders that were presented to me to match to folders on the new account. I just want to mimic the situation on the older system on the new system. So finally I did hit the Cancel button repeatedly which resulted in a crash. I started the application on a console so I got the error message.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 4483, resource id: 46141944, major code: 40 (TranslateCoords), minor code: 0
KCrash: Application 'pimsettingexporter' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

Because I did run the application twice, I got all accounts, servers etc. twice in the system, which became apparent after starting kontact. So probably the default should be to overwrite all information instead of merging things in a new run of the application.


Reproducible: Always



Expected Results:  
I would expect to run the application without many questions about how to match folders and just have a setup that mimics the original setup it gets imported from.

I will delete the account and start all over again.
Comment 1 Mark Stanton 2017-03-17 10:51:13 UTC
I also see this, simply transferring from one system to another.
Setting up a clean install on Fedora 25 when installing a new disk.
I exported everything Kontact (v 16.12, Plasma 5.9(.3?)) volunteered, then imported on the new install.

All my accounts are recreated, all named 

	akonadi-<protocol>-resource-<id of some sort>

Extremely frustrating.

Also, mail filters have not been ex/imported at all.
No previous email appears to have arrived either, although there is a lot of it.
Comment 2 Mark Stanton 2017-03-18 14:25:41 UTC
Further to my "all the accounts are recreated" statement, while trying to rename the badly named accounts, several of the names changed to "POP 3 Account" when I entered the modify dialogue, still had a fairly relevant username entry, and a password (which, of course, I can't read), and no other data, so I can't tell if these were valid accounts or not.  They certainly aren't in this newly updated state.

I have slightly rearranged the folder structure, but not only should this not be relevant to accounts (should it?), but also the import had gone through an extensive "what directory should I use for xxx" for all of those.
Comment 3 Freek de Kruijf 2022-06-27 10:00:21 UTC
Too old to keep it open