Comment 2 for bug 505078

Revision history for this message
Martin Pool (mbp) wrote : Re: crashes with "invalid literal for int() with base 16: ''" if linefeeds are missing from the file

The root cause of this is that the subunit protocol and implementation requires the file contain plan carriage returns in some places, and crlf in others. If you lose the linefeeds, you get this error.

In a sense this is user error: I copied the text from a terminal which lost the linefeeds. However requiring this seems to make things unnecessarily difficult for something that's meant to be a human-readable interchange format.