[Cuis-dev] [bug] "No action found for" when running scripts using -u -s

Nicolás Papagna Maldonado nicolas.papagna at gmail.com
Mon Feb 24 15:42:06 PST 2025


This one was tricky, but I found a way to reproduce it:


   1.

   git clone --depth=1
   https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev.git bug_repro
   2.

   cd bug_repro
   3.

   ./RunCuisOnMac.sh -d "Transcript cr" <=== All fine, no error popup
   4.

   Save the image and quit
   5.

   ./RunCuisOnMac.sh -d "Transcript cr" <=== Error popup is displayed.

HTH,
Nico

On Mon, Feb 24, 2025 at 7:39 PM Ezequiel Birman via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> I believe that the reason is due to some object(s) not initialized during
> startup.
>
> If you run:
> ./RunCuisOnMac.sh  -d "self runningWorld doOneCycleNow. Transcript show:
> 'hola'"
>
> or
> ./RunCuisOnMac.sh  -d "self runningWorld doOneCycleNow" -d "Transcript
> show: 'hola'"
>
> It will behave as expected.
>
> On Mon, 24 Feb 2025 at 19:03, Nicolás Papagna Maldonado via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> Hi Juan!
>>
>> Maybe I didn't make myself clear, but I believe the bug is in the way the
>> image processes command line arguments, not in the Run* scripts themselves
>>
>> HTH,
>> Nico
>>
>> On Mon, Feb 24, 2025 at 12:31 PM Juan Vuletich <juan at cuis.st> wrote:
>>
>>> On 2/24/2025 12:27 PM, Nicolás Papagna Maldonado via Cuis-dev wrote:
>>> > Hi folks,
>>> >
>>> > When running:  ./RunCuisOnMac.sh -d "Transcript show: 'hi'"
>>> > a popup opens with the message: "No action found for Transcript show:
>>> > 'hi'".
>>> >
>>> > I took a closer look and RunCuisOnMac.sh ends up running squeak -u -d
>>> > "Transcript show: 'hi'".
>>> > When I run squeak -d "Transcript show: 'hi'" (without -u) the popup
>>> > does not open.
>>> >
>>> > Best,
>>> > Nico PM
>>>
>>> Yes, the idea is that you copy the Run* script with a different name,
>>> and customize it as needed.
>>>
>>> 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
>>>
>>>
>>
>> --
>>
>> Nicolás Papagna
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

Nicolás Papagna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250224/1bf94233/attachment.htm>


More information about the Cuis-dev mailing list