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
mgr-sync reports "General error: can't set attribute" when run.
mgr-sync -v -d3 list channels
General error: can't set attribute
Traceback (most recent call last):
File "/usr/sbin/mgr-sync", line 27, in
sys.exit(MgrSync().run(options))
File "/usr/lib/python3.6/site-packages/spacewalk/susemanager/mgr_sync/mgr_sync.py", line 60, in init
self.config.port = 443
AttributeError: can't set attribute
This is a simple fix. It occurs because the port does not have a @port.setter defined in /usr/lib/python3.6/site-packages/spacewalk/susemanager/mgr_sync/config.py . For example, add the below to /usr/lib/python3.6/site-packages/spacewalk/susemanager/mgr_sync/config.py to fix:
Problem description
mgr-sync reports "General error: can't set attribute" when run.
mgr-sync -v -d3 list channels
General error: can't set attribute
Traceback (most recent call last):
File "/usr/sbin/mgr-sync", line 27, in
sys.exit(MgrSync().run(options))
File "/usr/lib/python3.6/site-packages/spacewalk/susemanager/mgr_sync/mgr_sync.py", line 60, in init
self.config.port = 443
AttributeError: can't set attribute
This was introduced in 5ba17e7
This is a simple fix. It occurs because the port does not have a @port.setter defined in /usr/lib/python3.6/site-packages/spacewalk/susemanager/mgr_sync/config.py . For example, add the below to /usr/lib/python3.6/site-packages/spacewalk/susemanager/mgr_sync/config.py to fix:
Steps to reproduce
...
Uyuni version
Uyuni proxy version (if used)
No response
Useful logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: