- unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
cbc
Reply | Threaded
Open this post in threaded view
|

- unable to open 'objects' morph from world menu - vmParameterAt:put: failure

cbc
Hello,
I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a mostly up to date trunk image (last update: #17172), and when trying to open the Objects morph (to pull in objects for Morphic), I get an error in KedemaMorph:

calcTurtlesCount

turtleCount := 0.
turtlesDict do: [:a | turtleCount := turtleCount + a size].

Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).

The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive failure.

Thanks,
cbc


Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Bert Freudenberg
We should probably just remove these lines.

- Bert -

On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <[hidden email]> wrote:
Hello,
I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a mostly up to date trunk image (last update: #17172), and when trying to open the Objects morph (to pull in objects for Morphic), I get an error in KedemaMorph:

calcTurtlesCount

turtleCount := 0.
turtlesDict do: [:a | turtleCount := turtleCount + a size].

Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).

The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive failure.

Thanks,
cbc






Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Hannes Hirzel
What is / was

     vmParamterAt: 5 put: xxxx

used for?

On 4/24/17, Bert Freudenberg <[hidden email]> wrote:

> We should probably just remove these lines.
>
> - Bert -
>
> On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <[hidden email]>
> wrote:
>
>> Hello,
>> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>> mostly up to date trunk image (last update: #17172), and when trying to
>> open the Objects morph (to pull in objects for Morphic), I get an error
>> in
>> KedemaMorph:
>>
>> calcTurtlesCount
>>
>> turtleCount := 0.
>> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>>
>> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
>> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).
>>
>> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>> failure.
>>
>> Thanks,
>> cbc
>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Bob Arning-2

once upon a time:

vmParameterAt: parameterIndex
    "parameterIndex is a positive integer corresponding to one of the VM's internal
    parameter/metric registers.  Answer with the current value of that register.
    Fail if parameterIndex has no corresponding register.
    VM parameters are numbered as follows:
        1    end of old-space (0-based, read-only)
        2    end of young-space (read-only)
        3    end of memory (read-only)
        4    allocationCount (read-only)
        5    allocations between GCs (read-write)
        6    survivor count tenuring threshold (read-write)
        7    full GCs since startup (read-only)
        8    total milliseconds in full GCs since startup (read-only)
        9    incremental GCs since startup (read-only)
        10    total milliseconds in incremental GCs since startup (read-only)
        11    tenures of surving objects since startup (read-only)
        12-20 specific to the translating VM
        21    root table size (read-only)
        22    root table overflows since startup (read-only)
        23    bytes of extra memory to reserve for VM buffers, plugins, etc.

        24    memory headroom when growing object memory (rw)
        25    memory threshold above which shrinking object memory (rw)"


On 4/24/17 11:59 AM, H. Hirzel wrote:
What is / was

     vmParamterAt: 5 put: xxxx

used for?

On 4/24/17, Bert Freudenberg [hidden email] wrote:
We should probably just remove these lines.

- Bert -

On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham [hidden email]
wrote:

Hello,
I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
mostly up to date trunk image (last update: #17172), and when trying to
open the Objects morph (to pull in objects for Morphic), I get an error
in
KedemaMorph:

calcTurtlesCount

turtleCount := 0.
turtlesDict do: [:a | turtleCount := turtleCount + a size].

Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).

The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
failure.

Thanks,
cbc





      

    



Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Hannes Hirzel
Thanks Bob,

yes, then it really can go.

Could somebody remove these two lines please?


In KedemaMorph>>calcTurtlesCount


Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).


--Hannes

On 4/24/17, Bob Arning <[hidden email]> wrote:

> once upon a time:
>
> vmParameterAt: parameterIndex
>      "parameterIndex is a positive integer corresponding to one of the
> VM's internal
>      parameter/metric registers.  Answer with the current value of that
> register.
>      Fail if parameterIndex has no corresponding register.
>      VM parameters are numbered as follows:
>          1    end of old-space (0-based, read-only)
>          2    end of young-space (read-only)
>          3    end of memory (read-only)
>          4    allocationCount (read-only)
> *5    allocations between GCs (read-write)*
>          6    survivor count tenuring threshold (read-write)
>          7    full GCs since startup (read-only)
>          8    total milliseconds in full GCs since startup (read-only)
>          9    incremental GCs since startup (read-only)
>          10    total milliseconds in incremental GCs since startup
> (read-only)
>          11    tenures of surving objects since startup (read-only)
>          12-20 specific to the translating VM
>          21    root table size (read-only)
>          22    root table overflows since startup (read-only)
>          23    bytes of extra memory to reserve for VM buffers, plugins,
> etc.
>
>          24    memory headroom when growing object memory (rw)
>          25    memory threshold above which shrinking object memory (rw)"
>
>
> On 4/24/17 11:59 AM, H. Hirzel wrote:
>> What is / was
>>
>>       vmParamterAt: 5 put: xxxx
>>
>> used for?
>>
>> On 4/24/17, Bert Freudenberg <[hidden email]> wrote:
>>> We should probably just remove these lines.
>>>
>>> - Bert -
>>>
>>> On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham
>>> <[hidden email]>
>>> wrote:
>>>
>>>> Hello,
>>>> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>>>> mostly up to date trunk image (last update: #17172), and when trying to
>>>> open the Objects morph (to pull in objects for Morphic), I get an error
>>>> in
>>>> KedemaMorph:
>>>>
>>>> calcTurtlesCount
>>>>
>>>> turtleCount := 0.
>>>> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>>>>
>>>> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max:
>>>> 4000).
>>>> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max:
>>>> 8000).
>>>>
>>>> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>>>> failure.
>>>>
>>>> Thanks,
>>>> cbc
>>>>
>>>>
>>>>
>>>>
>
>

cbc
Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

