-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
PS C:\Users\michael.katz\Documents\_scratch4> type .\epcra_tier2_data2.xml | ppxml
Traceback (most recent call last):
File "C:\Users\michael.katz\AppData\Local\Programs\Python\Python310\Scripts\ppxml-script.py", line 33, in <module>
sys.exit(load_entry_point('ppxml==0.1.0', 'console_scripts', 'ppxml')())
File "C:\Users\michael.katz\AppData\Local\Programs\Python\Python310\lib\site-packages\ppxml\__init__.py", line 44, in main
data = color_code(format_code(get_xml(data, args.xpath)))
File "C:\Users\michael.katz\AppData\Local\Programs\Python\Python310\lib\site-packages\ppxml\__init__.py", line 25, in get_xml
parser = etree.XMLParser(remove_blank_text=True, encoding=chardet.detect(xml)['encoding'])
File "C:\Users\michael.katz\AppData\Local\Programs\Python\Python310\lib\site-packages\chardet\__init__.py", line 36, in detect
raise TypeError('Expected object of type bytes or bytearray, got: '
TypeError: Expected object of type bytes or bytearray, got: <class 'str'>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels