前几天第一次用OBS打包,照葫芦画瓢成功一次以后发现可能的不规范我的包里都出现了,于是就开始改。删除源码包放上_service文件、修改spec以后OBS网页上突然出来了这么一段
Files could not be expanded: service daemon error:
400 remote error: Error
换osc,commit的时候又出来一段
File "/usr/bin/osc", line 26, in <module>
r = babysitter.run(osccli)
File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 60, in run
return prg.main(argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 343, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 366, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 484, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1214, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 4244, in do_commit
prj.commit(packages, msg=msg, files=files, skip_local_service_run=skip_local_service_run, verbose=opts.verbose)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 878, in commit
p.commit(msg, verbose=verbose, skip_local_service_run=skip_local_service_run)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 1306, in commit
r = self.run_source_services(mode="trylocal", verbose=verbose)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 2148, in run_source_services
service = ET.parse(os.path.join(self.absdir, '_service')).getroot()
File "<string>", line 62, in parse
File "<string>", line 38, in parse
cElementTree.ParseError: junk after document element: line 5, column 0
查看记录,web出错以后就没有commit了。请问论坛里面有人能看一下是怎么回事么
系统是13.1 64bit,改过的spec和_service在附件里
patch.tar.gz (10 KB)