Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
October 2016
- 87 participants
- 592 messages
Re: [Pharo-users] Intro to Microsoft COM for Smalltalkers
by Thibault Raffaillac
Thanks for these mails, that's actually very helpful!
I am working on a shorter syntax for animations at the moment (than GLMAnimation, Viva, Bloc-Animation), and could not find a proper equivalent to requestAnimationFrame (i.e. that would be independent of any UI yet in sync with display, and as simple as possible).
My solution was to repeatedly register to deferredUIMessages, implementing an intermediate block to add a timestamp like requestAnimationFrame (works wonders http://smalltalkhub.com/#!/~ThibaultRaffaillac/Animation)
Cheers,
Thibault
ps: I'll ask Guille asap for the state of ReactiveExtensions (lacks comments)
> Also, check
>
> MorphicUIManager>>#spawnNewProcess
>
> UIProcess := [
> [World doOneCycle. Processor yield. false] whileFalse: [].
> ] newProcess priority: Processor userSchedulingPriority.
> UIProcess name: 'Morphic UI Process'.
> UIProcess resume
>
> digging into doOneCycle, you'll find:
>
> #doOneCycleFor: aWorld
> "Do one cycle of the interaction loop. This method is called *repeatedly
> *when
> the world is running. This is a moderately private method; a better
> alternative is usually either to wait for events or to check the state of
> things from #step methods."
>
> self interCyclePause: MinCycleLapse.
> self doOneCycleNowFor: aWorld.
>
>
> The interCyclePause is what make the UI timing alignment proper (notice
> serverMode) [and some Squeak remnant mention]:
>
> interCyclePause: milliSecs
> "delay enough that the previous cycle plus the amount of delay will equal
> milliSecs. If the cycle is already expensive, then no delay occurs.
> However, if the system is idly waiting for interaction from the user, the
> method will delay for a proportionally long time and cause the overall CPU
> usage of *Squeak* to be low.
> If self serverMode returns true then, always do a complete delay of 50ms,
> independant of my argument. This prevents the freezing problem described in
> Mantis #6581"
>
> | wait wait2 |
> "*a very long assignment*"
> wait := self serverMode
> ifTrue: [ 50 ]
> ifFalse:
> [ wait2 := (lastCycleTime notNil and: [CanSurrenderToOS ~~ false])
> ifFalse: [ 0 ]
> ifTrue: [ lastCycleTime + milliSecs - Time millisecondClockValue ].
>
> self flag: 'Issue 14754 - wait2>millisecs is only True for clock
> rollover. Remove it once DelayScheduler based on microsecondClock - Ben
> Coman 19.01.2015'. "*<---- maybe we want this #flag: not to be called all
> the time* "
> wait2 > milliSecs
> ifTrue: [ 0 ]
> ifFalse: [ wait2 ].
> ].
> wait > 0 ifTrue: [ (Delay forMilliseconds: wait) wait ]. "<------- wait
> is not #>>wait"
>
> lastCycleTime := Time millisecondClockValue.
> CanSurrenderToOS := true.
>
> Now, yeah, how do get stuff to be painted on the screen?
>
> Like this:
>
> displayWorld: aWorld submorphs: submorphs
> "Update this world's display."
>
> | deferredUpdateMode handsToDraw allDamage |
>
> submorphs do: [:m | m fullBounds]. "force re-layout if needed"
> self checkIfUpdateNeeded ifFalse: [^ self]. "display is already up-to-date"
>
> deferredUpdateMode := self doDeferredUpdatingFor: aWorld.
> deferredUpdateMode ifFalse: [self assuredCanvas].
> canvas roundCornersOf: aWorld during:[ | worldDamageRects handDamageRects |
> worldDamageRects := self drawWorld: aWorld submorphs: submorphs
> invalidAreasOn: canvas. "repair world's damage on canvas"
> "self handsDo:[:h| h noticeDamageRects: worldDamageRects]."
> handsToDraw := self selectHandsToDrawForDamage: worldDamageRects.
> handDamageRects := handsToDraw collect: [:h | h savePatchFrom: canvas].
> allDamage := worldDamageRects, handDamageRects.
>
> handsToDraw reverseDo: [:h | canvas fullDrawMorph: h]. "draw hands onto
> world canvas"
> ].
> "*make this true to flash damaged areas for testing*"
> self class debugShowDamage ifTrue: [aWorld flashRects: allDamage color:
> Color black].
>
> canvas finish.
> "quickly copy altered rects of canvas to Display:"
> deferredUpdateMode
> ifTrue: [self forceDamageToScreen: allDamage]
> ifFalse: [canvas showAt: aWorld viewBox origin invalidRects: allDamage].
> handsToDraw do: [:h | h restoreSavedPatchOn: canvas]. "restore world
> canvas under hands"
> Display deferUpdates: false; forceDisplayUpdate.
>
> The VM will take care of throwing the bits to the display in various ways.
> Interesting to look how it is done for Windows, OSX, and Linux.
>
> So you have about a full view now.
>
> Timing wise, there is also some interaction with the VM occuring elsewhere.
> Pharo is still polling deep inside. epoll etc isn't there yet, hence the
> little idle CPU usage when doing nothing.
>
> Good luck doing this UI trip with other platforms, not to mention change or
> instrument it the way you like.
>
> Pharo is really cool for this as it helps in learning about a lot of things.
>
> Want to do sockets?
> Do the high level stuff in Pharo and dig in the VM to see how it is done
> down under for a set of platforms.
>
> Enjoy.
>
> Phil
Oct. 7, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by stepharo
Hi andreas
could you write a little how to so that we can put it on the web site?
Stef
Le 7/10/16 à 06:20, Andreas Sunardi a écrit :
> Thanks, Bernardo. That fogbugz case is exactly the problem I'm having.
>
> This VM (pharo-vm-spur-swing.zip) is able to open Pharo 5.0 image from
> Pharo download page. This is a good sign.
>
> Upon opening the image, I am, however, presented immediately with
> 'MessageNotUnderstood: receiver of "/" is nil'. It's coming from
> SystemSettingsPersistence class >> defaultPreferenceFileReference
>
> It boils down to
> OSEnvironment#getEnv: 'HOME'
>
> a failure in building an FFI call. The FFI call function signature is
> #( String getenv (String string) )
>
> The context object built from OSEnvironment#getEnv: gives answer
> 'arg1', instead of 'string', to a call to #method#argumentNames. Down
> the road, an IRMethod instance is trying to find the index for
> 'string' and can't find any, because what is stored is 'arg1'.
>
> I'm out of my depth at this point, and this is a separate issue than
> not being able to start the image. I have to think where I want to go
> from here.
>
> So, thank you for all of you, for the exceedingly quick and friendly help.
>
> Cheers!
>
> On Thu, Oct 6, 2016 at 5:42 PM, Bernardo Ezequiel Contreras
> <vonbecmann(a)gmail.com <mailto:vonbecmann@gmail.com>> wrote:
>
> Hold on,
>
> There's also this issue
> https://pharo.fogbugz.com/f/cases/17353/build-spur-vm-for-debian-old-libc
> <https://pharo.fogbugz.com/f/cases/17353/build-spur-vm-for-debian-old-libc>
>
> where in one comment jan.vrany recommended his build
>
> https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/
> <https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/>
>
> https://swing.fit.cvut.cz/jenkins/view/All/job/pharo-vm-spur-swing/lastSucc…
> <https://swing.fit.cvut.cz/jenkins/view/All/job/pharo-vm-spur-swing/lastSucc…>
>
> that i have used in debian wheezy with the old libc for quite a
> while. i don't use it anymore because im in jessie.
>
>
>
> On Thu, Oct 6, 2016 at 9:13 PM, Andreas Sunardi
> <a.sunardi(a)gmail.com <mailto:a.sunardi@gmail.com>> wrote:
>
> Thank you for the impressive quick response. Unfortunately, I
> have older glibc. So now I'm struggling with compiling glibc
> 2.15 for 32 bit on my 64 bit CentOS 6.5 machine. Not an easy
> thing to do.
>
> I'll try those VMs once I succeed in building this glibc
>
> On Thu, Oct 6, 2016 at 12:41 PM, Bernardo Ezequiel Contreras
> <vonbecmann(a)gmail.com <mailto:vonbecmann@gmail.com>> wrote:
>
> this
> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
> <http://files.pharo.org/vm/pharo-spur32/linux/latest.zip>
>
> works pretty well in Debian GNU/Linux 8 Jessie
>
> On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera
> <bera.clement(a)gmail.com <mailto:bera.clement@gmail.com>>
> wrote:
>
> Thanks for reporting the problem.
>
> The error means the VM is incompatible with the image.
> There was a change of image format in Pharo 5, so the
> package has likely an old VM while the image has the
> new format, or the new VM while the image has the old
> format.
>
> Someone will look into that problem in the incoming
> weeks. Most Pharo maintainers are on Mac, we noticed
> recently that other OS were not maintained carefully
> enough (We're sorry about that) and we're trying to
> solve that problem.
>
> Meantime....
>
> Can you try the latest VM from here (latest.zip):
> http://files.pharo.org/vm/pharo-spur32/linux/
> <http://files.pharo.org/vm/pharo-spur32/linux/>
>
> Or if still failing, the latest VM from here (latest.zip):
> http://files.pharo.org/vm/pharo/linux/
> <http://files.pharo.org/vm/pharo/linux/>
>
> One of these two VMs should work. Please tell me which
> one worked if you try.
>
> Thanks & Regards
>
> Clement
>
> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel
> Contreras <vonbecmann(a)gmail.com
> <mailto:vonbecmann@gmail.com>> wrote:
>
> i already submitted a similar issue
> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-vers-6505-cannot-r…
> <https://pharo.fogbugz.com/f/cases/18221/This-interpreter-vers-6505-cannot-r…>
>
> check it and see if it is the same
>
> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi
> <a.sunardi(a)gmail.com <mailto:a.sunardi@gmail.com>>
> wrote:
>
> I'm on CentOS 6.5 and I downloaded Pharo 5 for
> GNU/Linux w. libc < 2.15 and for CentOS. Both
> won't start (I have no problem with Windows
> version):
>
> $ pharo
> This interpreter (vers. 6505) cannot read
> image file (vers. 6521).
> Press CR to quit...
>
> I'm unable to find report or information about
> this issue on the web. I think it was like
> this ~2 months ago as well. Is this a known issue?
>
> First time posting question in this mailing
> list, so I beg your pardon if I break any
> mailing list rule.
>
> --
> Andreas S
>
>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
>
>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
>
>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
>
Oct. 7, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by Clément Bera
Hello
What you describe (arg1 instead of string) means the source file is not
present. Sources are required for some FFI calls. Take the PharoV50.sources
file (you can find it here http://files.pharo.org/sources/) and put it in
the same folder as your VM. It should solve the problem.
Best,
Clement
On Fri, Oct 7, 2016 at 6:20 AM, Andreas Sunardi <a.sunardi(a)gmail.com> wrote:
> Thanks, Bernardo. That fogbugz case is exactly the problem I'm having.
>
> This VM (pharo-vm-spur-swing.zip) is able to open Pharo 5.0 image from
> Pharo download page. This is a good sign.
>
> Upon opening the image, I am, however, presented immediately with
> 'MessageNotUnderstood: receiver of "/" is nil'. It's coming from
> SystemSettingsPersistence class >> defaultPreferenceFileReference
>
> It boils down to
> OSEnvironment#getEnv: 'HOME'
>
> a failure in building an FFI call. The FFI call function signature is
> #( String getenv (String string) )
>
> The context object built from OSEnvironment#getEnv: gives answer 'arg1',
> instead of 'string', to a call to #method#argumentNames. Down the road, an
> IRMethod instance is trying to find the index for 'string' and can't find
> any, because what is stored is 'arg1'.
>
> I'm out of my depth at this point, and this is a separate issue than not
> being able to start the image. I have to think where I want to go from here.
>
> So, thank you for all of you, for the exceedingly quick and friendly help.
>
> Cheers!
>
> On Thu, Oct 6, 2016 at 5:42 PM, Bernardo Ezequiel Contreras <
> vonbecmann(a)gmail.com> wrote:
>
>> Hold on,
>>
>> There's also this issue
>> https://pharo.fogbugz.com/f/cases/17353/build-spur-vm-for-debian-old-libc
>>
>> where in one comment jan.vrany recommended his build
>>
>> https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/
>>
>> https://swing.fit.cvut.cz/jenkins/view/All/job/pharo-vm-spur
>> -swing/lastSuccessfulBuild/artifact/pharo-vm-spur-swing.zip
>>
>> that i have used in debian wheezy with the old libc for quite a while. i
>> don't use it anymore because im in jessie.
>>
>>
>>
>> On Thu, Oct 6, 2016 at 9:13 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
>> wrote:
>>
>>> Thank you for the impressive quick response. Unfortunately, I have older
>>> glibc. So now I'm struggling with compiling glibc 2.15 for 32 bit on my 64
>>> bit CentOS 6.5 machine. Not an easy thing to do.
>>>
>>> I'll try those VMs once I succeed in building this glibc
>>>
>>> On Thu, Oct 6, 2016 at 12:41 PM, Bernardo Ezequiel Contreras <
>>> vonbecmann(a)gmail.com> wrote:
>>>
>>>> this
>>>> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
>>>>
>>>> works pretty well in Debian GNU/Linux 8 Jessie
>>>>
>>>>
>>>> On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera <bera.clement(a)gmail.com>
>>>> wrote:
>>>>
>>>>> Thanks for reporting the problem.
>>>>>
>>>>> The error means the VM is incompatible with the image. There was a
>>>>> change of image format in Pharo 5, so the package has likely an old VM
>>>>> while the image has the new format, or the new VM while the image has the
>>>>> old format.
>>>>>
>>>>> Someone will look into that problem in the incoming weeks. Most Pharo
>>>>> maintainers are on Mac, we noticed recently that other OS were not
>>>>> maintained carefully enough (We're sorry about that) and we're trying to
>>>>> solve that problem.
>>>>>
>>>>> Meantime....
>>>>>
>>>>> Can you try the latest VM from here (latest.zip):
>>>>> http://files.pharo.org/vm/pharo-spur32/linux/
>>>>>
>>>>> Or if still failing, the latest VM from here (latest.zip):
>>>>> http://files.pharo.org/vm/pharo/linux/
>>>>>
>>>>> One of these two VMs should work. Please tell me which one worked if
>>>>> you try.
>>>>>
>>>>> Thanks & Regards
>>>>>
>>>>> Clement
>>>>>
>>>>> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel Contreras <
>>>>> vonbecmann(a)gmail.com> wrote:
>>>>>
>>>>>> i already submitted a similar issue
>>>>>> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-ver
>>>>>> s-6505-cannot-read-image-file-vers-6521
>>>>>>
>>>>>> check it and see if it is the same
>>>>>>
>>>>>> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I'm on CentOS 6.5 and I downloaded Pharo 5 for GNU/Linux w. libc <
>>>>>>> 2.15 and for CentOS. Both won't start (I have no problem with Windows
>>>>>>> version):
>>>>>>>
>>>>>>> $ pharo
>>>>>>> This interpreter (vers. 6505) cannot read image file (vers. 6521).
>>>>>>> Press CR to quit...
>>>>>>>
>>>>>>> I'm unable to find report or information about this issue on the
>>>>>>> web. I think it was like this ~2 months ago as well. Is this a known issue?
>>>>>>>
>>>>>>> First time posting question in this mailing list, so I beg your
>>>>>>> pardon if I break any mailing list rule.
>>>>>>>
>>>>>>> --
>>>>>>> Andreas S
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Bernardo E.C.
>>>>>>
>>>>>> Sent from a cheap desktop computer in South America.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Bernardo E.C.
>>>>
>>>> Sent from a cheap desktop computer in South America.
>>>>
>>>
>>>
>>
>>
>> --
>> Bernardo E.C.
>>
>> Sent from a cheap desktop computer in South America.
>>
>
>
Oct. 7, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by Sven Van Caekenberghe
> On 07 Oct 2016, at 06:20, Andreas Sunardi <a.sunardi(a)gmail.com> wrote:
>
> Thanks, Bernardo. That fogbugz case is exactly the problem I'm having.
>
> This VM (pharo-vm-spur-swing.zip) is able to open Pharo 5.0 image from Pharo download page. This is a good sign.
>
> Upon opening the image, I am, however, presented immediately with 'MessageNotUnderstood: receiver of "/" is nil'. It's coming from
> SystemSettingsPersistence class >> defaultPreferenceFileReference
>
> It boils down to
> OSEnvironment#getEnv: 'HOME'
>
> a failure in building an FFI call. The FFI call function signature is
> #( String getenv (String string) )
>
> The context object built from OSEnvironment#getEnv: gives answer 'arg1', instead of 'string', to a call to #method#argumentNames. Down the road, an IRMethod instance is trying to find the index for 'string' and can't find any, because what is stored is 'arg1'.
I think you are missing the correct sources files in the correct place (next to the VM binary).
> I'm out of my depth at this point, and this is a separate issue than not being able to start the image. I have to think where I want to go from here.
>
> So, thank you for all of you, for the exceedingly quick and friendly help.
>
> Cheers!
>
> On Thu, Oct 6, 2016 at 5:42 PM, Bernardo Ezequiel Contreras <vonbecmann(a)gmail.com> wrote:
> Hold on,
>
> There's also this issue
> https://pharo.fogbugz.com/f/cases/17353/build-spur-vm-for-debian-old-libc
>
> where in one comment jan.vrany recommended his build
>
> https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/
>
> https://swing.fit.cvut.cz/jenkins/view/All/job/pharo-vm-spur-swing/lastSucc…
>
> that i have used in debian wheezy with the old libc for quite a while. i don't use it anymore because im in jessie.
>
>
>
> On Thu, Oct 6, 2016 at 9:13 PM, Andreas Sunardi <a.sunardi(a)gmail.com> wrote:
> Thank you for the impressive quick response. Unfortunately, I have older glibc. So now I'm struggling with compiling glibc 2.15 for 32 bit on my 64 bit CentOS 6.5 machine. Not an easy thing to do.
>
> I'll try those VMs once I succeed in building this glibc
>
> On Thu, Oct 6, 2016 at 12:41 PM, Bernardo Ezequiel Contreras <vonbecmann(a)gmail.com> wrote:
> this
> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
>
> works pretty well in Debian GNU/Linux 8 Jessie
>
>
> On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera <bera.clement(a)gmail.com> wrote:
> Thanks for reporting the problem.
>
> The error means the VM is incompatible with the image. There was a change of image format in Pharo 5, so the package has likely an old VM while the image has the new format, or the new VM while the image has the old format.
>
> Someone will look into that problem in the incoming weeks. Most Pharo maintainers are on Mac, we noticed recently that other OS were not maintained carefully enough (We're sorry about that) and we're trying to solve that problem.
>
> Meantime....
>
> Can you try the latest VM from here (latest.zip):
> http://files.pharo.org/vm/pharo-spur32/linux/
>
> Or if still failing, the latest VM from here (latest.zip):
> http://files.pharo.org/vm/pharo/linux/
>
> One of these two VMs should work. Please tell me which one worked if you try.
>
> Thanks & Regards
>
> Clement
>
> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel Contreras <vonbecmann(a)gmail.com> wrote:
> i already submitted a similar issue
> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-vers-6505-cannot-r…
>
> check it and see if it is the same
>
> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi <a.sunardi(a)gmail.com> wrote:
> I'm on CentOS 6.5 and I downloaded Pharo 5 for GNU/Linux w. libc < 2.15 and for CentOS. Both won't start (I have no problem with Windows version):
>
> $ pharo
> This interpreter (vers. 6505) cannot read image file (vers. 6521).
> Press CR to quit...
>
> I'm unable to find report or information about this issue on the web. I think it was like this ~2 months ago as well. Is this a known issue?
>
> First time posting question in this mailing list, so I beg your pardon if I break any mailing list rule.
>
> --
> Andreas S
>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
Oct. 7, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by Andreas Sunardi
Thanks, Bernardo. That fogbugz case is exactly the problem I'm having.
This VM (pharo-vm-spur-swing.zip) is able to open Pharo 5.0 image from
Pharo download page. This is a good sign.
Upon opening the image, I am, however, presented immediately with
'MessageNotUnderstood: receiver of "/" is nil'. It's coming from
SystemSettingsPersistence class >> defaultPreferenceFileReference
It boils down to
OSEnvironment#getEnv: 'HOME'
a failure in building an FFI call. The FFI call function signature is
#( String getenv (String string) )
The context object built from OSEnvironment#getEnv: gives answer 'arg1',
instead of 'string', to a call to #method#argumentNames. Down the road, an
IRMethod instance is trying to find the index for 'string' and can't find
any, because what is stored is 'arg1'.
I'm out of my depth at this point, and this is a separate issue than not
being able to start the image. I have to think where I want to go from here.
So, thank you for all of you, for the exceedingly quick and friendly help.
Cheers!
On Thu, Oct 6, 2016 at 5:42 PM, Bernardo Ezequiel Contreras <
vonbecmann(a)gmail.com> wrote:
> Hold on,
>
> There's also this issue
> https://pharo.fogbugz.com/f/cases/17353/build-spur-vm-for-debian-old-libc
>
> where in one comment jan.vrany recommended his build
>
> https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/
>
> https://swing.fit.cvut.cz/jenkins/view/All/job/pharo-vm-spur-swing/
> lastSuccessfulBuild/artifact/pharo-vm-spur-swing.zip
>
> that i have used in debian wheezy with the old libc for quite a while. i
> don't use it anymore because im in jessie.
>
>
>
> On Thu, Oct 6, 2016 at 9:13 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
> wrote:
>
>> Thank you for the impressive quick response. Unfortunately, I have older
>> glibc. So now I'm struggling with compiling glibc 2.15 for 32 bit on my 64
>> bit CentOS 6.5 machine. Not an easy thing to do.
>>
>> I'll try those VMs once I succeed in building this glibc
>>
>> On Thu, Oct 6, 2016 at 12:41 PM, Bernardo Ezequiel Contreras <
>> vonbecmann(a)gmail.com> wrote:
>>
>>> this
>>> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
>>>
>>> works pretty well in Debian GNU/Linux 8 Jessie
>>>
>>>
>>> On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera <bera.clement(a)gmail.com>
>>> wrote:
>>>
>>>> Thanks for reporting the problem.
>>>>
>>>> The error means the VM is incompatible with the image. There was a
>>>> change of image format in Pharo 5, so the package has likely an old VM
>>>> while the image has the new format, or the new VM while the image has the
>>>> old format.
>>>>
>>>> Someone will look into that problem in the incoming weeks. Most Pharo
>>>> maintainers are on Mac, we noticed recently that other OS were not
>>>> maintained carefully enough (We're sorry about that) and we're trying to
>>>> solve that problem.
>>>>
>>>> Meantime....
>>>>
>>>> Can you try the latest VM from here (latest.zip):
>>>> http://files.pharo.org/vm/pharo-spur32/linux/
>>>>
>>>> Or if still failing, the latest VM from here (latest.zip):
>>>> http://files.pharo.org/vm/pharo/linux/
>>>>
>>>> One of these two VMs should work. Please tell me which one worked if
>>>> you try.
>>>>
>>>> Thanks & Regards
>>>>
>>>> Clement
>>>>
>>>> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel Contreras <
>>>> vonbecmann(a)gmail.com> wrote:
>>>>
>>>>> i already submitted a similar issue
>>>>> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-ver
>>>>> s-6505-cannot-read-image-file-vers-6521
>>>>>
>>>>> check it and see if it is the same
>>>>>
>>>>> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I'm on CentOS 6.5 and I downloaded Pharo 5 for GNU/Linux w. libc <
>>>>>> 2.15 and for CentOS. Both won't start (I have no problem with Windows
>>>>>> version):
>>>>>>
>>>>>> $ pharo
>>>>>> This interpreter (vers. 6505) cannot read image file (vers. 6521).
>>>>>> Press CR to quit...
>>>>>>
>>>>>> I'm unable to find report or information about this issue on the web.
>>>>>> I think it was like this ~2 months ago as well. Is this a known issue?
>>>>>>
>>>>>> First time posting question in this mailing list, so I beg your
>>>>>> pardon if I break any mailing list rule.
>>>>>>
>>>>>> --
>>>>>> Andreas S
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Bernardo E.C.
>>>>>
>>>>> Sent from a cheap desktop computer in South America.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Bernardo E.C.
>>>
>>> Sent from a cheap desktop computer in South America.
>>>
>>
>>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
Oct. 7, 2016
Pharo & macOS Sierra
by Jupiter Jones
Hi All,
I see that the latest PharoVM for 5 and 6 are again working on macOS Sierra, but not 4 or 3.
The versions Iâm using are from the ZeroConf siteâ¦
curl get.pharo.org/vm30 <http://get.pharo.org/vm30> | bash
Is it likely there will be a fix for this?
Thanks for your help,
J
Oct. 7, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by Bernardo Ezequiel Contreras
Hold on,
There's also this issue
https://pharo.fogbugz.com/f/cases/17353/build-spur-vm-for-debian-old-libc
where in one comment jan.vrany recommended his build
https://swing.fit.cvut.cz/jenkins/job/pharo-vm-spur-swing/
https://swing.fit.cvut.cz/jenkins/view/All/job/pharo-vm-spur-swing/lastSucc…
that i have used in debian wheezy with the old libc for quite a while. i
don't use it anymore because im in jessie.
On Thu, Oct 6, 2016 at 9:13 PM, Andreas Sunardi <a.sunardi(a)gmail.com> wrote:
> Thank you for the impressive quick response. Unfortunately, I have older
> glibc. So now I'm struggling with compiling glibc 2.15 for 32 bit on my 64
> bit CentOS 6.5 machine. Not an easy thing to do.
>
> I'll try those VMs once I succeed in building this glibc
>
> On Thu, Oct 6, 2016 at 12:41 PM, Bernardo Ezequiel Contreras <
> vonbecmann(a)gmail.com> wrote:
>
>> this
>> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
>>
>> works pretty well in Debian GNU/Linux 8 Jessie
>>
>>
>> On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera <bera.clement(a)gmail.com>
>> wrote:
>>
>>> Thanks for reporting the problem.
>>>
>>> The error means the VM is incompatible with the image. There was a
>>> change of image format in Pharo 5, so the package has likely an old VM
>>> while the image has the new format, or the new VM while the image has the
>>> old format.
>>>
>>> Someone will look into that problem in the incoming weeks. Most Pharo
>>> maintainers are on Mac, we noticed recently that other OS were not
>>> maintained carefully enough (We're sorry about that) and we're trying to
>>> solve that problem.
>>>
>>> Meantime....
>>>
>>> Can you try the latest VM from here (latest.zip):
>>> http://files.pharo.org/vm/pharo-spur32/linux/
>>>
>>> Or if still failing, the latest VM from here (latest.zip):
>>> http://files.pharo.org/vm/pharo/linux/
>>>
>>> One of these two VMs should work. Please tell me which one worked if you
>>> try.
>>>
>>> Thanks & Regards
>>>
>>> Clement
>>>
>>> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel Contreras <
>>> vonbecmann(a)gmail.com> wrote:
>>>
>>>> i already submitted a similar issue
>>>> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-ver
>>>> s-6505-cannot-read-image-file-vers-6521
>>>>
>>>> check it and see if it is the same
>>>>
>>>> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
>>>> wrote:
>>>>
>>>>> I'm on CentOS 6.5 and I downloaded Pharo 5 for GNU/Linux w. libc <
>>>>> 2.15 and for CentOS. Both won't start (I have no problem with Windows
>>>>> version):
>>>>>
>>>>> $ pharo
>>>>> This interpreter (vers. 6505) cannot read image file (vers. 6521).
>>>>> Press CR to quit...
>>>>>
>>>>> I'm unable to find report or information about this issue on the web.
>>>>> I think it was like this ~2 months ago as well. Is this a known issue?
>>>>>
>>>>> First time posting question in this mailing list, so I beg your pardon
>>>>> if I break any mailing list rule.
>>>>>
>>>>> --
>>>>> Andreas S
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Bernardo E.C.
>>>>
>>>> Sent from a cheap desktop computer in South America.
>>>>
>>>
>>>
>>
>>
>> --
>> Bernardo E.C.
>>
>> Sent from a cheap desktop computer in South America.
>>
>
>
--
Bernardo E.C.
Sent from a cheap desktop computer in South America.
Oct. 7, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by Andreas Sunardi
Thank you for the impressive quick response. Unfortunately, I have older
glibc. So now I'm struggling with compiling glibc 2.15 for 32 bit on my 64
bit CentOS 6.5 machine. Not an easy thing to do.
I'll try those VMs once I succeed in building this glibc
On Thu, Oct 6, 2016 at 12:41 PM, Bernardo Ezequiel Contreras <
vonbecmann(a)gmail.com> wrote:
> this
> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
>
> works pretty well in Debian GNU/Linux 8 Jessie
>
>
> On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera <bera.clement(a)gmail.com>
> wrote:
>
>> Thanks for reporting the problem.
>>
>> The error means the VM is incompatible with the image. There was a change
>> of image format in Pharo 5, so the package has likely an old VM while the
>> image has the new format, or the new VM while the image has the old format.
>>
>> Someone will look into that problem in the incoming weeks. Most Pharo
>> maintainers are on Mac, we noticed recently that other OS were not
>> maintained carefully enough (We're sorry about that) and we're trying to
>> solve that problem.
>>
>> Meantime....
>>
>> Can you try the latest VM from here (latest.zip):
>> http://files.pharo.org/vm/pharo-spur32/linux/
>>
>> Or if still failing, the latest VM from here (latest.zip):
>> http://files.pharo.org/vm/pharo/linux/
>>
>> One of these two VMs should work. Please tell me which one worked if you
>> try.
>>
>> Thanks & Regards
>>
>> Clement
>>
>> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel Contreras <
>> vonbecmann(a)gmail.com> wrote:
>>
>>> i already submitted a similar issue
>>> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-ver
>>> s-6505-cannot-read-image-file-vers-6521
>>>
>>> check it and see if it is the same
>>>
>>> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
>>> wrote:
>>>
>>>> I'm on CentOS 6.5 and I downloaded Pharo 5 for GNU/Linux w. libc < 2.15
>>>> and for CentOS. Both won't start (I have no problem with Windows version):
>>>>
>>>> $ pharo
>>>> This interpreter (vers. 6505) cannot read image file (vers. 6521).
>>>> Press CR to quit...
>>>>
>>>> I'm unable to find report or information about this issue on the web. I
>>>> think it was like this ~2 months ago as well. Is this a known issue?
>>>>
>>>> First time posting question in this mailing list, so I beg your pardon
>>>> if I break any mailing list rule.
>>>>
>>>> --
>>>> Andreas S
>>>>
>>>
>>>
>>>
>>> --
>>> Bernardo E.C.
>>>
>>> Sent from a cheap desktop computer in South America.
>>>
>>
>>
>
>
> --
> Bernardo E.C.
>
> Sent from a cheap desktop computer in South America.
>
Oct. 7, 2016
Re: [Pharo-users] [ANN] New "DarkMetalTheme" for Pharo
by Sven Van Caekenberghe
Just what do you think you're doing, Dave?
> On 06 Oct 2016, at 17:23, Offray Vladimir Luna Cárdenas <offray.luna(a)mutabit.com> wrote:
>
> Hi,
>
> Good timing. Yesterday I was playing with my Pharo env appearance:
>
> <mgpkcncgnnboeoap.png>
>
> Details on "day 3" of this blog post here (in Spanish): http://mutabit.com/offray/blog/es/entry/semana-del-codigo-2016
>
> Having more themes for Pharo is really appealing (I liked also the good amount of themes Squeak showed in the last ESUG).
>
> Cheers,
>
> Offray
>
> On 06/10/16 03:36, Esteban Lorenzano wrote:
>> Hi,
>>
>> I took some time to extract the ==MUDDarkTheme== I made for my *MUDClient>https://github.com/estebanlm/MUDClient*,
>> repackage it, rebrand it and make it available for everybody.
>>
>> So behold, the new DarkMetalTheme !
>>
>> https://github.com/estebanlm/themes
>>
>> <Mail Attachment.png>
>
Oct. 6, 2016
Re: [Pharo-users] Pharo5 download for linux - interpreter cannot read image file
by Bernardo Ezequiel Contreras
this
http://files.pharo.org/vm/pharo-spur32/linux/latest.zip
works pretty well in Debian GNU/Linux 8 Jessie
On Thu, Oct 6, 2016 at 4:09 PM, Clément Bera <bera.clement(a)gmail.com> wrote:
> Thanks for reporting the problem.
>
> The error means the VM is incompatible with the image. There was a change
> of image format in Pharo 5, so the package has likely an old VM while the
> image has the new format, or the new VM while the image has the old format.
>
> Someone will look into that problem in the incoming weeks. Most Pharo
> maintainers are on Mac, we noticed recently that other OS were not
> maintained carefully enough (We're sorry about that) and we're trying to
> solve that problem.
>
> Meantime....
>
> Can you try the latest VM from here (latest.zip):
> http://files.pharo.org/vm/pharo-spur32/linux/
>
> Or if still failing, the latest VM from here (latest.zip):
> http://files.pharo.org/vm/pharo/linux/
>
> One of these two VMs should work. Please tell me which one worked if you
> try.
>
> Thanks & Regards
>
> Clement
>
> On Thu, Oct 6, 2016 at 8:44 PM, Bernardo Ezequiel Contreras <
> vonbecmann(a)gmail.com> wrote:
>
>> i already submitted a similar issue
>> https://pharo.fogbugz.com/f/cases/18221/This-interpreter-ver
>> s-6505-cannot-read-image-file-vers-6521
>>
>> check it and see if it is the same
>>
>> On Thu, Oct 6, 2016 at 3:20 PM, Andreas Sunardi <a.sunardi(a)gmail.com>
>> wrote:
>>
>>> I'm on CentOS 6.5 and I downloaded Pharo 5 for GNU/Linux w. libc < 2.15
>>> and for CentOS. Both won't start (I have no problem with Windows version):
>>>
>>> $ pharo
>>> This interpreter (vers. 6505) cannot read image file (vers. 6521).
>>> Press CR to quit...
>>>
>>> I'm unable to find report or information about this issue on the web. I
>>> think it was like this ~2 months ago as well. Is this a known issue?
>>>
>>> First time posting question in this mailing list, so I beg your pardon
>>> if I break any mailing list rule.
>>>
>>> --
>>> Andreas S
>>>
>>
>>
>>
>> --
>> Bernardo E.C.
>>
>> Sent from a cheap desktop computer in South America.
>>
>
>
--
Bernardo E.C.
Sent from a cheap desktop computer in South America.
Oct. 6, 2016