|
Bugzilla – Full Text Bug Listing |
| Summary: | sw_single: MediaException warning text is unhelpful | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Stanislav Brabec <sbrabec> |
| Component: | libzypp | Assignee: | Michael Andres <ma> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | jsuchome, nospamm |
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
failed.png
KDE-Yast2-Error on refreshin repositories |
||
|
Description
Stanislav Brabec
2007-08-09 13:41:08 UTC
Created attachment 156491 [details]
failed.png
Hi Stanislav - do you mean truncation of names ? ultimately, the yast2-gtk dialog code itself will not truncate the error - and this dialog is not created by yast2-gtk (at all). ie. this looks like a pure sw_single / YCP mis-feature in /usr/share/YaST2/modules/PackageCallbacks.ycp (DoneDownload) It'd also be really useful to get the relevant yast log files if you could dig them out ? Thanks. On KDE the situation is the same. You even only get the error message, without having an idea of what repo failed and why. I'd like to have one big persistent popup for all messages while refreshing repos. Peter Buschbacher Created attachment 156863 [details]
KDE-Yast2-Error on refreshin repositories
created own Bug 299532 - "yast2 software management - permanent pop-up for all relevant messages" Ladislav, looks like YaST doesn't show all error data it has from libzypp. Please check the place where this is used. (BTW, the bug caused the error is probably already fixed) String "Media Exception" is passed from libzypp in zypp::media::DownloadProgressReport.finish() callback. The details about the exception should be shown now. However, the shortening of the path will still happen. I suggest to put the repository name into the message - this is then a clear enhancement. The solution for 11.0 is IMO better, although it could still be improved. The problem is that zypp::media::DownloadProgressReport is a generic report triggered by the media backend whenever some file is downloaded.
We don't have any context information at that level, telling whether this download is part of a repo refresh or providing a package for installation or....
But now after reporting the media error, yast shows a summary telling which repo failed:
There was an error in the repository initialization.
'update-11.0': Valid metadata not found at specified URL(s)
History:
- SKIP reqest: User-requested skipping of a file
- File '/repodata/repomd.xml' not found on medium
'http://download.opensuse.org/update/11.0a'
|