Bug ID 1222614
Summary osc No module named 'osc.connection'
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.6
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter lubos.kocman@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

lkocman@localhost:~/Workspace/obs/home:lkocman:branches:openSUSE:Leap:15.6/branding-openSUSE>
sudo zypper in osc-plugin-staging
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Warning: Repository 'update-non-oss (15.6)' metadata expired since 2023-09-21
14:47:58 CEST.

    Warning: Repository metadata expired: Check if 'autorefresh' is turned on
(zypper lr), otherwise
    manually refresh the repository (zypper ref). If this does not solve the
issue, it could be that
    you are using a broken mirror or the server has actually discontinued to
support the repository.

Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  osc-plugin-staging

1 new package to install.
Overall download size: 268.6 KiB. Already cached: 0 B. After the operation,
additional 25.3 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: osc-plugin-staging-20230928.864b176-bp156.1.1.noarch (repo-oss
(15.6))                                                                        
                                              (1/1), 268.6 KiB    
Retrieving: osc-plugin-staging-20230928.864b176-bp156.1.1.noarch.rpm
......................................................................................................................................[done
(1.3 MiB/s)]

Checking for file conflicts:
..........................................................................................................................................................................................[done]
(1/1) Installing: osc-plugin-staging-20230928.864b176-bp156.1.1.noarch
................................................................................................................................................[done]
lkocman@localhost:~/Workspace/obs/home:lkocman:branches:openSUSE:Leap:15.6/branding-openSUSE>
ls
branding-leap-15.6.zip  branding-openSUSE.changes  branding-openSUSE.spec
lkocman@localhost:~/Workspace/obs/home:lkocman:branches:openSUSE:Leap:15.6/branding-openSUSE>
sudo su - lkocman-factory
lkocman-factory@localhost:~> osc staging -p openSUSE:Leap:15.6 adi
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 9583, 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 11, in <module>
    from osclib.core import attribute_value_save, attribute_value_load
  File "/usr/lib/osc-plugins/osclib/core.py", line 20, in <module>
    from osc.connection import http_DELETE
ModuleNotFoundError: No module named 'osc.connection'

/usr/lib/osc-plugins/osc-staging.py: No module named 'osc.connection'

 Try 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'


You are receiving this mail because: