Bug 107072 - Spurious "please enter a valid email address at the identity section" error -- can't post!
Summary: Spurious "please enter a valid email address at the identity section" error -...
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 21:35 UTC by Tristan Miller
Modified: 2010-01-16 12:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2005-06-08 21:35:21 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    SuSE RPMs

I have three news server accounts configured in KNode.  In the first of these, whenever I try to post a message to a newsgroup, I get the following error dialog:

Sorry - KNode

Please enter a valid email address at the identity section of the configuration dialog.

[ OK ]

However, if I right-click on the account's entry and select "Account Properties" and then the "Identity" tab, there is already a perfectly valid e-mail address specified (psychonaut@nothingisreal.com).  Ditto for the general preferences under Settings->Configure KNode->Identity.  Retyping the address and clicking OK does not solve the problem.
Comment 1 Fernando Perez 2005-08-11 02:33:22 UTC
I just updated to KDE 3.4.2 from the fedora3 nightly updates, and got hit by this same problem.  My identity has a perfectly valid address in it (fperez.net AT gmail.com), which was working up until this morning (before I logged out of KDE so the 3.4.2. update could kick in).  At this point Knode has become useless for posting all of a sudden.  Any suggestions?
Comment 2 Dr. Claudia Neumann 2005-08-11 23:40:37 UTC
Updated to Debian Sarge and encountered the same problem. Rewriting the email address in "Identity" didn't do anything. Then I tried right-clicking on the newsgroup name and select the option "Group Preferences". A new window opened with empty name and email address. I inserted name and email address and now knode works again. 
Comment 3 Frederik Himpe 2005-11-06 11:13:46 UTC
I can confirm this problem is still present in 3.5 beta 2.
Comment 4 Maciej Pilichowski 2006-05-12 14:01:28 UTC
Same problem here. But there is no problem with checking the email address because there should be no checking at all! Maybe at least warning (but with proper directing for the user) with "do not warn again" option -- I am posting with incorrect email address for years (Forte Agent) and I want to keep this way (spam!).
Comment 5 Frederik Himpe 2006-07-27 20:56:29 UTC
Still happening in 3.5.3. After one year, can this finally be looked at please...
Comment 6 Alexander Stein 2006-08-04 11:00:15 UTC
I got this error with 3.5.4 for the first time. I solved it by readding the problematic server. Adding the groups you want and delete the old one. Seems to be a problem with config files.
Comment 7 Sami Liedes 2006-10-05 20:52:30 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 Sami Liedes 2006-10-05 21:24:51 UTC
I can confirm this on KNode 0.10.4 (KDE 3.5.4 on Debian unstable).

Curiously, I only get this error with a single newsgroup on the server. Posting to all other groups on the same server works fine.

If that is important, the name of the newsgroup that doesn't work is tkk.niksula; there also exists a group tkk.niksula.tiedottaa on the same server, and I am subscribed to it too. However it doesn't seem to be a generic pattern that X.Y doesn't work when X.Y.Z exists, I tested that.
Comment 9 Sami Liedes 2006-10-24 01:12:04 UTC
Somehow ~/.kde/share/apps/knode/nntp.1/tkk.niksula.grpinfo got these lines that cause this behavior:

------------------------------------------------------------
$ cat tkk.niksula.grpinfo
Email=
Mail-Copies-To=
Name=
Org=
Reply-To=
SigningKey=B0D904CF
UseDefaultExpConf=true
[...]
------------------------------------------------------------

With empty fields Email etc. obviously causing this problem. This is the only .grpinfo with these fields. How they got into this file, I have no idea, but I don't admit to adding them manually ;) Probably hard to reproduce :(

From the GUI nothing appears to be different from the other groups.
Comment 10 Luke MacNeil 2006-12-14 16:05:59 UTC
I modified the .grpinfo files and put the Email=valid@email.add in each of them, then noticed that when I restarted knode, the values were overwritten, so I edited them, and then removed write access. ... chmod 555
Comment 11 Tim Hutt 2007-01-13 02:49:08 UTC
I think it is because the email in the news server thing is blank.

Try going to configure->configure [redundant] knode->accounts->double click on the offending account, go to the (mysteriously identical) identity page in the resulting dialog, and change the email address there.

What's the deal with the multitude of identity pages?
Comment 12 Marcus Better 2007-01-13 18:33:04 UTC
My identity page is not blank. But on the other hand I haven't noticed the bug for a while now.
Comment 13 Giuseppe Bilotta 2007-02-09 11:46:14 UTC
Same problem here, on only one of the three news server I'm subscribed to.

I suspect the problem comes from there not being a "use global identity information" in the Identity tab for each server; therefore, KNode doesn't rever to the default (global identity) entries for empty entries, and thus complains.

