Version: 3.1 (using KDE KDE 3.1.4) Installed from: SuSE RPMs OS: Linux Clicking on the File/Import/Import KDE2 Address Book offers an option to override existing entries or not, but then does nothing. It's possible that my KDE2 address book is not in the expected place, but there's no indication of what the expected place is.
Subject: Re: New: Import KDE2 address book doesn't work On Sat, Jan 31, 2004 at 03:56:23AM -0000, abrahams@acm.org wrote: > Version: 3.1 (using KDE KDE 3.1.4) > Installed from: SuSE RPMs > OS: Linux Hi, > Clicking on the File/Import/Import KDE2 Address Book offers an option > to override existing entries or not, but then does nothing. > It's possible that my KDE2 address book is not in the expected place, > but there's no indication of what the expected place is. There should be a file under $HOME/.kde/share/apps/kab/addressbook.kab, does it exists? Could you start kaddressbook with the command line argument --nofork in a konsole window and append the output to the bug report please? Ciao, Tobias
Subject: Re: Import KDE2 address book doesn't work Tobias, I've found the problem; the addressbook files were located under ~/.kde2, not ~/.kde. So the problem is really one of documentation; kaddressbook should indicate explicitly what it's looking for. Alternatively it could look in ~/.kde2 if the search in ~/.kde is fruitless. An explanatory note: I installed kde3 as part of a complete reinstallation of SuSE Linux. I had saved the complete contents of my old home directory in a backup partition, so I moved the .kde2 file from there to my current home directory, figuring that it wouldn't interfere with .kde. And so far it hasn't. By the way, there's something about your message that prevented kmail from quoting it in this reply. Paul
Subject: kdelibs/kabc CVS commit by tokoe: Open a message box wich informs the user when the address book file is not available. That fixes also the wish from #73864. CCMAIL:73864-done@bugs.kde.org M +8 -5 kab2kabc.cpp 1.20 --- kdelibs/kabc/kab2kabc.cpp #1.19:1.20 @@ -22,12 +22,13 @@ #include <qtextstream.h> +#include <kabapi.h> #include <kaboutdata.h> #include <kapplication.h> -#include <kdebug.h> -#include <klocale.h> #include <kcmdlineargs.h> -#include <kabapi.h> -#include <kglobal.h> #include <kconfig.h> +#include <kdebug.h> +#include <kglobal.h> +#include <klocale.h> +#include <kmessagebox.h> #include <kstandarddirs.h> @@ -291,5 +292,7 @@ void importKab( KABC::AddressBook *ab, b fileName += "addressbook.kab"; if (!QFile::exists( fileName )) { - kdDebug() << "No KDE 2 addressbook found." << endl; + KMessageBox::error( 0, "<qt>" + i18n( "Address book file <b>%1</b> not found! Make sure the old address book is located there and you have read permission for this file." ) + .arg( fileName ) + "</qt>" ); + kdDebug(5700) << "No KDE 2 addressbook found." << endl; return; }
The development of the old KAddressBook will be discontinued for KDE 4.4. Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.