On Tue, 12 Oct 2010, Sayth Renshaw wrote:
I was trying to load soup image using monticello browser. However I receive an error when pressing open to load "soup"
It is a non boolean error. Not sure how that relates to what I am doing. I used two sets of info when trying to load soup.
Registration 1 MCHttpRepository location: 'http://www.squeaksource.com/Soup' user: '' password: ''
Registration 2 MCHttpRepository location: 'http://www.squeaksource.com/Soup' user: 'squeak' password: 'squeak'
Here is a screenshot
[IMG] http://i988.photobucket.com/albums/af10/Sayth_Renshaw/SoupSqueak.png%5B/IMG]
If this doesn't happen consistently, then just ignore the error. HTTPSocket >> #httpGetDocument:args:accept:request: is one of the worst methods in Squeak 4.1. It was replaced in 4.2 alpha with a much simpler.
It must relate to this
mustBeBooleanIn: context "context is the where the non-boolean error occurred. Rewind context to before jump then raise error."
| proceedValue | context skipBackBeforeJump. proceedValue := NonBooleanReceiver new object: self; signal: 'proceed for truth.'. ^ proceedValue ~~ false
It's related, but this isn't where the error occured. You get this error when you try to send #ifTrue: #ifFalse: or #ifTrue:ifFalse: to a non-boolean object.
Levente