Version: 0.7.6 (using KDE 3.1.93 (CVS >= 20031111), compiled sources) Compiler: gcc version 3.3.2 (PLD Linux) OS: Linux When I try to download newsgroups from an NNTP server I see two kinds of behavior. 1. KNode seems to download groups and then displays an error message saying it can't write the groups list. There is also a following message in session log: knode: WARNING: unable to open /home/misiek/.kde/share/apps/knode/nntp.1/groups reason 5 Note that there is no such dir, but there is quite similar: /home/misiek/.kde/share/apps/knode/nntp.-1 2. KNode fails immediatelly after trying to download list of groups with message: Unable to connect: Operation now in progress I've tried to remove the account and create it again and I always see one of the above behviors. Regards
CVS commit by vkrause: Don't save accounts before they have a valid id. CCMAIL: 70539-done@bugs.kde.org M +5 -2 knconfigwidgets.cpp 1.99 --- kdepim/knode/knconfigwidgets.cpp #1.98:1.99 @@ -385,6 +385,8 @@ void KNConfig::NntpAccountListWidget::sl KNNntpAccount *acc = new KNNntpAccount(); - if(acc->editProperties(this)) + if(acc->editProperties(this)) { a_ccManager->newAccount(acc); + acc->saveInfo(); + } else delete acc; @@ -545,4 +547,5 @@ void KNConfig::NntpAccountConfDialog::sl a_ccount->setIntervalChecking(i_nterval->isChecked()); a_ccount->setCheckInterval(c_heckInterval->value()); + if (a_ccount->id() != -1) // only save if account has a valid id a_ccount->saveInfo();