[Bug 379519] New: Buildservice: osc submitreq show fails with " Diff not possible: HTTP Error 500: Internal Server Error "
https://bugzilla.novell.com/show_bug.cgi?id=379519 Summary: Buildservice: osc submitreq show fails with "Diff not possible: HTTP Error 500: Internal Server Error " Product: openSUSE 10.3 Version: Final Platform: i586 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: abauer@novell.com ReportedBy: richard.bos@xs4all.nl QAContact: qa@suse.de Found By: Other When executing: # osc submitreq show -d 46 The result is: Request to submit (id 46): home:rbos:branches:openSUSE:Factory/fetchmail -> openSUSE:Factory/fetchmail Source revision MD5: ac5ce1f77b611cdeb91e03484d684cca Message: 'Added feature request https://bugzilla.novell.com/show_bug.cgi?id=358351' State: new 2008-04-06T16:57:07 rbos Diff not possible: HTTP Error 500: Internal Server Error It used to work for me at 6 April 2008, after that the build service got updated [1] and this command stopped working. [1] This update required that the file ~/.osc_cookiejar must be removed. See also: https://bugzilla.novell.com/show_bug.cgi?id=358351#c8 The debug output obtained with -H (osc -H) will be attached to the this report. On request of Adrian Schroeter, this bugreport is created and assigned to abauer@..... -- 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=379519 User richard.bos@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c1 --- Comment #1 from Richard Bos <richard.bos@xs4all.nl> 2008-04-13 01:58:06 MST --- Created an attachment (id=207627) --> (https://bugzilla.novell.com/attachment.cgi?id=207627) osc -H submitreq show error output -- 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=379519 User richard.bos@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c2 Richard Bos <richard.bos@xs4all.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |poeml@novell.com --- Comment #2 from Richard Bos <richard.bos@xs4all.nl> 2008-04-21 16:03:36 MST --- Any idea when this problem might have been fixed? -- 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=379519 User abauer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c3 Andreas Bauer <abauer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Andreas Bauer <abauer@novell.com> 2008-04-25 05:17:26 MST --- yes, now. fixed in svn r3828, will hotfix on api.opensuse.org in a few minutes -- 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=379519 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c4 --- Comment #4 from Peter Poeml <poeml@novell.com> 2008-04-25 05:22:28 MST --- Cool! Works for me now! -- 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=379519 User richard.bos@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c5 Richard Bos <richard.bos@xs4all.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #5 from Richard Bos <richard.bos@xs4all.nl> 2008-04-25 13:41:02 MST --- Hi Adreas and Peter! I obtain a diff output this time as well, but.... is it correct? The diff states that lines have been removed instead of being added, which is what the patch actually does (the patch adds lines). Should a new bug be opened for this? The current output I get now is: ++++++ fetchmail.init --- fetchmail.init --- fetchmail.init @@ -109,8 +109,6 @@ rc_status ;; start) - [[ -n "$2" ]] && FETCHMAIL_POLLING_INTERVAL=$2 - .............. While it should be (this is output of "diff -u"): --- fetchmail.org 2008-02-02 19:01:57.000000000 +0100 +++ fetchmail 2008-02-02 19:09:57.000000000 +0100 @@ -109,6 +109,8 @@ rc_status ;; start) + [[ -n "$2" ]] && FETCHMAIL_POLLING_INTERVAL=$2 + .............. The new output start actually strange as it has 6 plusses and 2 --- lines, see above, is that expected? I have osc version: # rpm -q osc osc-0.99-101.1 Is this okay? Please, let me know what to do! (for clarity I reopened the fix, but I think that after answering this comment, you can safely put it back to resolved). -- 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=379519 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c6 --- Comment #6 from Peter Poeml <poeml@novell.com> 2008-04-28 03:32:11 MST --- Hm, the diff output indeed looks reversed. I'm looking at it right now. The diff output is in fact not real diff output, it is more a "pretty diff" which can go into tarballs, and is suitable for reviewing changes, more than for applying things as patch. -- 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=379519 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c7 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #7 from Peter Poeml <poeml@novell.com> 2008-04-28 03:40:57 MST --- This command does the diff in the correct direction: % osc rdiff --oldprj openSUSE:Factory --oldpkg fetchmail home:rbos:branches:openSUSE:Factory fetchmail The actual request with that is: POST https://api.opensuse.org/source/home:rbos:branches:openSUSE:Factory/fetchmail?opackage=fetchmail&oproject=openSUSE%3AFactory&cmd=diff But the request which is issued by 'submitreq show -d' POST https://api.opensuse.org/source/openSUSE:Factory/fetchmail?opackage=fetchmail&oproject=home%3Arbos%3Abranches%3AopenSUSE%3AFactory&cmd=diff&orev=ac5ce1f77b611cdeb91e03484d684cca I mixed up the arguments (regarding "old" vs. "new" ) in osc. It is fixed in svn with this commit: Index: osc/commandline.py =================================================================== --- osc/commandline.py (revision 3844) +++ osc/commandline.py (working copy) @@ -456,8 +456,8 @@ if opts.diff: try: print pretty_diff(conf.config['apiurl'], - r.src_project, r.src_package, r.src_md5, - r.dst_project, r.dst_package, None) + r.dst_project, r.dst_package, None, + r.src_project, r.src_package, r.src_md5) except urllib2.HTTPError, e: print >>sys.stderr, 'Diff not possible:', e With the fix, the URL becomes POST https://api.opensuse.org/source/home:rbos:branches:openSUSE:Factory/fetchmail?opackage=fetchmail&oproject=openSUSE%3AFactory&cmd=diff&rev=ac5ce1f77b611cdeb91e03484d684cca which is the same as for rdiff now, just with the additional rev parameter appended. -- 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