Squot icon indicating copy to clipboard operation
Squot copied to clipboard

Error in self-updater: MessageNotUnderstood: `GitTreeEntry>>isInFilemode` from `FileSystem-Git` package preamble

Open LinqLover opened this issue 3 years ago • 2 comments

Working with a student's SWA image and was trying to update Squot (develop branch). Unfortunately, this preamble sends #isInFilemode which is nowhere implemented in current Squot. Either the script should use the new selector, or the old selector must be re-added to GitTreeEntry with a proper comment. :-)

See also https://github.com/hpi-swa/Squot/pull/258.

LinqLover avatar Dec 20 '21 18:12 LinqLover

That part of the preamble runs only if the GitTreeEntry class still has the instvar isInFilemode, in which case it should also still have the old isInFilemode method. So 1. how old was this student's image?? and 2. how could it be that it had still the instvar, but no longer the method?

j4yk avatar Dec 20 '21 18:12 j4yk

  1. how old was this student's image??

We are most likely talking about dc1b9981fe60821a04d2da92e647869d9d4aa442.

  1. how could it be that it had still the instvar, but no longer the method?

Argh, and once again, I have fallen into the "cannot reproduce" trap :( I think I have not done anything differently the second time, but the error does not reappear even though I deleted the github + MC filesystem caches. But I swear that I have seen a debugger somewhere along these lines. Will report back when I am able to reproduce this again :(

LinqLover avatar Dec 22 '21 17:12 LinqLover