Problem description
Reported on discord. Reproduced on my mac, looks like it's crashing in the log.flush for some reason.
from wpiutil import DataLogWriter
from wpiutil.log import IntegerLogEntry
log = DataLogWriter("something.wpilog")
e = IntegerLogEntry(log, "test")
e.append(5)
e.finish()
log.flush()
print("Done")
Operating System
MacOS
Installed Python Packages
Reproducible example code