Closed jyn514 closed 6 years ago
That's right. Another GSoC student ran into the same thing. uproot branch names are bytes
(because ROOT files have no encoding) and OAMap hasn't been made aware of that.
It is a real bug, but for now just use Python 2. (Sorry!)
Tried changing basestring = str
to basestring = (bytes, str)
, but then I got TypeError: a bytes-like object is required, not 'str'
. Going to run if isinstance(input, str): str = input.encode()
on all the relevant functions to keep python3 compat.
No longer relevant; that part of the code is gone and will be rewritten (with better Python 3 hygene in mind!).
Ran into this while doing the problems for GSOC. I think the problem is that the library is not compatible with Python3 unicode strings, but I may be wrong.
Traceback