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: <bug-710302-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=710302

https://bugzilla.novell.com/show_bug.cgi?id=710302#c0


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

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

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 = babysitter.run(osccli)
File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 52, in run
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 310, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 333, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1179, in
_dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3746, in
do_commit
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/core.py", line 770, in commit
p.commit(msg, validators_dir=validators_dir, verbose=verbose,
skip_local_service_run=skip_local_service_run)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 1219, in commit
r = self.run_source_services(mode="trylocal", verbose=verbose)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 2067, in
run_source_services
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:
'/home/reddwarf/OBS/home:RedDwarf/gecko-mediaplayer/_service'

--
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.

< Previous Next >
Follow Ups