문제

My changes file has grown to a considerably large sum and im in need to condense it so as to continue smoothly. (Smalltalk condenseChanges) But when i do this i am getting an error "Invalid utf8 input detected". What should i do? I did not find adequate solution upon googling. Any suggestion is much appreciated.

Thanks in Advance.

도움이 되었습니까?

해결책

This is an old bug with many reports For example: see http://code.google.com/p/pharo/issues/detail?id=830#c2

Check if StandardFileStream is still in use in your image, specifically in the condenseChanges phase. If yes replace it with FileStream (or MultiByteFileStream, I don't remember), retry a condenseChanges (I hope you saved a working copy of the image/changes pair) and see if it fixes the problem.

Normally, this should have been fixed in recent versions of Pharo, but since there are so many reports of the same bug, I did not took time to dig into the new bugtracker, nor into current development branch.

다른 팁

Simply don't use #condenseChanges. As Uko says, save your code, get a fresh image and load your code there. Unless you are doing something special there are more reasons to use a fresh image every once in a while than not (I use a new image every couple of days).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top