kcmshell4 kcm_knetworkconfmodule says "Could not parse the XML file"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE-Admin |
Unknown
|
Medium
|
|||
kdeadmin (Ubuntu) |
Fix Released
|
High
|
Jonathan Thomas |
Bug Description
Binary package hint: kdeadmin-kde4
kcm_knetworkcon
kcmshell kcm_knetworkcon
Kubuntu-KDE4 8.04 with KDE 4.0.4, specifically knetworkconf 4:4.0.4-
Related branches
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Yuriy Kozlov (yuriy-kozlov) wrote : | #1 |
Changed in kdeadmin-kde4: | |
importance: | Undecided → High |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#22 |
Version: (using Devel)
Installed from: Compiled sources
kcm_knetworkcon
Error is reproducible for Fedora 9 Kubuntu-KDE4 8.04.
Please see
https:/
and
https:/
There is similar bug
http://
for KDE 3.x.
But this seems to be different because when I look to .xsession-errors on Fedora I see only
--get XML:
and nothing after this.
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#23 |
*** This bug has been confirmed by popular vote. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Serhiy (4bugzilla) wrote : | #2 |
I've spend some time investigating this issue and I have some additional details to add.
The problem seems to be not with "knetworkconf" gui code (C++ code) but with perl code of backend.
When I run
.../backends/
--
Can't locate /general.pl in @INC (@INC contains: /usr/lib/
BEGIN failed--compilation aborted at ../backends_
--
But there should be no errors when running this script. When I checked all perl scripts I found following
--
$SCRIPTSDIR = "";
if ($SCRIPTSDIR =~ /^@scriptsdir[@]/)
...
--
When I manually edited all perl scripts and specified value of this variable directly in each script:
--
$SCRIPTSDIR = "/usr/share/
--
(I did this on openSuse so path can be different on Ubuntu)
I was able to run this script without errors and knetworkconf started to work.
So the problem is that the value of scriptsdir variable was not defined in backends scripts. As far as I can see from http://
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#24 |
I've spend some time investigating this issue and I have some additional details to add.
The problem seems to be not with "knetworkconf" gui code (C++ code) but with perl code of backend.
When I run
.../backends/
--
Can't locate /general.pl in @INC (@INC contains: /usr/lib/
BEGIN failed--compilation aborted at ../backends_
--
But there should be no errors when running this script. When I checked all perl scripts I found following
--
$SCRIPTSDIR = "";
if ($SCRIPTSDIR =~ /^@scriptsdir[@]/)
...
--
When I manually edited all perl scripts and specified value of this variable directly in each script:
--
$SCRIPTSDIR = "/usr/share/
--
I was able to run this script without errors and knetworkconf started to work.
So the problem is that the value of scriptsdir variable was not defined in backends scripts. As far as I can see from http://
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Serhiy (4bugzilla) wrote : | #3 |
In order to resolve problem with displaying knetworkconf in KDE 4.x system settings need to change header of "kcm_knetworkco
---
[Desktop Entry]
Type=Service
X-KDE-ServiceTy
X-DocPath=
Icon=knetworkconf
#Icon=preferenc
Exec=kcmshell4 kcm_knetworkcon
X-KDE-Library=
X-KDE-PluginKey
X-KDE-ParentApp
X-KDE-System-
---
This will add additional section to "System Settings"
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Serhiy (4bugzilla) wrote : | #4 |
Sorry, there is a typo in my previous post.
X-KDE-System-
needs to be changed to
X-KDE-System-
(one 's' at the end).
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#25 |
In order to resolve problem with displaying knetworkconf in KDE 4.x system settings need to change header of "kcm_knetworkco
--
[Desktop Entry]
Type=Service
X-KDE-ServiceTy
X-DocPath=
Icon=knetworkconf
#Icon=preferenc
Exec=kcmshell4 kcm_knetworkcon
X-KDE-Library=
X-KDE-PluginKey
X-KDE-ParentApp
X-KDE-System-
--
This will add additional section to "System Settings"
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#26 |
Sorry, there is a typo in my previous post.
In order to resolve problem with displaying knetworkconf in KDE 4.x system settings need to change header of "kcm_knetworkco
--
[Desktop Entry]
Type=Service
X-KDE-ServiceTy
X-DocPath=
Icon=knetworkconf
#Icon=preferenc
Exec=kcmshell4 kcm_knetworkcon
X-KDE-Library=
X-KDE-PluginKey
X-KDE-ParentApp
X-KDE-System-
--
This will add additional section to "System Settings"
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#27 |
In order to resolve problem with displaying knetworkconf in KDE 4.x system settings need to change header of "kcm_knetworkco
--
[Desktop Entry]
Type=Service
X-KDE-ServiceTy
X-DocPath=
Icon=knetworkconf
#Icon=preferenc
Exec=kcmshell4 kcm_knetworkcon
X-KDE-Library=
X-KDE-PluginKey
X-KDE-ParentApp
X-KDE-System-
--
This will add additional section to "System Settings"
Thanks,
Serhiy
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#28 |
Please sorry for so many comments.
Actually comments #4 and #5 are broken. Please remove them.
Comment #3 is ok with the only exception that
X-KDE-System-
should be changed to
X-KDE-System-
(one 's' at the end).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#29 |
System Settings in KDE 4.1 does not support "Administrative Mode". This is planed for KDE 4.2
http://
This feature is necessary for knetworkconf.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Thomas (echidnaman) wrote : | #5 |
Same in latest Intrepid.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
sl1pkn07 (sl1pkn07) wrote : | #6 |
o agree. no working on intrepid
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tanel Kurvits (tanel-kurvits) wrote : | #7 |
intrepid
kde4.1.3
in file:
/usr/share/
add line:
X-KDE-System-
Atleast "Network Settings" pops now in "System Settings" -> "Network Settings" but if open it you get 2 times "could not parse XML file(). "and in "Network Settings" is empty not interfaces.
Its anowing bug! and prevents me downgrade Kubuntu 8.04 and kde3. Means Kubuntu 8.10 still testing alpha phase and not for everyday use.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Thomas Kluyver (takluyver) wrote : | #8 |
Presumably, now that Serhiy's localised the problem, this should be relatively simple for someone who knows about these things to fix?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Thomas (echidnaman) wrote : | #9 |
Nope. All that does is makes it appear in systemsettings. The bug is still very much present even if it does appear in systemsettings, and it was disabled on purpose by KDE to prevent it from showing up since it is broken.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Thomas Kluyver (takluyver) wrote : | #10 |
That makes sense, but I was referring to Serhiy's previous post, about the perl scripts, where he made changes and concluded: "I was able to run this script without errors and knetworkconf started to work."
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Thomas (echidnaman) wrote : | #11 |
Oh, I see. I don't know, but at least the bug is also reported at KDE.
Changed in kdeadmin: | |
status: | Confirmed → Triaged |
Changed in kdeadmin: | |
status: | Unknown → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#30 |
Any news regarding this bug? I'm using kde 4.2. beta 2 on Debian and the problem still remains. I mean, there is a "Network settings" tab (System settings/network settings/network settings) but if I click on it, no interfaces show up and I get the "could not parse the XML file ()." message...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#31 |
I can confirm, that bug still there even KDE4 RC1 in Kubuntu 8.10.!
Run /usr/share/
Now atleast that module is aviable in KDE4 administration module (in KDE 4.1x was disabled)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Thomas Kluyver (takluyver) wrote : | #12 |
Would it be accurate to suggest that kcm_knetworkcon
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tanel Kurvits (tanel-kurvits) wrote : | #13 |
Thomas drop kcm_knetworkcon
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Thomas Kluyver (takluyver) wrote : Re: [Bug 229366] Re: kcmshell4 kcm_knetworkconfmodule says "Could not parse the XML file" | #14 |
Hmmm, that is true. Although NetworkManager is independent of KDE, so it
should be perfectly possible to have a command-line control of it (and
indeed there may already be such a thing, although I don't know about it).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#32 |
(In reply to comment #7)
> System Settings in KDE 4.1 does not support "Administrative Mode". This is
> planed for KDE 4.2
> http://
> This feature is necessary for knetworkconf.
I'm running the final 4.2.0 on Gentoo. This feature has not yet been implemented.
I also experience the "Could not parse the XML file ()" message, still in 4.2.0.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#33 |
I'm running Gentoo with KDE 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090116)).
The variables ${filesdir} and ${scriptsdir} don't seem to exist when the configure_file command is run from backends/
The final system-
prefix=
exec_
libdir=
includedir=
filessdir=
backenddir=
Name: gst-backends
Description: GNOME System Tools backends
Version:
Requires:
Libs:
Cflags:
Is this normal?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#34 |
Same problem here in Kubuntu 8.10, Kde 4.2:
Could not parse the XML file ().
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#35 |
Experiencing the same problem on Gentoo Kde 4.2.0
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#36 |
Same problem. Debian KDE 4.2.0
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#37 |
Same problem on Kubuntu 9.04 (JJ) alpha-4 and KDE 4.2.0.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#38 |
same problem here, how can status be NEW when this bug is being dragged from KDE 4.04??
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#39 |
If I may say , this bug is not always reproducable. I am able to see my network interfaces on my laptop but not on my desktop. On both of them I am using the exact same configuration ( Gentoo Linux + kde-4.2 ) . Maybe there is another thing in the "back" that does the dirty work?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#40 |
Patch from Tomas Chvatal:
http://
1 --- knetworkconf/
2 +++ knetworkconf/
3 @@ -1,4 +1,4 @@
4 -
5 +set(scriptsdir "${DATA_
6
7
8 ########### install files ###############
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#41 |
(In reply to comment #18)
> Patch from Tomas Chvatal:
> http://
The patch works for me (it does not display any error), however no interfaces are listed.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
cola (cordlandwehr) wrote : | #15 |
See http://
Changed in kdeadmin: | |
milestone: | none → jaunty-alpha-6 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Martin Pitt (pitti) wrote : | #16 |
Jonathan, please fix, delegate to someone, or unmark as release blocker. (Release blockers need to have an assignee).
Changed in kdeadmin: | |
assignee: | nobody → jr |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Thomas (echidnaman) wrote : | #17 |
I plan on fixing this in a bit.
Changed in kdeadmin: | |
assignee: | jr → echidnaman |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#42 |
In gentoo this patch is already in portage
see http://
But still no interfaces are visible in the network configuration window
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#43 |
(In reply to comment #20)
> In gentoo this patch is already in portage
>
> see http://
>
> But still no interfaces are visible in the network configuration window
OK, does the system monitor - network widget work for you? I suppose that since no network interfaces are shown in the network configuration window, the widget does not work either.
Changed in kdeadmin: | |
status: | Triaged → In Progress |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Thomas (echidnaman) wrote : | #18 |
Fix committed in bzr.
Changed in kdeadmin: | |
status: | In Progress → Fix Committed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Launchpad Janitor (janitor) wrote : | #19 |
This bug was fixed in the package kdeadmin - 4:4.2.1-0ubuntu2
---------------
kdeadmin (4:4.2.1-0ubuntu2) jaunty; urgency=low
[ Jonathan Thomas ]
* Add kubuntu_
knetworkconf some clue where to find its backend. (LP: #229366)
[ Scott Kitterman ]
* Change vcs* fields in debian/control from Debian to Kubuntu repositories
-- Scott Kitterman <email address hidden> Mon, 09 Mar 2009 09:05:27 -0400
Changed in kdeadmin: | |
status: | Fix Committed → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#44 |
*** Bug 184356 has been marked as a duplicate of this bug. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#45 |
Created attachment 32063
Crash report of segfault in knetworkconfig
I'm also getting no interfaces. The backends seem to work. I'm not sure if it's related but if I try to open a context menu in the blank "Available Network Interfaces" area of the window (as super-user) it segfaults. Attached is the crash report and below is the shell output:
--get XML:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE network []>
<network>
<dialinstalle
<smbinstalled
<smbuse>
<nameserver>
<statichost>
<ip>
<alias>
<alias></alias>
<alias>
</statichost>
<statichost>
<ip>
<alias>
<alias>
</statichost>
<interface type='modem'>
<dev>
<enabled>
</interface>
<interface type='modem'>
<dev>ppp0</dev>
<enabled>
</interface>
<interface type='loopback'>
<dev>lo</dev>
<enabled>
</interface>
<interface type='wireless'>
<dev>
<enabled>
<hwaddr>
</interface>
<interface type='ethernet'>
<dev>eth0</dev>
<enabled>
<hwaddr>
</interface>
<profiledb>
</profiledb>
</network>
<!-- GST: end of request -->
XML -d list_ifaces: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE network-ifaces []>
<network-ifaces>
<interface>
<dev>
<enabled>
<type>
</interface>
<interface>
<addr>
<dev>lo</dev>
<enabled>
<mask>
<type>
</interface>
<interface>
<dev>
<enabled>
<hwaddr>
<type>
</interface>
<interface>
<addr>
<bcast>
<dev>eth0</dev>
<enabled>
<hwaddr>
<mask>
<type>
</interface>
</network-ifaces>
<!-- GST: end of request -->
Segmentation fault
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#46 |
I only get this at Konsole:
kcmshell4 kcm_knetworkcon
--get XML:
Then error message appears: Could not parse xml file ().
Please someone fix this. This is critical bug. What is the benefit of plasma and fancy icons if user cannot configure network interface :(.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#47 |
This bug is already 10 months old. I think it will never be fixed.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#48 |
(In reply to comment #25)
> This bug is already 10 months old. I think it will never be fixed.
I somewhere seen that correct NetworkManager integration postponed to KDE-4.3
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tom Clift (tom-clift) wrote : | #20 |
Getting the same error with kdeadmin 4:4.2.2-0ubuntu2.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#49 |
same problem here !
https:/
is also a duplicated of this one? if so, please mark it
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#50 |
*** Bug 192394 has been marked as a duplicate of this bug. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#51 |
This bug present in KDE 4.2.3 openSUSE 11.0 too
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#52 |
*** Bug 194134 has been marked as a duplicate of this bug. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#53 |
*** Bug 185966 has been marked as a duplicate of this bug. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#54 |
that code uses qt deprecated code, being kept for compatibility with qt3, and seems to be quickly ported to qt4. I guess it needs a major rewrite.
Changed in kdeadmin: | |
status: | Confirmed → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#55 |
SVN commit 976040 by modax:
Steal patch from gentoo to fix problems with backends in knetworkconf.
Thanks to Martin Alfke for making me aware of it and testing.
BUG: 163578
M +1 -1 CMakeLists.txt
WebSVN link: http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#56 |
*** Bug 197494 has been marked as a duplicate of this bug. ***
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Renato_Bauab (rbauab) wrote : | #21 |
Thanks Serhiy, it worked too with Slackware 13, but with a few changes:
1 - The pearl scripts are in /usr/share/
The path to be changed is the same : /usr/share/
2 - Some files has too the field $FILESDIR = "";
it should be replaced by : $FILESDIR = "@filesdir@";
3 - For kcm_knetworkcon
the field X-DocPath should remain unchanged.
After this little modifications, the module ups well, but it couldn't detect my network devices....
Does somebody have any clue for me??
Thanks
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#57 |
So what version of knetworkconf will this be fixed in?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#58 |
(In reply to comment #21)
> > But still no interfaces are visible in the network configuration window
>
> OK, does the system monitor - network widget work for you? I suppose that since
> no network interfaces are shown in the network configuration window, the widget
> does not work either.
To answer this question from 6 months back: No, the widget doesn't work either. I see no network interfaces in System Settings > Network Settings > Network Settings, and the System monitor - network widget also shows no data. Although, when I start it it opens two windows, which is interesting since I have two interfaces (besides lo). But the windows are empty, and when I try to configure them, the list of available interfaces is also empty.
This is with KDE 4.3.1 in Debian.
Thanks,
Andrew.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#59 |
So to be clear, for me this bug is not yet fixed in KDE 4.3.1. Thanks, A.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#60 |
Same bug in KDE 4.2.4 Slackware 13.0
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#61 |
OK, so now this bug is:
Status: RESOLVED
Resolution: FIXED
How does one go about finding out what path the fix will take before finally reaching a computer near me?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#62 |
Bug still present in KDE 4.3.3 Ubuntu 9.10. Is it supposed to be fixed by now?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#63 |
So who is QA for this bug? Can anyone besides them re-open this bug?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#64 |
Reopen since comments suggest this bug is still present.
Changed in kdeadmin: | |
status: | Fix Released → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#65 |
I am using KDE 4.4.4 in Sabayon Linux x86_64 2.6.34-sabayon kernel. If I select Kickoff > Computer > System Settings > Network Settings, a window titled "Detecting Your Current Platform" pops up with the message "Please wait while detecting your current platform..." and, immediately after, on top of it pops up another window titled "Error - System Setti..." with the message "Could not parse the XML file ()."
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#66 |
I confirm this bug on my laptop Gentoo, KDE-4.4.95 (and all earlier versions since one year at least).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#67 |
I upgraded from KDE 4.4.4 to 4.5.1 today and am still experiencing this problem under Sabayon Linux.
$ uname -a
Linux meshedgedx 2.6.34-sabayon #1 SMP Fri Jun 4 18:01:48 BST 2010 x86_64 Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz GenuineIntel GNU/Linux
$ eix kde-meta
[I] kde-base/kde-meta
Available versions:
(4.4) 4.4.5
(4.5) (~)4.5.1
Installed versions: 4.5.1(4.5)(03:31:44 12/09/10)
Homepage: http://
Description: KDE - merge this to pull in all split kde-base/* packages
Changed in kdeadmin: | |
importance: | Unknown → Medium |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#68 |
The "knetworkconf" module is unmaintained, and has been replaced with the networkmanagement plasmoid.
If this issue still needs to be addressed with a recent version of this plasmoid, please add a comment, or file a new report for product "Network Management".
Changed in kdeadmin: | |
status: | Confirmed → Unknown |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#69 |
I currently have KDE 4.9.0 installed (upgraded from previous versions of KDE in turn over the years).
System Settings > Network Settings has five icons in the left column:
- Network Connections
- Proxy
- Connection Preferences
- Service Discovery
- Network Settings
However the last entry, Network Settings should not be there: it was for the knetworkconf module, which is obsolete (see Comment 46).
If I selected System Settings > Network Settings, a window titled "Detecting Your Current Platform" popped up with the message "Please wait while detecting your current platform..." and, immediately after, on top of it pops up another window titled "Error - System Settings" with the message "Could not parse the XML file ()."
The Gentoo command line utility 'eix' (yes, I used the command 'eix-update' to ensure its database is up-to-date) did not list the obsolete package kde-base/
# eix knetworkconf
No matches found.
#
which is why I have been so perplexed about this problem, as I apparently did not have knetworkconf installed. Today I suddenly decided to try the command 'emerge --search' instead:
$ emerge --search knetworkconf
Searching...
[ Results for search key : knetworkconf ]
[ Applications found : 1 ]
* kde-base/
Latest version installed: 4.5.4
Homepage: http://
Description: KDE Control Center module to configure network settings
License: GPL-2
So I unmerged knetworkconf:
$ sudo emerge -C knetworkconf
Password:
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.
kde-base/
selected: 4.5.4
protected: none
omitted: none
All selected packages: kde-base/
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) kde-base/
*
* Directory symlink(s) may need protection:
*
* /usr/share/
*
* Searching all installed packages for files installed via above symlink(s)...
*
* The above directory symlink(s) are all safe to remove. Removing them now...
*
* GNU info directory index is up-to-date.
$
And now I no longer have that obsolete fifth icon Network Settings in System Settings > Network Settings, and thus, after trying for several years, finally got rid of that damned error message "Could not parse the XML file ()."!
Confirmed on Hardy with KDE 4.0.4. Marking High importance since this prevents people from configuring static network settings via the GUI.