[Cuis-dev] Error when trying to use SockeStream: asUtf8BytesOrByteStringOrByteArray missing

Juan Vuletich juan at cuis.st
Fri Mar 3 11:13:44 PST 2023


On 3/2/2023 1:57 PM, Rafi Khan via Cuis-dev wrote:
> Hi all,
>
> I am trying to do socket programming using SocketStream and running
> into an error where a message is not understood.
>
> In the Socket instance the following message gives me an error.
> sendSomeData: aStringOrByteArray startIndex: startIndex count: count
> for: aTimeoutInSeconds
>
> The first line reads:
> stringOrByteArray _ aStringOrByteArray asUtf8BytesOrByteStringOrByteArray.
>
> I had to change the line to:
> stringOrByteArray _ aStringOrByteArray asUtf8BytesOrByteString.
>
> I have no context here as to why the selectors are different or why
> the required selector is missing in my system.
>
> Can someone please help me understand what the root problem is?
>
> Also, I am running on:
> - Windows 11
> - Using Cuis 6.0-5608 image
> - VM version:
> Win32 built on May 11 2022 07:53:00 Compiler: Clang 14.0.0 [Production
> Spur 64-bit X64 VM]
> CoInterpreter VMMaker.oscog-mt.3184 uuid:
> 57b61827-3f1a-ab45-966e-7c5caaef28d7 May 11 2022
> StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid:
> c6fbcb07-2a19-ed4f-8b40-9c119a70882a May 11 2022
> VM: 202205110711 runneradmin at fv-az207-117:/d/a/opensmalltalk-vm/opensmalltalk-vm
> Date: Wed May 11 09:11:21 2022 CommitHash: 95dbe9d
> Plugins: 202205110711
> runneradmin at fv-az207-117:/d/a/opensmalltalk-vm/opensmalltalk-vm
>
>
>
> Best,
> Rafi Khan
> rafi at rafikhan.io

Hi Rafi,

You hadn't installed recent updates: World / Changes... / Install new 
updates.

But you can just pull the repo. I've pushed updated images.

Cheers,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list