Failing to remove config data on Gatekeeper

32 views
Skip to first unread message

cashxx

unread,
Aug 20, 2019, 11:39:14 AM8/20/19
to reposado
Anyone having issues removing config data from Gatekeeper?   I tried to purge and re-sync but keep getting the errors below.


Keep getting the followiing:
server1:code root# ./repoutil --products | grep Gatekeeper
031-12170       Gatekeeper Configuration Data                      1.0        2015-02-09 []
031-59675       Gatekeeper Disk Image Configuration Data           7.0        2016-09-01 []
091-86646       Gatekeeper Configuration Data                      140        2018-06-01 []
061-01010       Gatekeeper Configuration Data                      179        2019-08-19 []
server1:code root# ./repoutil --remove-config-data 061-01010
Traceback (most recent call last):
  File "./repoutil", line 740, in <module>
    main()
  File "./repoutil", line 736, in main
    remove_config_data(params)
  File "./repoutil", line 613, in remove_config_data
    reposadocommon.remove_config_data_attribute(product_ids)
  File "/Volumes/Storage/reposado/reposado/code/reposadolib/reposadocommon.py", line 522, in remove_config_data_attribute
    check_or_remove_config_data_attribute(product_list, remove_attr=True)
  File "/Volumes/Storage/reposado/reposado/code/reposadolib/reposadocommon.py", line 564, in check_or_remove_config_data_attribute
    writeXMLtoFile(dom, distPath)
  File "/Volumes/Storage/reposado/reposado/code/reposadolib/reposadocommon.py", line 514, in writeXMLtoFile
    print >> fileobject, xml_string
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5894-5896: ordinal not in range(128)
server1:code root#

Thanks,

Dan

cashxx

unread,
Sep 5, 2019, 2:49:20 PM9/5/19
to reposado
Been broke for a few weeks over the last two releases of the GateKeeper Config data being released.  I tried again yesterday and it removed it like normal.  Nothing changed, so not sure.
Reply all
Reply to author
Forward
0 new messages