[Bug 462869] New: osc updatepacmetafromspec fails if %description is starting with newline
https://bugzilla.novell.com/show_bug.cgi?id=462869 Summary: osc updatepacmetafromspec fails if %description is starting with newline Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mstopka@opensuse.org QAContact: adrian@novell.com Found By: --- Hi, I had one specfile with description section like this: %description QGameX is a tool for launching games, optionally in a separate X11 session. It has a configuration GUI (Qt 4), which is used for profile generation by setting certain options (see screenshots). The game itself can be simply run later by PROFILE=myprofile qgamex game-command game-args. Authors: -------- Luboš Doležel and osc failed with this trackback: Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 40, in run return prg.main() File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 256, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 279, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 395, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1070, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 929, in do_updatepacmetafromspec p.read_meta_from_spec(specfile) File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1051, in read_meta_from_spec data = read_meta_from_spec(specfile, 'Summary', 'Url', '%description') File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1865, in read_meta_from_spec start = lines.index(m.group()) + 1 ValueError: list.index(x): x not in list After that I tried it with that first clear line removed and everything is fine. -- 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=462869 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462869#c1 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aorlovskyy@novell.com Status|NEW |NEEDINFO Info Provider| |mstopka@opensuse.org --- Comment #1 from Alexander Orlovskyy <aorlovskyy@novell.com> 2009-01-07 06:52:15 MST --- Please, describe where exactly you have removed a line. -- 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=462869 User mstopka@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=462869#c2 Marek Stopka <mstopka@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mstopka@opensuse.org | --- Comment #2 from Marek Stopka <mstopka@opensuse.org> 2009-01-07 06:57:21 MST --- Right after %description I mean if we have %description some description I have to change it to %description some description I hope this helped. -- 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=462869 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=462869#c3 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |poeml@novell.com --- Comment #3 from Alexander Orlovskyy <aorlovskyy@novell.com> 2009-01-07 07:15:45 MST --- Peter can you look at the bug? -- 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=462869 User suse-tux@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=462869#c4 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-tux@gmx.de Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Marcus Hüwe <suse-tux@gmx.de> 2009-01-09 04:06:26 MST --- I just committed a fix (r5994). -- 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