|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper doesn't output media errors in xml format | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Thomas Göttlicher <tgoettlicher> |
| Component: | libzypp | Assignee: | Jan Kupec <jkupec> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | dmueller, forgotten_--EoyBps8f |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Thomas Göttlicher
2007-08-22 10:09:33 UTC
Same with dependency errors. Maybe if it is too close to implement all kinds of errors independently, we should have at least a general error message from zypper for all errors. (In reply to comment #0 from Thomas Göttlicher) > zypper doesn't output media errors in xml format in but on stderr as text when > --terse option is selected. > > It seems to me that error messages are handled on many different functions in > code. Is there an central point for an elegant solution? nope, ATM there is not. Although in the future it will be probably a way to go to print the errors with a set of report_problem() functions. Maybe also the normal output should be handled this way. I will post a message about our plans to implement the xml output in zypper to the zypp-devel ML by tommorow and file a FATE request. *** Bug 306392 has been marked as a duplicate of this bug. *** reopening for 11.0 Error-messages like: Repository 'NVIDIA Repository' ist ungültig. Curl error for 'http://download.nvidia.com/opensuse/10.3/repodata/repomd.xml': Error code: Connection failed Error message: Couldn't resolve host 'download.nvidia.com' Bitte überprüfen Sie, ob die angegebenen URLs für dieses Repository zu einem validen Repository zeigen. Deaktiviere Repository 'NVIDIA Repository' Aufgrund des obigen Fehlers. Repository 'Packman Repository' ist ungültig. Curl error for 'http://ftp.skynet.be/pub/packman/suse/10.3/repodata/repomd.xml': Error code: Connection failed Error message: Couldn't resolve host 'ftp.skynet.be' Bitte überprüfen Sie, ob die angegebenen URLs für dieses Repository zu einem validen Repository zeigen. Deaktiviere Repository 'Packman Repository' Aufgrund des obigen Fehlers. Are a major usability bug and not an enhancement or feature. This should be fixed for 10.3 to make those messages of any use to the user. http://files.myopera.com/freejerk/files/bug-feature.jpg Yes, it is a bug in the updater, but its a feature request for zypper. Please, see bug #306392. I'll reopen it, as it is not a duplicate of this one. zypper -x now does write all errors as <message type="error">error message</message>, fixed in 0.10.2 |