Comment 47 for bug 378428

Revision history for this message
In , Timo (timo-schluessler) wrote :

(In reply to comment #32)
> This isn't working with kopete from KDE 4.5.2. When trying to import the
> history for one of my contacts I get an error window with title "Cannot Map
> Nickname to Account", and asking me which was my nickname on that history, but
> it starts to show random contacts from my list. For example, trying with a MSN
> contact, on the details text I see the following error:
>
> WARNING: Cannot find matching account for <email address hidden> (msn).
>
> Doing some testing, it seems the problem is with the name of the protocol
> directory on pidgin logs. For example, for MSN protocol, on ~/.purple/logs the
> directory is named "msn", but kopete directory on
> ~/.kde4/share/apps/kopete/logs is "WlmProtocol". If you rename pidgin's msn
> directory to "WlmProtocol" and then try to import the logs on kopete, the
> import process won't fail and it will start asking you which was your nickname
> on the conversations (which is very annoying btw, but it's a different issue),
> and apparently, it correctly imports your contacts.

I just submitted a patch to the kopete people that takes different protocol-names into consideration.

> I have other observations about this feature but probably they deserve their
> own bug report. If so then please tell me and I'll open them:
>
> 1. accents and other characters (á, é, í, ó, ñ, etc) appear screwed, there's
> some encoding issue on the conversion.

Utf-8 is now set as codec for .txt file imports, which should be pidgins default (please alert me if it is not so!).

> 2. The import history feature is badly placed: you access it when looking at a
> contact's history, but when you click on the "import History" it will import
> all history for all contacts of all accounts (not sure of this last one but
> it'll surely will do it for all contacts of the contact's protocol). If I'm
> looking at a contact's history, I expect that that "Import History..." button
> imports _that_ user history, not the history from all contacts in all accounts.
> Thsi feature should be moved to kopete's configuration dialog or to the File
> dialog, bellow the "Export contacts" entry.

I agree. Let's see what the kopete people suggest ...

> 3. It's REALLY annoying that the import feature asks hundreds of times which
> was my nickname on the history logs. I suppose this is because it isn't easy to
> detect on a pidgin's conversation which contact is from the user importing the
> history and which one is from the person(s) he was talking to ?

That's right, only the .html pidgin-log-files contain valuable information about which nicknames are the importers ones.
The patch also contains a new algorithm that should fire much less queries about the used nicknames. Maybe you could test the import once again as soon as the patch made it into the trunk?

Timo