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
If there is a repo containing UTF-8 characters in it's description, the script fails with the following error:
Traceback (most recent call last):
File "./check_katello_sync.py", line 370, in <module>
main(options)
File "./check_katello_sync.py", line 355, in main
check_products()
File "./check_katello_sync.py", line 158, in check_products
check_product(product)
File "./check_katello_sync.py", line 106, in check_product
product["label"], product["description"], product["last_sync"][0:19]
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 322: ordinal not in range(128)
If there is a repo containing UTF-8 characters in it's description, the script fails with the following error:
This is caused by:
check_katello_sync/check_katello_sync.py
Lines 102 to 103 in 1c1e870
If this line is changed to the following, the script works again:
The text was updated successfully, but these errors were encountered: