Bug ID | 1204445 |
---|---|
Summary | osc is broken since last update |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.3 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | screening-team-bugs@suse.de |
Reporter | ada.lovelace@gmx.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
I wanted to checkout a repository on my old Leap system. The last update of osc
has broken osc. You can not checkout or anything else any more.
kriesch@linux-yscv:~/home:AdaLovelace> osc bsc python-lupa
> pruning cache
> pruned 0 files comprised of 0 bytes
Traceback (most recent call last):
File "/usr/bin/osc", line 43, in <module>
osccli = commandline.Osc()
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 92, in
__init__
self._load_plugins()
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 9604, in
_load_plugins
mod = imp.load_source(modname, os.path.join(plugin_dir, extfile))
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/osc-plugins/osc-staging.py", line 17, in <module>
from osclib.accept_command import AcceptCommand
File "/usr/lib/osc-plugins/osclib/accept_command.py", line 14, in <module>
from osclib.pkglistgen_comments import PkglistComments
File "/usr/lib/osc-plugins/osclib/pkglistgen_comments.py", line 48, in
<module>
class PkglistComments:
File "/usr/lib/osc-plugins/osclib/pkglistgen_comments.py", line 168, in
PkglistComments
def is_approved(self, comment, comments: dict) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
skriesch@linux-yscv:~/home:AdaLovelace:branches:devel:languages:misc> osc bco
python-lupa
Traceback (most recent call last):
File "/usr/bin/osc", line 43, in <module>
osccli = commandline.Osc()
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 92, in
__init__
self._load_plugins()
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 9604, in
_load_plugins
mod = imp.load_source(modname, os.path.join(plugin_dir, extfile))
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/osc-plugins/osc-staging.py", line 17, in <module>
from osclib.accept_command import AcceptCommand
File "/usr/lib/osc-plugins/osclib/accept_command.py", line 14, in <module>
from osclib.pkglistgen_comments import PkglistComments
File "/usr/lib/osc-plugins/osclib/pkglistgen_comments.py", line 48, in
<module>
class PkglistComments:
File "/usr/lib/osc-plugins/osclib/pkglistgen_comments.py", line 168, in
PkglistComments
def is_approved(self, comment, comments: dict) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
skriesch@linux-yscv:~> osc co openSUSE:Factory:zSystems/python-lupa
Traceback (most recent call last):
File "/usr/bin/osc", line 43, in <module>
osccli = commandline.Osc()
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 92, in
__init__
self._load_plugins()
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 9604, in
_load_plugins
mod = imp.load_source(modname, os.path.join(plugin_dir, extfile))
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/osc-plugins/osc-staging.py", line 17, in <module>
from osclib.accept_command import AcceptCommand
File "/usr/lib/osc-plugins/osclib/accept_command.py", line 14, in <module>
from osclib.pkglistgen_comments import PkglistComments
File "/usr/lib/osc-plugins/osclib/pkglistgen_comments.py", line 48, in
<module>
class PkglistComments:
File "/usr/lib/osc-plugins/osclib/pkglistgen_comments.py", line 168, in
PkglistComments
def is_approved(self, comment, comments: dict) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'