[opensuse-buildservice] osc broken: TypeError: feed() argument 1 must be string or read-only buffer, not None
With current osc I get the following backtrace on commit: 'osc -A https://api.suse.de commit -m pkg vm-install svn_rev 6532 from 2014-03-03 17:26:44 +0000 vm-install metadata/last_svnrev.vm-install.txt' returned 1 commit failed, reset svn rev Traceback (most recent call last): File "/usr/bin/osc", line 26, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 60, in run return prg.main(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 343, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 366, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 484, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1214, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4382, in do_commit if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4382, in <genexpr> if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1568, in is_link_to_different_project orgprj = self.get_local_origin_project() File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1563, in get_local_origin_project root = ET.fromstring(self.get_local_meta()) File "<string>", line 85, in XML TypeError: feed() argument 1 must be string or read-only buffer, not None This is on bax, sles11sp3. Looks like its broken since many days already, at least since last Friday. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
The same as mine:
http://lists.opensuse.org/opensuse-buildservice/2014-03/msg00001.html
There are no such problems with osc < 0.144.
Olaf Hering
With current osc I get the following backtrace on commit:
'osc -A https://api.suse.de commit -m pkg vm-install svn_rev 6532 from 2014-03-03 17:26:44 +0000 vm-install metadata/last_svnrev.vm-install.txt' returned 1 commit failed, reset svn rev Traceback (most recent call last): File "/usr/bin/osc", line 26, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 60, in run return prg.main(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 343, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 366, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 484, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1214, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4382, in do_commit if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4382, in <genexpr> if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1568, in is_link_to_different_project orgprj = self.get_local_origin_project() File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1563, in get_local_origin_project root = ET.fromstring(self.get_local_meta()) File "<string>", line 85, in XML TypeError: feed() argument 1 must be string or read-only buffer, not None
This is on bax, sles11sp3. Looks like its broken since many days already, at least since last Friday.
Olaf
-- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Mar 05, Dmitriy Perlow wrote:
The same as mine: http://lists.opensuse.org/opensuse-buildservice/2014-03/msg00001.html There are no such problems with osc < 0.144.
Forcing a fresh checkout everytime is cumbersome, but happend to work for me. Thanks. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2014-03-06 08:53:02 +0100, Olaf Hering wrote:
On Wed, Mar 05, Dmitriy Perlow wrote:
The same as mine: http://lists.opensuse.org/opensuse-buildservice/2014-03/msg00001.html There are no such problems with osc < 0.144.
Forcing a fresh checkout everytime is cumbersome, but happend to work for me. Thanks.
I just pushed a workaround for it to git master. The mentioned error should only occur if you checked out the package with some quite "old" osc version. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 03/06/2014 09:58 AM, Marcus Hüwe wrote:
On 2014-03-06 08:53:02 +0100, Olaf Hering wrote:
On Wed, Mar 05, Dmitriy Perlow wrote:
The same as mine: http://lists.opensuse.org/opensuse-buildservice/2014-03/msg00001.html There are no such problems with osc < 0.144.
Forcing a fresh checkout everytime is cumbersome, but happend to work for me. Thanks.
I just pushed a workaround for it to git master. The mentioned error should only occur if you checked out the package with some quite "old" osc version.
Oh. So old osd do not create in the store container the _meta?
Marcus
-- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2014-03-06 10:02:37 +0100, Alberto Planas Dominguez wrote:
On 03/06/2014 09:58 AM, Marcus Hüwe wrote:
On 2014-03-06 08:53:02 +0100, Olaf Hering wrote:
On Wed, Mar 05, Dmitriy Perlow wrote:
The same as mine: http://lists.opensuse.org/opensuse-buildservice/2014-03/msg00001.html There are no such problems with osc < 0.144.
Forcing a fresh checkout everytime is cumbersome, but happend to work for me. Thanks.
I just pushed a workaround for it to git master. The mentioned error should only occur if you checked out the package with some quite "old" osc version.
Oh. So old osd do not create in the store container the _meta?
Either some very old osc version was used for checking out the package or the package was added via "osc mkpac". The latter is a bug in osc that I fixed in commit 720c685868e8f76ccdf86685a0239267faa0bfbd. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
How do I link to a specifc external pkg revision? With 'ls' I see an old pkg version, but linking to that revision gives the current source state: obs ls -lR 146 openSUSE:Tools osc shows osc-0.140.1.tar.gz But this _link builds the top revision: <link project="openSUSE.org:openSUSE:Tools" cicount="copy" rev="146"> </link> The same syntax appears to work ok when linking to another internal project (kernel-source in this case): <link project="Devel:Kernel:SLE12" rev="535" cicount="copy"></link> Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Olaf Hering
How do I link to a specifc external pkg revision?
osc setlinkrev Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Mar 06, Andreas Schwab wrote:
Olaf Hering
writes: How do I link to a specifc external pkg revision?
osc setlinkrev
Yes, that one appears to be broken as well. -R 146 turns link into <link cicount="copy" project="openSUSE.org:openSUSE:Tools" rev="9670af2122cae9ed1f91fa12022d5834" vrev="108"> Not sure what source revision its supposed to be, at least osc log does not know about it. And osc up -e just gives the top revision. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Olaf Hering
On Thu, Mar 06, Andreas Schwab wrote:
Olaf Hering
writes: How do I link to a specifc external pkg revision?
osc setlinkrev
Yes, that one appears to be broken as well. -R 146 turns link into
??? You want to use -r 146. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 03/05/2014 04:47 PM, Olaf Hering wrote:
With current osc I get the following backtrace on commit:
'osc -A https://api.suse.de commit -m pkg vm-install svn_rev 6532 from 2014-03-03 17:26:44 +0000 vm-install metadata/last_svnrev.vm-install.txt' returned 1 commit failed, reset svn rev Traceback (most recent call last): File "/usr/bin/osc", line 26, in <module> r = babysitter.run(osccli) File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 60, in run return prg.main(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 343, in main return self.cmd(args) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 366, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 484, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1214, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4382, in do_commit if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 4382, in <genexpr> if any(pac.is_link_to_different_project() for pac in pacs): File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1568, in is_link_to_different_project orgprj = self.get_local_origin_project() File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1563, in get_local_origin_project root = ET.fromstring(self.get_local_meta()) File "<string>", line 85, in XML TypeError: feed() argument 1 must be string or read-only buffer, not None
I am the one to blame here, because this is part of a commit that I made the past week. Looks like that osc can't read the local _meta for the project. I am investigating how to reproduce it and submit a patch.
This is on bax, sles11sp3. Looks like its broken since many days already, at least since last Friday.
Olaf
-- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Alberto Planas Dominguez
-
Andreas Schwab
-
Dmitriy Perlow
-
Marcus Hüwe
-
Olaf Hering