Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
Re: [opensuse-buildservice] OSC command broken?
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Mon, 4 Nov 2019 15:28:00 +0100
  • Message-id: <20191104142800.ekjrecaubqpnlean@linux>
On 2019-11-03 09:18:19 +0100, Mathias Homann wrote:
I'm getting this python error when I try to link a package on the commandline:

lemmy@kumiko:~> osc linkpac multimedia:apps icecast home:lemmy04
Traceback (most recent call last):
File "/usr/bin/osc", line 41, in <module>
r =
File "/usr/lib/python3.6/site-packages/osc/", line 62, in run
return prg.main(argv)
File "/usr/lib/python3.6/site-packages/osc/", line 344, in main
return self.cmd(args)
File "/usr/lib/python3.6/site-packages/osc/", line 367, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python3.6/site-packages/osc/", line 501, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python3.6/site-packages/osc/", line 1232, in
return handler(argv[0], opts, *args)
File "/usr/lib/python3.6/site-packages/osc/", line 2874, in
link_pac(src_project, src_package, dst_project, dst_package, opts.force,
rev, opts.cicount, opts.disable_publish, opts.new_package, vrev)
File "/usr/lib/python3.6/site-packages/osc/", line 5145, in link_pac
root = ET.fromstring(''.join(dst_meta))
TypeError: sequence item 0: expected str instance, bytes found

Marco fixed it in commit 02207d719c40f5f9f3998fba11e2181646579885 ("fix
decoding for osc linkpac") [1].


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups