gafusion / harvest_client

C/C++ FORTRAN and PYTHON clients for HARVEST project
2 stars 0 forks source link

harvest_send fails for python3 #4

Closed smithsp closed 4 years ago

smithsp commented 4 years ago

I gave a bare:

harvest_send({'test':'Fail'}, table='test_harvest', verbose=True)

in OMFIT. It gave the error:

TypeError("a bytes-like object is required, not 'str'")

I think this is the cause of OMFIT usage appearing to drop after Jan 1, 2020.

orso82 commented 4 years ago

closed with f6f8484

smithsp commented 4 years ago

Thanks. I can confirm that this fixes the OMFIT stats uploading problem.