[Bug 395328] New: yast package installation: error popup only says "WRONG" for Show Details
https://bugzilla.novell.com/show_bug.cgi?id=395328 Summary: yast package installation: error popup only says "WRONG" for Show Details Product: openSUSE 11.0 Version: Beta 3plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: lslezak@novell.com ReportedBy: mvidner@novell.com QAContact: jsrain@novell.com Found By: --- Created an attachment (id=218810) --> (https://bugzilla.novell.com/attachment.cgi?id=218810) y2logs.tar.bz2 I got an error when trying to install packages using yast2-qt: Cannot access installation medium Main Repository (OSS) (Medium 1) Check that the server is available URL: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ Details: WRONG It works after Retry so I assume the originating problem is the same as in bug 393940. In this report, my concern is that it should say something more meaningful in the details box. I have already updated some packages after B3+, and the versions are: libzypp-4.25.0-3 yast2-packager-2.16.50-2 yast2-pkg-bindings-2.16.37-2 yast2-qt-pkg-2.16.44-3 yast2-qt-2.16.49-2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=395328#c1 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |jkupec@novell.com Component|YaST2 |libzypp --- Comment #1 from Ladislav Slezak <lslezak@novell.com> 2008-05-29 05:09:10 MDT --- 2008-05-29 09:50:56 <1> totoro(27536) [YCP] PackageCallbacks.ycp:699 MediaChange error: err'WRONG:WRONG', url'http://download.o pensuse.org/distribution/SL-OSS-factory/inst-source/', prd'Main Repository (OSS)', cur'0'/'', wan'1'/'', devs: [], curr_dev: 0 the first "WRONG" is an error code (zypp::media::MediaChangeReport::Error), that's OK, but the second "WRONG" should be a textual description. The string comes directly from libzypp. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=395328#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lslezak@novell.com --- Comment #2 from Ján Kupec <jkupec@novell.com> 2008-05-29 08:32:58 MDT --- I guess Martin is right about the origin of this being bug 393940. So my question is what variable from the requestMedia() callback does contain the wrong "WRONG" text? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=395328#c3 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lslezak@novell.com | --- Comment #3 from Ladislav Slezak <lslezak@novell.com> 2008-06-02 08:27:16 MDT ---
From zypp::media::MediaChangeReport :
virtual Action requestMedia( Url & /* url (I/O parameter) */ , unsigned /*mediumNr*/ , const std::string & /* label */ , Error /*error*/ , const std::string & /*description*/ , const std::vector<std::string> & /* devices */ , unsigned int & /* dev_current (I/O param) */ ) { return ABORT; } Variable 'description' contains the wrong text. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=395328#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olh@novell.com --- Comment #4 from Ján Kupec <jkupec@novell.com> 2008-06-02 09:02:46 MDT --- *** Bug 392412 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=392412 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jkupec@novell.com |lslezak@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=395328#c5 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Ladislav Slezak <lslezak@novell.com> 2008-06-03 07:38:24 MDT --- The fix is really simple: - string ret = PackageCallbacks::MediaChange(error_code, error_code, url, product, current, current_label, wanted, + string ret = PackageCallbacks::MediaChange(error_code, error, url, product, current, current_label, wanted, Thanks Martin for the help with debugging! Submitted in yast2-packager-2.16.53. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=395328 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=395328#c6 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com Component|libzypp |YaST2 --- Comment #6 from Ladislav Slezak <lslezak@novell.com> 2008-06-03 07:58:05 MDT --- Coolo, I just have submitted the new package to STABLE, the fix is really trivial (see the previous comment) and should go to 11.0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com