It fails at the following statement:
(decoded readInto: buffer startingAt: index count: count) = count
                ifFalse:[self error: 'Unexpected read failure'].

In SecureSocketStream>>initialize it decoded defined as
decoded := ReadStream on: (ByteArray new: 20000) from: 1 to: 0.

Maybe decoded is supposed to become a SocketStream later in the game,
but at this point it's still a ReadStream which doesn't understand
#readInto:startingAt:count:

Can anyone reproduce this in Pharo 1.1? Just evaluate "WebClient
httpGet: 'https://www.google.com/search?q=squeak'."

2010/7/30 Levente Uzonyi <[email protected]>:
> On Fri, 30 Jul 2010, Andrei Stebakov wrote:
>
>> Apparently #readInto:startingAt:count: is not supported by ReadStream
>> Pharo 1.1...
>
> SecureSocketStream is a subclass of SocketStream which has a method named
> #readInto:startingAt:count:.
>
>
> Levente
>
>>
>>
>> On Fri, Jul 30, 2010 at 5:46 PM, Andrei Stebakov <[email protected]>
>> wrote:
>>>
>>> Well, I put it there when Pharo was running. Now that I restarted
>>> Pharo I got a different error:
>>> When I execute "WebClient httpGet:
>>> 'https://www.google.com/search?q=squeak'." I got:
>>>
>>> ReadStream(Object)>>doesNotUnderstand: #readInto:startingAt:count:
>>> SecureSocketStream>>receiveDataInto:startingAt:
>>> SecureSocketStream>>receiveAvailableData
>>> SecureSocketStream(SocketStream)>>upToAll:
>>> WebResponse>>readFrom:
>>> WebClient>>sendRequest:content:size:
>>> WebClient>>sendRequest:
>>> WebClient>>httpGet:do:
>>> WebClient>>httpGet:
>>> WebClient class>>httpGet:
>>> UndefinedObject>>DoIt
>>> Compiler>>evaluate:in:to:notifying:ifFail:logged:
>>> [] in TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
>>> BlockClosure>>on:do:
>>> TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
>>> TextMorphForShoutEditor(ParagraphEditor)>>doIt
>>> [] in TextMorphForShoutEditor(ParagraphEditor)>>doIt:
>>> TextMorphForShoutEditor(ParagraphEditor)>>terminateAndInitializeAround:
>>> TextMorphForShoutEditor(ParagraphEditor)>>doIt:
>>> TextMorphForShoutEditor(ParagraphEditor)>>dispatchOnKeyEvent:with:
>>>
>>>
>>>
>>>
>>> On Fri, Jul 30, 2010 at 4:47 PM, Andrei Stebakov <[email protected]>
>>> wrote:
>>>>
>>>> I've downloaded the SqueakSSL.dll plugin and put it in the root folder.
>>>> Also I've downloaded
>>>> SqueakSSL-Core
>>>> SqueakSSL-Plugin
>>>> SqueakSSL-Tests
>>>>
>>>> All tests passed.
>>>> Now when I try to execute "SqueakSSL google: 'Squeak'."
>>>> It fails creating the module in
>>>>
>>>> primitiveSSLCreate
>>>>        "Primitive. Creates and returns a new SSL handle"
>>>>
>>>>        <primitive: 'primitiveCreate' module: 'SqueakSSL'>
>>>>        ^self primitiveFailed
>>>>
>>>> How can I fix it?
>>>>
>>>> Thank you,
>>>> Andrei
>>>>
>>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to