lazy icon indicating copy to clipboard operation
lazy copied to clipboard

Handler threw End of file in sentence 0

Open anglil opened this issue 8 years ago • 2 comments

I formatted the file fed to the decoder the way it is instructed, i.e., two numbers in the first line followed by edges in enumeration. The weird thing is the decoder would tell me Handler threw End of file in sentence 0 whereas if I vim into the file and change nothing and vim out, and run the decoder, the decoder would output some meaningful result. I haven't found a way to work around this without manual intrusion into the file.

anglil avatar Feb 02 '17 07:02 anglil

Does your file end with a newline? And use UNIX newlines?

kpu avatar Feb 02 '17 10:02 kpu

It works now. They are UNIX newlines. But I missed the newline at the file end. Thanks!

anglil avatar Feb 02 '17 19:02 anglil