Bug 337424 - opensuseupdater (kde + gnome) fail with message invalid xml
Summary: opensuseupdater (kde + gnome) fail with message invalid xml
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Update Problems (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Jan Kupec
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 20:33 UTC by Christian Volkmann
Modified: 2008-02-29 16:50 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
requested run of zypper -t xu (43.79 KB, application/xml)
2007-10-29 10:22 UTC, Christian Volkmann
Details
requested y2logs. (2.92 MB, application/x-compressed-tar)
2007-10-30 19:40 UTC, Christian Volkmann
Details
patch to escape xml of source url and alias (632 bytes, patch)
2008-01-12 18:41 UTC, Christian Volkmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Volkmann 2007-10-28 20:33:23 UTC
I got the message  "Dienstprogramm gab zurück: invalid xml" from opensuseupdater-kde.
Tries with opensuse-updater-gnome showed me some additional information.

The gnome updater shows the message:
"Entity: line 292: parser error : EntityRef: expecting ';'
  <source url="iso:///?iso=openSUSE-10.3-GM-KDE-i386.iso&url=file:///images/suse"

zypper sl shows:
==#  | Aktiviert | Aktualisieren | Typ    | Alias                                                                    | Name                  
---+-----------+---------------+--------+--------------------------------------------------------------------------+---------------------------------------------
1  | Ja        | Ja            | rpm-md | http://download.nvidia.com/opensuse/10.3                                 | NVIDIA Repository     
2  | Ja        | Ja            | yast2  | http://download.opensuse.org/distribution/10.3/repo/non-oss/             | Haupt-Repository (Nicht-OSS)
3  | Ja        | Ja            | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_10.3/ | openSUSE BuildService - Wine CVS Pakete
4  | Ja        | Ja            | rpm-md | http://download.opensuse.org/repositories/games:/action/openSUSE_10.3/   | openSUSE BuildService - Spiele (Action)
5  | Ja        | Ja            | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_10.3/         | openSUSE BuildService - Mozilla
6  | Ja        | Ja            | rpm-md | http://ftp.skynet.be/pub/packman/suse/10.3/                              | Packman Repository    
7  | Ja        | Nein          | yast2  | openSUSE-10.3-DVD_10.3                                                   | openSUSE-10.3-DVD 10.3
8  | Ja        | Nein          | yast2  | openSUSE-10.3-OSS-KDE_10.3                                               | openSUSE-10.3-OSS-KDE 10.3
9  | Ja        | Nein          | yast2  | openSUSE-10.3-Addon-NonOSS_10.3                                          | openSUSE-10.3-Addon-NonOSS 10.3
10 | Ja        | Ja            | rpm-md | openSUSE-10.3-Updates                                                    | openSUSE-10.3-Updates 
11 | Ja        | Ja            | rpm-md | http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/        | Haupt-Repository (Quellen)
12 | Ja        | Ja            | yast2  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/        | Haupt-Repository (Opensource Software - OSS)
==

I did already a rebuild of /var/cache/zypp/zypp.db . This did not help.

I expect a local iso image included as installation source generate this error.
Should reproduce the error:
- copy a CD image openSUSE-10.3-GM-KDE-i386.iso to your local disc.
  has generateed an entry for me: iso:///?iso=openSUSE-10.3-GN-KDE-i386.iso&url=file:///images/suse103/
- run opensuse-updater and get the "invalixd xml" message from kde.


Workaround: do not activate the iso images as installation source with yast2.
But this will remove the capability to install from a local image.

Best regards,

Christian
Comment 1 Marcus Meissner 2007-10-29 10:15:38 UTC
please attach output of "zypper -t xu"
Comment 2 Christian Volkmann 2007-10-29 10:22:29 UTC
Created attachment 180992 [details]
requested run of zypper -t xu
Comment 3 Marcus Meissner 2007-10-29 10:33:29 UTC
The & in the ISO repo URL is confusing it.

How did you add this repo? Using YAST?
Comment 4 Christian Volkmann 2007-10-29 12:28:36 UTC
>The & in the ISO repo URL is confusing it.
> How did you add this repo? Using YAST?
Yast2 .Yes.

- start Software repositories
- add
- Local ISO image
- enter the complete filename "Path to ISO-Image" ( no Browse for selection )
- Repository name is left empty.
- Next

The 10.3 is fully patched.
I can reproduce the problem.
Comment 5 Cyril Hrubis 2007-10-30 17:24:36 UTC
Then please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 6 Christian Volkmann 2007-10-30 19:40:44 UTC
Created attachment 181307 [details]
requested y2logs.

Hmm, one try would be much faster than asking for all the logs.
Did someone already try this ? I have seen severel reports of
this error in the web/www.
:)
Comment 7 Michal Zugec 2007-10-31 08:52:41 UTC
reassign to aplet maintainer
Comment 8 Thomas Göttlicher 2007-10-31 09:06:04 UTC
Jano, could you add some encoding to zypper's xml output please?
Comment 9 Christian Volkmann 2008-01-12 18:41:17 UTC
Created attachment 190349 [details]
patch to escape xml of source url and alias

I am a little sad that no fix exist until now.
May be my patch speed up an official patch.
Best regards,

Christian
Comment 10 Jan Kupec 2008-02-29 15:45:21 UTC
Thanx Christian. Done in svn, to be in zypper 0.10.2
Comment 11 Jan Kupec 2008-02-29 16:50:10 UTC
submitted