I think we need a "Use global identity information" like we have a default expire configuration option.
Comment 14 Frederik Himpe 2007-06-09 17:53:01 UTC
I am experiencing this bug again right now in 3.5.7 :-( There was no "E-mail" setting in the grplist file at all, and Name was empty. Adding it fixes it.

This seems like a serious design error in identity handling in KNode: you can configure your identity in KNode settings dialog, but actually it is not used, and each group uses its own identity, which is set by right clicking on the group, tab Identity, and which is saved in the grplist.

I'm even wondering what is the purpose of the global setting, if each group uses its own setting stored in the grplist file...

Can somebody take a look at this please?
Comment 15 Erik Anderson 2008-01-07 17:19:16 UTC
Good lord is this a stupid GUI config error.  I'm getting the same thing on Kubuntu 7.10, KNode 0.10.5 (a.k.a. 4:3.5.7enterprise20070926-0ubuntu2).  

As described by others, the fault lies in the counter-intuitive use of separate identities for *each individual newsgroup subscribed to*, with KNode's own global Settings -> Configure KNode -> Identity dialog apparently *completely useless*.  What's the blooming point of even having this if all it ever does is confuse people?  It took me the better part of an hour to figure out why in the devil's briefcase KNode kept saying I hadn't entered a valid email, even after opening this same global dialog and confirming that there was in fact an email address in there.  

Meh.

SUGGESTION: Unless separate identity settings are specifically entered for a newsgroup, the Global settings should be the ones used BY DEFAULT.  

If that can't be managed, AT LEAST change the error message to make it clear that the user needs to look in Group Properties -> Identity.

Cheers,

Eiríkr
Comment 16 Marcus Better 2008-04-03 16:16:50 UTC
Confirmed on Debian's knode 4:3.5.9-2.
Comment 17 Toni 2009-02-08 17:09:22 UTC
Bug confirmed on Debian/Lenny knode 0.10.9, KDE 3.5.10, Debian-Package 4:3.5.9-5. There was no problem for about 1 year, but recently i played around with identities; since that time there are at least two newsgroups where the Bug occures. These newsgroups have an empty "Email=" value in there *.grpinfo files. All other newsgroups have no "Email=" entry there.

Toni.
Comment 18 Toni 2009-02-08 17:20:08 UTC
(In reply to comment #17)

Deleting the "Email:" entries in the grpinfo files doesn't help. But when i insert an email address in the group properties dialogue: it works (and the deleted "Email:" entry in the grpinfo file doesn't appear again, neither empty nor with an email adress)

Toni.
Comment 19 Olivier Trichet 2010-01-16 12:46:40 UTC
SVN commit 1075588 by otrichet:

Convert KNode's identity to KPIMIdentities::Identity

 - Convertion code run once at startup (should be able to run multiple
   without much breakage).
 - New identity selection widget
 - New identity edition dialog
 - Porting

This should make selection and edition of identity a bit more clear.
The same identity can be used for multiple groups.
Bug related to loading of identity content magically disappears.

BUG: 147471
BUG: 143291
BUG: 107072
BUG: 23622
BUG: 138821

RELEASE: 4.5

 M  +20 -7     CMakeLists.txt  
 A             configuration (directory)  
 A             configuration/identity_combo_wrapper.h   [License: MIT]
 A             configuration/identity_edition_dialog.cpp   [License: MIT]
 A             configuration/identity_edition_dialog.h   [License: MIT]
 A             configuration/identity_edition_dialog.ui  
 A             configuration/identity_widget.cpp   [License: MIT]
 A             configuration/identity_widget.h   [License: MIT]
 A             configuration/identity_widget.ui  
 A             configuration/settings_container_interface.h   [License: MIT]
 M  +1 -1      knaccountmanager.cpp  
 M  +50 -100   knarticlefactory.cpp  
 M  +2 -2      knarticlefactory.h  
 M  +2 -2      kncleanup.cpp  
 M  +1 -1      kncollection.h  
 M  +22 -15    kncomposer.cpp  
 M  +27 -15    kncomposer.h  
 M  +4 -159    knconfig.cpp  
 M  +1 -83     knconfig.h  
 M  +2 -5      knconfigmanager.cpp  
 M  +0 -3      knconfigmanager.h  
 M  +6 -13     knconfigpages.cpp  
 M  +5 -255    knconfigwidgets.cpp  
 M  +2 -62     knconfigwidgets.h  
 M  +1 -1      knfolder.cpp  
 M  +1 -1      knfolder.h  
 M  +2 -2      knfoldermanager.cpp  
 M  +16 -5     knglobals.cpp  
 M  +7 -0      knglobals.h  
 M  +17 -35    kngroup.cpp  
 M  +23 -10    kngroup.h  
 M  +3 -3      kngroupmanager.cpp  
 M  +2 -1      kngrouppropdlg.cpp  
 M  +1 -14     knmainwidget.cpp  
 M  +33 -37    knnntpaccount.cpp  
 M  +27 -11    knnntpaccount.h  
 M  +8 -0      knode.kcfg  
 M  +4 -1      knode_part.cpp  
 M  +22 -16    knstringfilter.cpp  
 M  +1 -1      knstringfilter.h  
 M  +3 -1      main.cpp  
 M  +16 -2     settings.cpp  
 M  +22 -2     settings.h  
 M  +158 -2    utils/startup.cpp  
 M  +23 -2     utils/startup.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1075588