Red Hat Bugzilla – Bug 1019329
traceback on No such file or directory: '/usr/lib/python2.7/site-packages/kobo/client/default.conf'
Last modified: 2018-02-05 19:41:31 EST
Description of problem:
Trying to submit a test, bkr command fails with traceback, see below.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. check out some test, re-tag it
2. make bkradd
Traceback (most recent call last):
File "/usr/bin/bkr", line 9, in <module>
load_entry_point('bkr.client==0.14.1', 'console_scripts', 'bkr')()
File "/usr/lib/python2.7/site-packages/bkr/client/main.py", line 50, in main
return cmd.run(*cmd_args, **cmd_opts.__dict__)
File "/usr/lib/python2.7/site-packages/bkr/client/commands/cmd_task_add.py", line 68, in run
File "/usr/lib/python2.7/site-packages/bkr/client/__init__.py", line 34, in set_hub
File "/usr/lib/python2.7/site-packages/kobo/client/__init__.py", line 113, in set_hub
self.hub = HubProxy(conf=self.conf)
File "/usr/lib/python2.7/site-packages/kobo/client/__init__.py", line 142, in __init__
File "/usr/lib/python2.7/site-packages/kobo/conf.py", line 117, in load_from_file
fo = open(file_name, "r")
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/kobo/client/default.conf'
Exception AttributeError: AttributeError("'HubProxy' object has no attribute '_transport'",) in <bound method HubProxy.__del__ of <kobo.client.HubProxy object at 0x7fee052f77d0>> ignored
make: *** [bkradd] Error 1
no such error
I have kobo-client-0.4.0-1.fc19.noarch installed and it does not provide the file, seems it got removed since kobo-client-0.3.8-1.fc19.noarch ... I'm no Python expert, seems more like a kobo problem to me, but it is bkr which fails for me, so reporting for Beaker, feel free to reassign ...
stupid search, sorry for the noise
*** This bug has been marked as a duplicate of bug 990016 ***
I was about to suggest trying "yum install --enablerepo updates-testing" to install kobo-client-0.4.1, but I see you already found that: https://admin.fedoraproject.org/updates/kobo-0.4.1-1.fc19 :)