Bugzilla – Bug 1226333
targetcli fails with error: name 'glob' is not defined
Last modified: 2024-07-01 15:52:31 UTC
After the latest update of python311-rtslib-fb python-rtslib-fb-common the targetcli command (from python311-targetcli-fb) fails with error: name 'glob' is not defined Culprit is apparently: rtslib-refactor-to-python3.patch Reverting that patch make targetcli work again.
I'm having the same issue. I tried adding glob into fabric.py and I got pass the glob issue but then it gave the following error: File "/usr/lib/python3.11/site-packages/rtslib_fb/fabric.py", line 490, in __init__ super.__init__('vhost') TypeError: descriptor '__init__' requires a 'super' object but received a 'str'
Your analysis is correct. This is already fixed, though, in factory rtslib, for tumbleweed. I verified last Friday. Marking this as a duplicate of bsc#1226388. *** This bug has been marked as a duplicate of bug 1226388 ***