Bug #16662
closedCentos8 python3 compat?
Description
I was getting this spurious traceback.
It can make a few problems, it seems to only come if a package doesn't exist. (don't you got a test for that? ;-)
E| n/a Config_Yum_fine_tuning Package state yum-plugin-post-t| Skipping method 'Package state' with key parameter 'yum-plugin-post-transaction-actions' since condition 'any.(!centos_8)' is not reached was not applicable
Traceback (most recent call last):
File "/var/rudder/cfengine-community/modules/packages/yum", line 438, in <module>
sys.exit(main())
File "/var/rudder/cfengine-community/modules/packages/yum", line 420, in main
return list_updates(True)
File "/var/rudder/cfengine-community/modules/packages/yum", line 146, in list_updates
line = lastline + line
TypeError: must be str, not bytes
Updated by Alexis Mousset almost 5 years ago
- Project changed from Rudder to 41
- Category changed from Techniques to Generic methods - Package Management
- Assignee set to Félix DALLIDET
Looks like a specific case broken with python3 indeed.
Updated by Alexis Mousset over 4 years ago
- Status changed from New to Resolved
Fixed in 6.0.4 and 6.0.5
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods - Package Management to Generic methods