[opensuse-buildservice] osc commit error
Hello. I got an error uploading content to the OBS. % osc ci -m "remove unneeded buildrequirement" Traceback (most recent call last): 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 4382, in do_commit if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 4382, in <genexpr> if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib/python2.7/site-packages/osc/core.py", line 1568, in is_link_to_different_project orgprj = self.get_local_origin_project() File "/usr/lib/python2.7/site-packages/osc/core.py", line 1563, in get_local_origin_project root = ET.fromstring(self.get_local_meta()) File "<string>", line 124, in XML TypeError: must be string or read-only buffer, not None % rpm -q osc osc-0.144.1-128.1.noarch Installed from openSUSE:Tools. openSUSE Factory, x86_64. -- WBR Kyrill
On 2014-03-14 20:42:11 +0400, Kyrill Detinov wrote:
% osc ci -m "remove unneeded buildrequirement" Traceback (most recent call last): 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 4382, in do_commit if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 4382, in <genexpr> if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib/python2.7/site-packages/osc/core.py", line 1568, in is_link_to_different_project orgprj = self.get_local_origin_project() File "/usr/lib/python2.7/site-packages/osc/core.py", line 1563, in get_local_origin_project root = ET.fromstring(self.get_local_meta()) File "<string>", line 124, in XML TypeError: must be string or read-only buffer, not None
This is already fixed in git master (commit 6469efb9eded4d378fa9282dd9cc447f11bf2b97). The package in the devel:tools:scm repo should have this change. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Kyrill Detinov
-
Marcus Hüwe