osc issues when building projects with special chars in name?
Hi! Trying to build a package from the "devel:libraries:c_c++" project fails with an error message that indicates that the Python code in osc has issues with the special characters in the project name: glaubitz@suse-laptop:~/suse/devel:libraries:c_c++/aws-c-common> osc build --no-verify --clean Building aws-c-common.spec for openSUSE_Factory/x86_64 Getting buildconfig from server and store to /home/glaubitz/suse/devel:libraries:c_c++/aws-c-common/.osc/_buildconfig-openSUSE_Factory-x86_64 Getting buildinfo from server and store to /home/glaubitz/suse/devel:libraries:c_c++/aws-c-common/.osc/_buildinfo-openSUSE_Factory-x86_64.xml Updating cache of required packages Traceback (most recent call last): File "/usr/bin/osc", line 45, in <module> r = babysitter.run(osccli) File "/usr/lib/python3.8/site-packages/osc/babysitter.py", line 69, in run return prg.main(argv) File "/usr/lib/python3.8/site-packages/osc/cmdln.py", line 347, in main return self.cmd(args) File "/usr/lib/python3.8/site-packages/osc/cmdln.py", line 370, in cmd retval = self.onecmd(argv) File "/usr/lib/python3.8/site-packages/osc/cmdln.py", line 504, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python3.8/site-packages/osc/cmdln.py", line 1235, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python3.8/site-packages/osc/commandline.py", line 6730, in do_build return osc.build.main(self.get_api_url(), opts, args) File "/usr/lib/python3.8/site-packages/osc/build.py", line 1074, in main fetcher.run(bi) File "/usr/lib/python3.8/site-packages/osc/fetch.py", line 210, in run i.makeurls(self.cachedir, urllist) File "/usr/lib/python3.8/site-packages/osc/build.py", line 291, in makeurls self.urllist.append(url % self.mp) ValueError: unsupported format character 'B' (0x42) at index 66 glaubitz@suse-laptop:~/suse/devel:libraries:c_c++/aws-c-common> Anyone seeing this issue as well? Adrian
On Friday 2022-02-04 10:38, John Paul Adrian Glaubitz wrote:
ValueError: unsupported format character 'B' (0x42) at index 66 glaubitz@suse-laptop:~/suse/devel:libraries:c_c++/aws-c-common>
On 2/4/22 10:41, Jan Engelhardt wrote:
On Friday 2022-02-04 10:38, John Paul Adrian Glaubitz wrote:
ValueError: unsupported format character 'B' (0x42) at index 66 glaubitz@suse-laptop:~/suse/devel:libraries:c_c++/aws-c-common>
Great, thank you for reporting this. I already ran into it a few weeks(?) ago but didn't get around to reporting yet. Adrian
Dne 04/02/2022 v 10:41 Jan Engelhardt napsal(a):
On Friday 2022-02-04 10:38, John Paul Adrian Glaubitz wrote:
ValueError: unsupported format character 'B' (0x42) at index 66 glaubitz@suse-laptop:~/suse/devel:libraries:c_c++/aws-c-common>
Which is actually a duplicate of mine https://github.com/openSUSE/osc/issues/965 Matěj -- https://matej.ceplovi.cz/blog/, Jabber: mcepl@ceplovi.cz GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 How many Bavarian Illuminati does it take to screw in a light bulb? Three: one to screw it in, and one to confuse the issue.
Hi, On 2022-02-04 12:06:12 +0100, Matěj Cepl wrote:
Dne 04/02/2022 v 10:41 Jan Engelhardt napsal(a):
On Friday 2022-02-04 10:38, John Paul Adrian Glaubitz wrote:
ValueError: unsupported format character 'B' (0x42) at index 66 glaubitz@suse-laptop:~/suse/devel:libraries:c_c++/aws-c-common>
Which is actually a duplicate of mine https://github.com/openSUSE/osc/issues/965
Yes... we should probably do a new osc release rather soonish. The only showstopper is currently [1] [2] (which can be worked around, of course). I'll think about it again if there is a nicer solution. Marcus [1] https://github.com/openSUSE/open-build-service/issues/12034 [2] https://github.com/openSUSE/osc/issues/989
participants (4)
-
Jan Engelhardt
-
John Paul Adrian Glaubitz
-
Marcus Hüwe
-
Matěj Cepl