cbc
In reply to this post by Hannes Hirzel
The method itself (#vmParameterAt:put:) is very nicely documented.  The use is:
5 allocations between GCs (read-write; nil in Cog VMs)
-cbc

On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <[hidden email]> wrote:
What is / was

     vmParamterAt: 5 put: xxxx

used for?

On 4/24/17, Bert Freudenberg <[hidden email]> wrote:
> We should probably just remove these lines.
>
> - Bert -
>
> On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <[hidden email]>
> wrote:
>
>> Hello,
>> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>> mostly up to date trunk image (last update: #17172), and when trying to
>> open the Objects morph (to pull in objects for Morphic), I get an error
>> in
>> KedemaMorph:
>>
>> calcTurtlesCount
>>
>> turtleCount := 0.
>> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>>
>> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
>> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).
>>
>> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>> failure.
>>
>> Thanks,
>> cbc
>>
>>
>>
>>
>




Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Hannes Hirzel
Thanks, found it

    SmalltalkImage vmParameterAt:put:

!

Another question: I do not have the classes like

StarSqueakForestFire (empty reference here http://wiki.squeak.org/squeak/5538)

in my most recent image

Squeak6.0alpha  #17206

I wonder where I can get them?

Or put the question differently: Where are the StarSqueak examples?

--Hannes





On 4/24/17, Chris Cunningham <[hidden email]> wrote:

> The method itself (#vmParameterAt:put:) is very nicely documented.  The use
> is:
> 5 allocations between GCs (read-write; nil in Cog VMs)
> -cbc
>
> On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <[hidden email]> wrote:
>
>> What is / was
>>
>>      vmParamterAt: 5 put: xxxx
>>
>> used for?
>>
>> On 4/24/17, Bert Freudenberg <[hidden email]> wrote:
>> > We should probably just remove these lines.
>> >
>> > - Bert -
>> >
>> > On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <
>> [hidden email]>
>> > wrote:
>> >
>> >> Hello,
>> >> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>> >> mostly up to date trunk image (last update: #17172), and when trying
>> >> to
>> >> open the Objects morph (to pull in objects for Morphic), I get an
>> >> error
>> >> in
>> >> KedemaMorph:
>> >>
>> >> calcTurtlesCount
>> >>
>> >> turtleCount := 0.
>> >> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>> >>
>> >> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max:
>> 4000).
>> >> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max:
>> 8000).
>> >>
>> >> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>> >> failure.
>> >>
>> >> Thanks,
>> >> cbc
>> >>
>> >>
>> >>
>> >>
>> >
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Levente Uzonyi
StarSqueak? Probably removed during the 3.9 "cleanup". You might find it
on squeaksource.com if you're lucky. Else, you'll have to extract it from
3.8.

Levente

On Mon, 24 Apr 2017, H. Hirzel wrote:

> Thanks, found it
>
>    SmalltalkImage vmParameterAt:put:
>
> !
>
> Another question: I do not have the classes like
>
> StarSqueakForestFire (empty reference here http://wiki.squeak.org/squeak/5538)
>
> in my most recent image
>
> Squeak6.0alpha  #17206
>
> I wonder where I can get them?
>
> Or put the question differently: Where are the StarSqueak examples?
>
> --Hannes
>
>
>
>
>
> On 4/24/17, Chris Cunningham <[hidden email]> wrote:
>> The method itself (#vmParameterAt:put:) is very nicely documented.  The use
>> is:
>> 5 allocations between GCs (read-write; nil in Cog VMs)
>> -cbc
>>
>> On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <[hidden email]> wrote:
>>
>>> What is / was
>>>
>>>      vmParamterAt: 5 put: xxxx
>>>
>>> used for?
>>>
>>> On 4/24/17, Bert Freudenberg <[hidden email]> wrote:
>>> > We should probably just remove these lines.
>>> >
>>> > - Bert -
>>> >
>>> > On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <
>>> [hidden email]>
>>> > wrote:
>>> >
>>> >> Hello,
>>> >> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>>> >> mostly up to date trunk image (last update: #17172), and when trying
>>> >> to
>>> >> open the Objects morph (to pull in objects for Morphic), I get an
>>> >> error
>>> >> in
>>> >> KedemaMorph:
>>> >>
>>> >> calcTurtlesCount
>>> >>
>>> >> turtleCount := 0.
>>> >> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>>> >>
>>> >> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max:
>>> 4000).
>>> >> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max:
>>> 8000).
>>> >>
>>> >> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>>> >> failure.
>>> >>
>>> >> Thanks,
>>> >> cbc
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>>
>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Hannes Hirzel
Thank you for the answer, Levente. I think that will do.

Or I'll have a look at the archives in Edgar De Cleene's virtual

     "refugio de viejos programadores"

:-)

Coming back to the initial question of this thread.  I had no problem
choosing 'objects' the world menu in the latest update  (see
attachment)

--Hannes

On 4/24/17, Levente Uzonyi <[hidden email]> wrote:

> StarSqueak? Probably removed during the 3.9 "cleanup". You might find it
> on squeaksource.com if you're lucky. Else, you'll have to extract it from
> 3.8.
>
> Levente
>
> On Mon, 24 Apr 2017, H. Hirzel wrote:
>
>> Thanks, found it
>>
>>    SmalltalkImage vmParameterAt:put:
>>
>> !
>>
>> Another question: I do not have the classes like
>>
>> StarSqueakForestFire (empty reference here
>> http://wiki.squeak.org/squeak/5538)
>>
>> in my most recent image
>>
>> Squeak6.0alpha  #17206
>>
>> I wonder where I can get them?
>>
>> Or put the question differently: Where are the StarSqueak examples?
>>
>> --Hannes
>>
>>
>>
>>
>>
>> On 4/24/17, Chris Cunningham <[hidden email]> wrote:
>>> The method itself (#vmParameterAt:put:) is very nicely documented.  The
>>> use
>>> is:
>>> 5 allocations between GCs (read-write; nil in Cog VMs)
>>> -cbc
>>>
>>> On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <[hidden email]>
>>> wrote:
>>>
>>>> What is / was
>>>>
>>>>      vmParamterAt: 5 put: xxxx
>>>>
>>>> used for?
>>>>
>>>> On 4/24/17, Bert Freudenberg <[hidden email]> wrote:
>>>> > We should probably just remove these lines.
>>>> >
>>>> > - Bert -
>>>> >
>>>> > On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <
>>>> [hidden email]>
>>>> > wrote:
>>>> >
>>>> >> Hello,
>>>> >> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
>>>> >> mostly up to date trunk image (last update: #17172), and when trying
>>>> >> to
>>>> >> open the Objects morph (to pull in objects for Morphic), I get an
>>>> >> error
>>>> >> in
>>>> >> KedemaMorph:
>>>> >>
>>>> >> calcTurtlesCount
>>>> >>
>>>> >> turtleCount := 0.
>>>> >> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>>>> >>
>>>> >> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max:
>>>> 4000).
>>>> >> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max:
>>>> 8000).
>>>> >>
>>>> >> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>>>> >> failure.
>>>> >>
>>>> >> Thanks,
>>>> >> cbc
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >
>>>>
>>>>
>>>
>
>



Screenshot_objects_entry_world_menu_2017-04-24.png (61K) Download Attachment
cbc
Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

cbc
Right. Looks like Levente updated the package to fix this.

Thanks!

On Mon, Apr 24, 2017 at 9:46 AM, H. Hirzel <[hidden email]> wrote:
Thank you for the answer, Levente. I think that will do.

Or I'll have a look at the archives in Edgar De Cleene's virtual

     "refugio de viejos programadores"

:-)

Coming back to the initial question of this thread.  I had no problem
choosing 'objects' the world menu in the latest update  (see
attachment)

--Hannes

On 4/24/17, Levente Uzonyi <[hidden email]> wrote:
> StarSqueak? Probably removed during the 3.9 "cleanup". You might find it
> on squeaksource.com if you're lucky. Else, you'll have to extract it from
> 3.8.
>
> Levente
>
> On Mon, 24 Apr 2017, H. Hirzel wrote:
>
>> Thanks, found it
>>
>>    SmalltalkImage vmParameterAt:put:
>>
>> !
>>
>> Another question: I do not have the classes like
>>
>> StarSqueakForestFire (empty reference here
>> http://wiki.squeak.org/squeak/5538)
>>
>> in my most recent image
>>
>> Squeak6.0alpha  #17206
>>
>> I wonder where I can get them?
>>
>> Or put the question differently: Where are the StarSqueak examples?
>>
>> --Hannes
>>
>>
>>
>>
>>
>> On 4/24/17, Chris Cunningham <[hidden email]> wrote:
>>> The method itself (#vmParameterAt:put:) is very nicely documented.  The
>>> use
>>> is:
>>> 5 allocations between GCs (read-write; nil in Cog VMs)
>>> -cbc
>>>
>>> On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <[hidden email]>
>>> wrote:
>>>
>>>> What is / was
>>>>
>>>>      vmParamterAt: 5 put: xxxx
>>>>nt_post&node\x3D4943898\" rel\x3D\"nofollow\"\x3EPrint post\x3C/a\x3E'); dropdown.add('permalink4943898', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"prompt(\'Copy this:\',\'https://forum.world.st/unable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html\')\"\x3EPermalink\x3C/a\x3E'); dropdown.add('rawMail4943898', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Draw_mail&node\x3D4943898\" rel\x3D\"nofollow\"\x3ERaw mail\x3C/a\x3E', 'display:none'); dropdown.add('social4943898', '\x3Ca href\x3D\"http://twitter.com/share?text\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure&related\x3DSmalltalk&url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html\" title\x3D\"Twitter\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/twitter.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.facebook.com/share.php?v\x3D4&src\x3Dbm&u\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&t\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Facebook\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/facebook.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://del.icio.us/post?url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Delicious\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/delicious.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.google.com/bookmarks/mark?op\x3Dadd&bkmk\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Google Bookmarks\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/google.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.stumbleupon.com/submit?url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Stumble Upon\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/stumbleupon.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.linkedin.com/shareArticle?mini\x3Dtrue&url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&source\x3DSmalltalk\" title\x3D\"LinkedIn\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/linkedin.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://digg.com/submit?phase\x3D2&url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Digg\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/digg.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E','white-space:nowrap'); dropdown.build('dd_postdropdown49438.deletePost(4943898)\" rel\x3D\"nofollow\"\x3EDelete this post\x3C/a\x3E', 'display:none'); dropdown.add('deleteRecursively4943898', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"Nabble.deleteFromSite(4943898)\" rel\x3D\"nofollow\"\x3EDelete this post and replies\x3C/a\x3E', 'display:none'); dropdown.add('changePostDate4943898', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dchange_post_date&node\x3D4943898\" rel\x3D\"nofollow\"\x3EChange post date\x3C/a\x3E', 'display:none'); dropdown.add('print4943898', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Dprint_post&node\x3D4943898\" rel\x3D\"nofollow\"\x3EPrint post\x3C/a\x3E'); dropdown.add('permalink4943898', '\x3Ca href\x3D\"javascript: void(0)\" onclick\x3D\"prompt(\'Copy this:\',\'https://forum.world.st/unable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html\')\"\x3EPermalink\x3C/a\x3E'); dropdown.add('rawMail4943898', '\x3Ca href\x3D\"/template/NamlServlet.jtp?macro\x3Draw_mail&node\x3D4943898\" rel\x3D\"nofollow\"\x3ERaw mail\x3C/a\x3E', 'display:none'); dropdown.add('social4943898', '\x3Ca href\x3D\"http://twitter.com/share?text\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure&related\x3DSmalltalk&url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html\" title\x3D\"Twitter\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/twitter.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.facebook.com/share.php?v\x3D4&src\x3Dbm&u\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&t\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Facebook\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/facebook.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://del.icio.us/post?url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Delicious\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/delicious.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.google.com/bookmarks/mark?op\x3Dadd&bkmk\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Google Bookmarks\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/google.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.stumbleupon.com/submit?url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Stumble Upon\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/stumbleupon.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://www.linkedin.com/shareArticle?mini\x3Dtrue&url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&source\x3DSmalltalk\" title\x3D\"LinkedIn\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/linkedin.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E \x3Ca href\x3D\"http://digg.com/submit?phase\x3D2&url\x3Dhttps%3A%2F%2Fforum.world.st%2Funable-to-open-objects-morph-from-world-menu-vmParameterAt-put-failure-tp4943869p4943898.html&title\x3DRe%3A+-+unable+to+open+%27objects%27+morph+from+world+menu+-+vmParameterAt%3Aput%3A+failure\" title\x3D\"Digg\" target\x3D\"_blank\" ignore\x3D\"y\"\x3E \x3Cimg src\x3D\"/images/social/digg.png\" style\x3D\"width:16px;height:16px;margin-top:.2em;border:none;\"/\x3E \x3C/a\x3E','white-space:nowrap'); dropdown.build('dd_postdropdown4943898'); dropdown.loadOnClick('/template/NamlServlet.jtp?macro=post_dropdown_later&node=4943898&_=' + Math.floor(Math.random()*999999));

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Hannes Hirzel
Yes, it is commit

The Trunk: EToys-ul.294.mcz

On 4/24/17, Chris Cunningham <[hidden email]> wrote:

> Right. Looks like Levente updated the package to fix this.
>
> Thanks!
>
> On Mon, Apr 24, 2017 at 9:46 AM, H. Hirzel <[hidden email]> wrote:
>
>> Thank you for the answer, Levente. I think that will do.
>>
>> Or I'll have a look at the archives in Edgar De Cleene's virtual
>>
>>      "refugio de viejos programadores"
>>
>> :-)
>>
>> Coming back to the initial question of this thread.  I had no problem
>> choosing 'objects' the world menu in the latest update  (see
>> attachment)
>>
>> --Hannes
>>
>> On 4/24/17, Levente Uzonyi <[hidden email]> wrote:
>> > StarSqueak? Probably removed during the 3.9 "cleanup". You might find
>> > it
>> > on squeaksource.com if you're lucky. Else, you'll have to extract it
>> from
>> > 3.8.
>> >
>> > Levente
>> >
>> > On Mon, 24 Apr 2017, H. Hirzel wrote:
>> >
>> >> Thanks, found it
>> >>
>> >>    SmalltalkImage vmParameterAt:put:
>> >>
>> >> !
>> >>
>> >> Another question: I do not have the classes like
>> >>
>> >> StarSqueakForestFire (empty reference here
>> >> http://wiki.squeak.org/squeak/5538)
>> >>
>> >> in my most recent image
>> >>
>> >> Squeak6.0alpha  #17206
>> >>
>> >> I wonder where I can get them?
>> >>
>> >> Or put the question differently: Where are the StarSqueak examples?
>> >>
>> >> --Hannes
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On 4/24/17, Chris Cunningham <[hidden email]> wrote:
>> >>> The method itself (#vmParameterAt:put:) is very nicely documented.
>> >>> The
>> >>> use
>> >>> is:
>> >>> 5 allocations between GCs (read-write; nil in Cog VMs)
>> >>> -cbc
>> >>>
>> >>> On Mon, Apr 24, 2017 at 8:59 AM, H. Hirzel <[hidden email]>
>> >>> wrote:
>> >>>
>> >>>> What is / was
>> >>>>
>> >>>>      vmParamterAt: 5 put: xxxx
>> >>>>
>> >>>> used for?
>> >>>>
>> >>>> On 4/24/17, Bert Freudenberg <[hidden email]> wrote:
>> >>>> > We should probably just remove these lines.
>> >>>> >
>> >>>> > - Bert -
>> >>>> >
>> >>>> > On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <
>> >>>> [hidden email]>
>> >>>> > wrote:
>> >>>> >
>> >>>> >> Hello,
>> >>>> >> I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017)
>> >>>> >> with
>> a
>> >>>> >> mostly up to date trunk image (last update: #17172), and when
>> trying
>> >>>> >> to
>> >>>> >> open the Objects morph (to pull in objects for Morphic), I get an
>> >>>> >> error
>> >>>> >> in
>> >>>> >> KedemaMorph:
>> >>>> >>
>> >>>> >> calcTurtlesCount
>> >>>> >>
>> >>>> >> turtleCount := 0.
>> >>>> >> turtlesDict do: [:a | turtleCount := turtleCount + a size].
>> >>>> >>
>> >>>> >> Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000
>> >>>> >> max:
>> >>>> 4000).
>> >>>> >> Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000
>> >>>> >> max:
>> >>>> 8000).
>> >>>> >>
>> >>>> >> The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
>> >>>> >> failure.
>> >>>> >>
>> >>>> >> Thanks,
>> >>>> >> cbc
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >
>> >>>>
>> >>>>
>> >>>
>> >
>> >
>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

Hannes Hirzel
And the next problem is that for some choice of categories the hour
glass shows up and does not go away.

For example the category 'Multimedia'.

Attached is a screen shot after hitting 'CTRL .'  to interrupt it.

Can you confirm this error?

--Hannes



objects_dialog_window_2017-04-24.png (75K) Download Attachment
cbc
Reply | Threaded
Open this post in threaded view
|

Re: - unable to open 'objects' morph from world menu - vmParameterAt:put: failure

cbc
I do not get that. I get a very fast error popping up (for Multimedia), something to do with trying to install flaps:

Inline image 1

-cbc

On Mon, Apr 24, 2017 at 10:09 AM, H. Hirzel <[hidden email]> wrote:
And the next problem is that for some choice of categories the hour
glass shows up and does not go away.

For example the category 'Multimedia'.

Attached is a screen shot after hitting 'CTRL .'  to interrupt it.

Can you confirm this error?

--Hannes