Universes or dev image problem?

Karl karl.ramberg at comhem.se
Sun May 20 13:17:20 UTC 2007


Lex Spoon wrote:
> David Shaffer <cdshaffer at acm.org> writes:
>   
>> In squeak-dev-beta-123 image if I load Seaside from the Package
>> Universe Browser I get a walkback when trying to load
>>
>> 'KomServices-gk.3.mcz'
>>
>> The walkback is 'Error: file is too short' and, on inspecting the file
>> it simply contains the text:
>>
>> server aborted early
>>
>> I'm not sure if this is an issue with the Universe config, the dev
>> image or simply a temporary failure downloading this file.
>>     
>
>
> It's the last, but there is a bug here, too.
>
> The difficulty is that HTTP download errors are reported in a strange
> way.  The core method returns a string instead of a MIMEDocument.
> Then, the URL code converts the error message to a MIMEDocument that
> starts with the text "error".
>
> Errors should be reported better.  One refactoring would be to make an
> "ErrorResult" subclass of MIMEDocument.  Then, the HTTP code could
> robustly track which downloads are errors, without breaking
> compatibility with code that simply displays the result whether it was
> an error or not (e.g., Scamper).
>
> I've posted this issue on Mantis:
>
>   http://bugs.squeak.org/view.php?id=6495
>
> I won't do it today; anyone should feel free to beat me to it!
>
>
> Lex Spoon
>
>
>
>
>   
Is it related to this issue ?
http://bugs.squeak.org/view.php?id=5200
I reverted the method to a earlier version and got it to work.
I think the failing method version was made to make proxies work but I'm 
not sure.

Karl



More information about the Squeak-dev mailing list