You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/bin/osc", line 33, in <module>
sys.exit(load_entry_point('osc==1.10.1', 'console_scripts', 'osc')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/babysitter.py", line 227, in main
sys.exit(run(commandline.OscMainCommand()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/babysitter.py", line 70, in run
prg.main(argv)
File "/usr/lib/python3.11/site-packages/osc/commandline.py", line 296, in main
exit_code = cmd.run(args)
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/commandline_common.py", line 214, in run
return cmd.run(args)
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/commandline.py", line 240, in run
return self.func(args.command, args, *args.positional_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/commandline.py", line 5104, in do_checkout
checkout_package(apiurl, project, package, rev, expand_link=expand_link,
File "/usr/lib/python3.11/site-packages/osc/core.py", line 3165, in checkout_package
scmsync_obsinfo = ScmsyncObsinfo.from_api(apiurl, project, package, rev=revision)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/obs_api/scmsync_obsinfo.py", line 56, in from_api
return cls.from_file(response)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/obs_api/scmsync_obsinfo.py", line 38, in from_file
return cls.from_string(data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/obs_api/scmsync_obsinfo.py", line 28, in from_string
return cls(**kwargs)
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/osc/util/models.py", line 405, in __init__
raise TypeError(
TypeError: The following fields of 'ScmsyncObsinfo' object are not initialized and have no default either: 'revision'
Expected behavior
Succeed; or tell the user how to add the "revision" field and what it should contain.
Versions
To Reproduce
Steps to reproduce the behavior:
osc co multimedia:libs/ffmpeg-5
Expected behavior
Succeed; or tell the user how to add the "revision" field and what it should contain.
Additional info
So apparently there is no
#branch
marker in the<scmsync>
line of the pkgmeta, but IMO it should just pull the default branch from git then.The text was updated successfully, but these errors were encountered: