Mailinglist Archive: opensuse-bugs (4037 mails)

< Previous Next >
[Bug 710302] New: "osc service run" crash
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 4 Aug 2011 09:57:57 +0000
  • Message-id: <>

Summary: "osc service run" crash
Classification: Internal Novell Products
Product: openSUSE Build Service
Version: master
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: osc
AssignedTo: adrian@xxxxxxxxxx
ReportedBy: cmorve69@xxxxxxxx
QAContact: adrian@xxxxxxxxxx
Found By: Community User
Blocker: ---

Most of my packages in home:RedDwarf included a _service file. Now I added some
project-wide services

<service name="format_spec_file" mode="trylocal"/>
<service name="download_files" mode="trylocal"/>
<service name="source_validator" mode="trylocal"/>

and want to stop using the _service file (osc rm _service). The problem is that
when I want to run the services or checkin the package I get a crash
complaining about the missing _service file:

$ osc ci -m "Test"
Traceback (most recent call last):
File "/usr/bin/osc", line 21, in <module>
r =
File "/usr/lib/python2.7/site-packages/osc/", line 52, in run
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/", line 310, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/", line 333, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/", line 1179, in
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/", line 3746, in
prj.commit(packages, validators_dir=validators, msg=msg, files=files,
skip_local_service_run=opts.skip_local_service_run, verbose=opts.verbose)
File "/usr/lib/python2.7/site-packages/osc/", line 770, in commit
p.commit(msg, validators_dir=validators_dir, verbose=verbose,
File "/usr/lib/python2.7/site-packages/osc/", line 1219, in commit
r = self.run_source_services(mode="trylocal", verbose=verbose)
File "/usr/lib/python2.7/site-packages/osc/", line 2067, in
service = ET.parse(os.path.join(self.absdir, '_service')).getroot()
File "<string>", line 56, in parse
File "<string>", line 25, in parse
IOError: [Errno 2] No such file or directory:

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups