Comment # 33 on bug 1156501 from
(In reply to jun wang from comment #32)
> Created attachment 832176 [details]
> osc config for the test case
> 
> got a errer to run "osc ls" or "osc build" after updating osc to 0.167.2 on
> SLES15SP1.
> 
> test case:
> ==========================================================================
> 
> $ osc ls                                                                    
> 
> No user found in section https://api.opensuse.org
> Please enter new credentials.
> Username: jgwang
> Password: 
> 1) SecretService Keyring (Backend provided by python-keyring)
> 2) fail Keyring (Backend provided by python-keyring)
> 3) kwallet DBusKeyring (Backend provided by python-keyring)
> 4) kwallet DBusKeyringKWallet4 (Backend provided by python-keyring)
> 5) Config file credentials manager (Store the credentials in the config file
> (plain text))
> 6) Obfuscated Config file credentials manager (Store the credentials in the
> config file (obfuscated))
> 7) Transient password store (Do not store the password and always ask for
> the password)
> Select credentials manager: 7
> No user found in section https://api.suse.de
> Please enter new credentials.
> Username: jgwang
> Password: 
> 1) SecretService Keyring (Backend provided by python-keyring)
> 2) fail Keyring (Backend provided by python-keyring)
> 3) kwallet DBusKeyring (Backend provided by python-keyring)
> 4) kwallet DBusKeyringKWallet4 (Backend provided by python-keyring)
> 5) Config file credentials manager (Store the credentials in the config file
> (plain text))
> 6) Obfuscated Config file credentials manager (Store the credentials in the
> config file (obfuscated))
> 7) Transient password store (Do not store the password and always ask for
> the password)
> Select credentials manager: 7
> Traceback (most recent call last):
>   File "/usr/bin/osc", line 41, in <module>
>     r = babysitter.run(osccli)
>   File "/usr/lib/python3.6/site-packages/osc/babysitter.py", line 62, in run
>     return prg.main(argv)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 344, in main
>     return self.cmd(args)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 367, in cmd
>     retval = self.onecmd(argv)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 501, in onecmd
>     return self._dispatch_cmd(handler, argv)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 1232, in
> _dispatch_cmd
>     return handler(argv[0], opts, *args)
>   File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 418, in
> do_list
>     for prj in meta_get_project_list(apiurl, opts.deleted):
>   File "/usr/lib/python3.6/site-packages/osc/core.py", line 3490, in
> meta_get_project_list
>     u = makeurl(apiurl, ['source'], query)
>   File "/usr/lib/python3.6/site-packages/osc/core.py", line 3307, in makeurl
>     if conf.config['verbose'] > 1:
> TypeError: '>' not supported between instances of 'str' and 'int'
> 
> 
> 
> 
> $ osc -A extern build --download-api-only --root
> /abuild/oscbuild/openSUSE_Leap_15.1 openSUSE_Leap_15.1 --local-package
> No user found in section https://api.opensuse.org
> Please enter new credentials.
> Username: jgwang
> Password:
> 1) SecretService Keyring (Backend provided by python-keyring)
> 2) fail Keyring (Backend provided by python-keyring)
> 3) kwallet DBusKeyring (Backend provided by python-keyring)
> 4) kwallet DBusKeyringKWallet4 (Backend provided by python-keyring)
> 5) Config file credentials manager (Store the credentials in the config file
> (plain text))
> 6) Obfuscated Config file credentials manager (Store the credentials in the
> config file (obfuscated))
> 7) Transient password store (Do not store the password and always ask for
> the password)
> Select credentials manager: 7
> No user found in section https://api.suse.de
> Please enter new credentials.
> Username: jgwang
> Password:
> 1) SecretService Keyring (Backend provided by python-keyring)
> 2) fail Keyring (Backend provided by python-keyring)
> 3) kwallet DBusKeyring (Backend provided by python-keyring)
> 4) kwallet DBusKeyringKWallet4 (Backend provided by python-keyring)
> 5) Config file credentials manager (Store the credentials in the config file
> (plain text))
> 6) Obfuscated Config file credentials manager (Store the credentials in the
> config file (obfuscated))
> 7) Transient password store (Do not store the password and always ask for
> the password)
> Select credentials manager: 7
> Traceback (most recent call last):
>   File "/usr/bin/osc", line 41, in <module>
>     r = babysitter.run(osccli)
>   File "/usr/lib/python3.6/site-packages/osc/babysitter.py", line 62, in run
>     return prg.main(argv)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 344, in main
>     return self.cmd(args)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 367, in cmd
>     retval = self.onecmd(argv)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 501, in onecmd
>     return self._dispatch_cmd(handler, argv)
>   File "/usr/lib/python3.6/site-packages/osc/cmdln.py", line 1232, in
> _dispatch_cmd
>     return handler(argv[0], opts, *args)
>   File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 6479, in
> do_build
>     args = self.parse_repoarchdescr(args, opts.noinit or opts.offline,
> opts.alternative_project, False, opts.vm_type, opts.multibuild_package)
>   File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 6142, in
> parse_repoarchdescr
>     repositories = list(get_repos_of_project(apiurl, project))
>   File "/usr/lib/python3.6/site-packages/osc/core.py", line 5665, in
> get_repos_of_project
>     f = show_project_meta(apiurl, prj)
>   File "/usr/lib/python3.6/site-packages/osc/core.py", line 3518, in
> show_project_meta
>     url = makeurl(apiurl, ['source', prj, '_meta'])
>   File "/usr/lib/python3.6/site-packages/osc/core.py", line 3307, in makeurl
>     if conf.config['verbose'] > 1:
> TypeError: '>' not supported between instances of 'str' and 'int'
> 
> 
> howerver, running the above commands again, they both work well.
> based on the above error, I think this bug was NOT fixed completely.

This has nothing to do with the original bug. 
Please open a new bug.


You are receiving this mail because: