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.