artasparks / glift

Go Lightweight Frontend
MIT License
115 stars 33 forks source link

SGF parsing fails for some SGF files (created by CGoban3/KGS) #57

Closed artasparks closed 10 years ago

artasparks commented 10 years ago

There is garbage at the end of the file that looks like: ;W[km]C[This is also playable for both.]))) ]C[This is also playable for both. ])))

... notice the final line.

See this comment https://gogameguru.com/go-commentary-gu-li-vs-lee-sedol-jubango-game-6/#comment-9828

for these examples https://gogameguru.com/go-commentary-shi-yue-vs-lee-sedol-17th-lg-cup/ https://gogameguru.com/commentary-lee-changho-won-seongjin-fujitsu-cup/ https://gogameguru.com/commentary-park-younghun-lee-changho-12th-maxim-cup/ https://gogameguru.com/commentary-jiang-weijie-park-younghun-2nd-world-meijin/ https://gogameguru.com/go-commentary-kim-jiseok-xie-he-13th-nongshim-cup/ https://gogameguru.com/go-commentary-kim-miri-choi-jung-13th-female-myeongin/

artasparks commented 10 years ago

Fixed with 0.17.8