Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- 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
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 3 participants
- 144616 messages
Re: [Pharo-dev] Epicea: Revert the removal of a class
by Henrik Sperre Johansen
tinchodias wrote
> However, I can say the Epicea changes browser is prepared
> to this scenario because it delays its UI refresh some milliseconds after
> a
> change announcement happened.
Can verify this really helps, having loaded large batches in a 6.1 image
(with no other browsers open, for obvious reasons...)
Though, it would be nice if the UI/change flushing updates were sent by
signals to corresponding threads, instead of being forked off each time.
That way, they doesn't clutter up a "start profiling all processes" with 5 -
20 ms entries for 999 different processes, so finding other slowdowns is
less of a hassle...
I assume its done the current way to avoid requiring explicit closing in
order to not leak memory (running deferrer process referencing receiver,
etc), but that can be avoided using a WeakMessageSend, see attached for
example changes:
OmDeferrerThreaded.cs
<http://forum.world.st/file/n4958297/OmDeferrerThreaded.cs>
Cheers,
Henry
--
View this message in context: http://forum.world.st/Epicea-Revert-the-removal-of-a-class-tp4957466p495829…
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Aug. 2, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Tim Mackinnon
Ah, I think Iâm starting to get closer to what I needâ¦
So if I want to load in that last piece to enable more general remote loading - how do I figure out how to do that? Iâm trying to work out where the build steps for building up the image (can I see them in Jenkins? It wasnât clear to me if I can look it up? Or the BaselineOfIDE was mentioned - looking there I can see a few metacello and gofer packages - but then I guess Iâm looking for an easy Mcz I can use with the example below?
Or do I just load Metacello as a git submodule and then it will be on my local filesystem to then bootstrap up?
I guess Iâm trying to work out the best sustainable approach to getting to a good server based image that has minimal tools and the ability to easily load remote code for pre-req projects.
Tim
> On 2 Aug 2017, at 07:05, Guillermo Polito <guillermopolito(a)gmail.com> wrote:
>
> Yes, you should be able to load an mcz in that image by doing:
>
> (MCDirectoryRepository new directory: 'where-your-mcz-is')
> loadVersionFromFileNamed: 'Metacello-GitBasedRepository-Author.1.mcz') load.
>
> Guille
>
> On Wed, Aug 2, 2017 at 7:57 AM, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>
> 2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
> Hi Pavel - I tried it again and the problem is do with Metacello dependencies in your baseline.
>
> The SUnit baseline doesnât specify any additional dependencies to load (it just loads local packages), whereas my baseline that fails looks like this:
>
> baseline: spec
> <baseline>
>
> spec for: #common do: [
> spec configuration: 'ZTimestamp' with: [
> spec
> versionString: #stable;
> repository: 'http://mc.stfx.eu/Neo <http://mc.stfx.eu/Neo>' ].
>
> spec baseline: 'AWS' with: [
> spec repository: 'github://newapplesho/aws-sdk-smalltalk:v1.10/pharo-repository <>' ].
>
> spec
> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>
> ].
>
>
> The âspec configuration: â¦.â Specifications cause the error:
>
> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
> 26 MCRepositoryGroup>>addRepository:
>
> If I remove those lines from my baseline above (as well the requires: reference to them) I can then successfully load my packages.
>
> So is this something the minimal image should support (otherwise how do you load external packages into your image without checking them in locally?) OR is there something simple I can checkin and load locally to return that behaviour? (Personally I think it would make sense to allow remote loading - Iâm guessing Pharo itself as a core has everything it needs - but if you want to do any experimentation on the core and need remote packages, you would hit this too - so it feels a bit limiting).
>
> The dependencies in th baseline are supported but the support for most of external repositories (like package Metacello-GitBasedRepository) is loaded at the end of bootstrapping process in BaselineOfIDE. We should check/solve dependencies and move it into the minimal Pharo. For now you can try to load it by yourself or work with already prepared local clones of required repositories.
>
> -- Pavel
>
>
>
>
> Tim
>
>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>>
>>
>>
>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess… <https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess…> one still shows as being last updated 7 days ago.
>>
>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu… <https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu…> one gives me a mismatch error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>
>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu… <https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu…> one gives me a walkback when trying to run my install script :
>>
>> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
>> 26 MCRepositoryGroup>>addRepository:
>> 27 createRepository
>> | repo |
>> repo := self project createRepository: self.
>> ^ MCRepositoryGroup default repositories
>> detect: [ :each | each = repo ]
>> ifNone: [
>> MCRepositoryGroup default addRepository: repo.
>> repo ] in MetacelloRepositorySpec>>createRepository
>>
>> I think this is because the image doesnât support Metacello? As in:
>> Metacello new
>> repository: 'filetree://../src <>';
>> baseline: 'Lambda';
>> load.
>>
>> How do you guys load things into the minimal images (I thought you used Metacello - but maybe you do it some other way?)
>>
>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd really like a minimal solution - that can load in libraries like AWS S3, or XML parsing etc. and it seems like I should be a good customer for kicking the tires on all of this.
>>
>> Tim
>>
>>
>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of SUnit from pharo-project/pharo) works:
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new baseline: 'SUnit'; repository: 'filetree://./pharo-core/src <>'; load."
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>
>> Can you test it too?
>>
>> -- Pavel
>
>
>
>
>
> --
>
> Guille Polito
>
> Research Engineer
> French National Center for Scientific Research - http://www.cnrs.fr <http://www.cnrs.fr/>
>
>
> Web: http://guillep.github.io <http://guillep.github.io/>
> Phone: +33 06 52 70 66 13
Aug. 2, 2017
Re: [Pharo-dev] Calypso browser and categories?
by Denis Kudriashov
2017-08-02 13:55 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>
>
> On Tue, Aug 1, 2017 at 11:32 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
> wrote:
>
>> And I released new version with all fixes
>>
>>
> Cool! I just tested and everything seems to work nicely. Thanks Denis for
> the fixes and new release. A pleasure to be using this browser.
> You know... it's easier for me to simply complain about bugs or missing
> features than talk about the cool things about it. The latter would take me
> hours ;)
>
Do not stop complain. It forced me to fix boring things :)
>
>
>
>> 2017-08-01 14:56 GMT+02:00 Denis Kudriashov <dionisiydk(a)gmail.com>:
>>
>>> Also try alt+left to navigation back in such cases.
>>>>
>>>>
>>>>
>>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>>> displayed on right click menu.
>>>>
>>>
>>> There is no special tool for this. But you can browse all references
>>> to CmdShortcutCommandActivator. It will gives you list of command
>>> classes which can be accessed by shortcut. And in every found method you
>>> will see keymap.
>>>
>>>
>>>> Maybe there are shortcuts for moving across panes? I always wanted
>>>> that... say I am in the code area of a method and I would like to move to
>>>> the package panel, or the class panel.. with the keyboard...
>>>
>>>
>>> I not implemented it. If you know how to do it in Morphic with given
>>> morph instance then you can try implement it by yourself. Look at
>>> ClyShowMessageSenderCommand as example of command which interact with
>>> browser. You can ask it for methodView, classView, packageView and so on.
>>> They are all just morphs.
>>>
>>>
>>> 2017-08-01 14:26 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com>
>>> :
>>>
>>>>
>>>>
>>>> On Tue, Aug 1, 2017 at 9:10 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> 2017-07-31 23:50 GMT+02:00 Mariano Martinez Peck <
>>>>> marianopeck(a)gmail.com>:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 31, 2017 at 6:15 PM, Denis Kudriashov <
>>>>>> dionisiydk(a)gmail.com> wrote:
>>>>>>
>>>>>>> Hi Mariano.
>>>>>>>
>>>>>>> You right. Method for this was implemented but I forgot to use it in
>>>>>>> #selectClass: logic.
>>>>>>> I committed fix to dev branch. I will realze new version soon.
>>>>>>>
>>>>>>>
>>>>>> OK, great. Let me know when you want me to test it. I am glad it was
>>>>>> a "bug". I thought it might have been some "decision".
>>>>>>
>>>>>
>>>>> It was not a bug but missing feature :)
>>>>>
>>>>>
>>>>
>>>> :)
>>>>
>>>>
>>>>
>>>>>
>>>>>>
>>>>>>> But I am not sure that it is only issue you are talking about.
>>>>>>>
>>>>>>
>>>>>> Yeah, I figured I can see it elsewhere. But I will find them if there
>>>>>> are other places...
>>>>>>
>>>>>>
>>>>>> BTW, I also found some other small issues which I comment below. Do
>>>>>> you want me to open issues on github for them?
>>>>>>
>>>>>
>>>>> Yes, please :)
>>>>>
>>>>>
>>>>>>
>>>>>> * "Windows" -> "Delete all windows discarding edits" -> does not
>>>>>> close Calypso windows with none saved edits
>>>>>>
>>>>>
>>>>> Never use it. Now I look at implementation and it is super naive. Not
>>>>> sure that we should modify Calypso to satisfy this approach. I thing there
>>>>> are other tools which will be not closed by this command
>>>>>
>>>>
>>>>
>>>> Well, I use it quite frequently. Whenever I am done with implementing a
>>>> given feature, or fixing a given bug, I close everything, I evaluate a
>>>> workspace that I always have at hand that does some cleanup, and I am ready
>>>> to go to the next task. So I hate when I cannot easily close all windows.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>> * When I have a class opened, with a method opened, then I go to the
>>>>>> class comment tab and I save the class comment, calypso automatically gives
>>>>>> me focus
>>>>>> back to the "method tab" rather than staying in the class comment.
>>>>>> This is annoying as i like to save my class comment frequently and not they
>>>>>> flip to another tab.
>>>>>>
>>>>>
>>>>> Strangely I can not reproduce it. Do you see this all the time? Try
>>>>> open new browser and repeat it.
>>>>>
>>>>
>>>>
>>>> mmmm weird. I tried again and I failed to reproduce it hahah. Ok.....
>>>> ignore it... unless I find a reproducible case.
>>>>
>>>>
>>>>
>>>>> Also try alt+left to navigation back in such cases.
>>>>>
>>>>>
>>>>
>>>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>>> displayed on right click menu.
>>>> Maybe there are shortcuts for moving across panes? I always wanted
>>>> that... say I am in the code area of a method and I would like to move to
>>>> the package panel, or the class panel.. with the keyboard...
>>>>
>>>>
>>>>
>>>>
>>>>> * I wish the "new protocol" offers me the existing ones as I type...as
>>>>>> I normally re-use existing protocols (on purpose) and its easy to make
>>>>>> small typos or differences with the original ones.
>>>>>>
>>>>>
>>>>> Done. Use Iceberg to update SystemCommands project (metacello script
>>>>> could not work)
>>>>>
>>>>
>>>>
>>>> Awesome. Thanks.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Thoughts?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> 2017-07-31 18:25 GMT+02:00 Mariano Martinez Peck <
>>>>>>> marianopeck(a)gmail.com>:
>>>>>>>
>>>>>>>> Hi Denis,
>>>>>>>>
>>>>>>>> I wanted to give a serious test to Calypso, that is, start using it
>>>>>>>> all day long. However, there is a critical thing I am missing, which is the
>>>>>>>> grouping of categories (inside packages).
>>>>>>>>
>>>>>>>> I do not want to start discussing again packages vs categories and
>>>>>>>> what are good and bad practices. I do have a few packages and each package
>>>>>>>> may have several categories inside. So... seeing all classes together
>>>>>>>> inside a package is not nice for me.
>>>>>>>>
>>>>>>>> Is there a way in calypso to auto-escope to category level? I
>>>>>>>> mean... say my package is XXX and I have categories XXX-A and XXX-B. I know
>>>>>>>> I can go to left side column and with the tree, I can go to XXX-A and I get
>>>>>>>> what I want. But, for example, when I browse a class of XXX-A, the "focus"
>>>>>>>> of the left side column is XXX and not XXX-A. So I am wondering if we can
>>>>>>>> make it auto-scope to the category everywhere in Calypso.
>>>>>>>>
>>>>>>>> Thanks in advance,
>>>>>>>>
>>>>>>>> --
>>>>>>>> Mariano
>>>>>>>> http://marianopeck.wordpress.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Mariano
>>>>>> http://marianopeck.wordpress.com
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>
>>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Aug. 2, 2017
Re: [Pharo-dev] Calypso browser and categories?
by Mariano Martinez Peck
On Tue, Aug 1, 2017 at 11:32 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
wrote:
> And I released new version with all fixes
>
>
Cool! I just tested and everything seems to work nicely. Thanks Denis for
the fixes and new release. A pleasure to be using this browser.
You know... it's easier for me to simply complain about bugs or missing
features than talk about the cool things about it. The latter would take me
hours ;)
> 2017-08-01 14:56 GMT+02:00 Denis Kudriashov <dionisiydk(a)gmail.com>:
>
>> Also try alt+left to navigation back in such cases.
>>>
>>>
>>>
>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>> displayed on right click menu.
>>>
>>
>> There is no special tool for this. But you can browse all references
>> to CmdShortcutCommandActivator. It will gives you list of command
>> classes which can be accessed by shortcut. And in every found method you
>> will see keymap.
>>
>>
>>> Maybe there are shortcuts for moving across panes? I always wanted
>>> that... say I am in the code area of a method and I would like to move to
>>> the package panel, or the class panel.. with the keyboard...
>>
>>
>> I not implemented it. If you know how to do it in Morphic with given
>> morph instance then you can try implement it by yourself. Look at
>> ClyShowMessageSenderCommand as example of command which interact with
>> browser. You can ask it for methodView, classView, packageView and so on.
>> They are all just morphs.
>>
>>
>> 2017-08-01 14:26 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>>
>>>
>>>
>>> On Tue, Aug 1, 2017 at 9:10 AM, Denis Kudriashov <dionisiydk(a)gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> 2017-07-31 23:50 GMT+02:00 Mariano Martinez Peck <marianopeck(a)gmail.com
>>>> >:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Jul 31, 2017 at 6:15 PM, Denis Kudriashov <
>>>>> dionisiydk(a)gmail.com> wrote:
>>>>>
>>>>>> Hi Mariano.
>>>>>>
>>>>>> You right. Method for this was implemented but I forgot to use it in
>>>>>> #selectClass: logic.
>>>>>> I committed fix to dev branch. I will realze new version soon.
>>>>>>
>>>>>>
>>>>> OK, great. Let me know when you want me to test it. I am glad it was a
>>>>> "bug". I thought it might have been some "decision".
>>>>>
>>>>
>>>> It was not a bug but missing feature :)
>>>>
>>>>
>>>
>>> :)
>>>
>>>
>>>
>>>>
>>>>>
>>>>>> But I am not sure that it is only issue you are talking about.
>>>>>>
>>>>>
>>>>> Yeah, I figured I can see it elsewhere. But I will find them if there
>>>>> are other places...
>>>>>
>>>>>
>>>>> BTW, I also found some other small issues which I comment below. Do
>>>>> you want me to open issues on github for them?
>>>>>
>>>>
>>>> Yes, please :)
>>>>
>>>>
>>>>>
>>>>> * "Windows" -> "Delete all windows discarding edits" -> does not close
>>>>> Calypso windows with none saved edits
>>>>>
>>>>
>>>> Never use it. Now I look at implementation and it is super naive. Not
>>>> sure that we should modify Calypso to satisfy this approach. I thing there
>>>> are other tools which will be not closed by this command
>>>>
>>>
>>>
>>> Well, I use it quite frequently. Whenever I am done with implementing a
>>> given feature, or fixing a given bug, I close everything, I evaluate a
>>> workspace that I always have at hand that does some cleanup, and I am ready
>>> to go to the next task. So I hate when I cannot easily close all windows.
>>>
>>>
>>>
>>>>
>>>>
>>>>> * When I have a class opened, with a method opened, then I go to the
>>>>> class comment tab and I save the class comment, calypso automatically gives
>>>>> me focus
>>>>> back to the "method tab" rather than staying in the class comment.
>>>>> This is annoying as i like to save my class comment frequently and not they
>>>>> flip to another tab.
>>>>>
>>>>
>>>> Strangely I can not reproduce it. Do you see this all the time? Try
>>>> open new browser and repeat it.
>>>>
>>>
>>>
>>> mmmm weird. I tried again and I failed to reproduce it hahah. Ok.....
>>> ignore it... unless I find a reproducible case.
>>>
>>>
>>>
>>>> Also try alt+left to navigation back in such cases.
>>>>
>>>>
>>>
>>> I wasn't aware of those shortcuts. *Is there a list somewhere of all
>>> available shortcuts in Calypso? * I mean, those that are not obviously
>>> displayed on right click menu.
>>> Maybe there are shortcuts for moving across panes? I always wanted
>>> that... say I am in the code area of a method and I would like to move to
>>> the package panel, or the class panel.. with the keyboard...
>>>
>>>
>>>
>>>
>>>> * I wish the "new protocol" offers me the existing ones as I type...as
>>>>> I normally re-use existing protocols (on purpose) and its easy to make
>>>>> small typos or differences with the original ones.
>>>>>
>>>>
>>>> Done. Use Iceberg to update SystemCommands project (metacello script
>>>> could not work)
>>>>
>>>
>>>
>>> Awesome. Thanks.
>>>
>>>
>>>
>>>>
>>>>
>>>>>
>>>>> Thoughts?
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>>
>>>>>> 2017-07-31 18:25 GMT+02:00 Mariano Martinez Peck <
>>>>>> marianopeck(a)gmail.com>:
>>>>>>
>>>>>>> Hi Denis,
>>>>>>>
>>>>>>> I wanted to give a serious test to Calypso, that is, start using it
>>>>>>> all day long. However, there is a critical thing I am missing, which is the
>>>>>>> grouping of categories (inside packages).
>>>>>>>
>>>>>>> I do not want to start discussing again packages vs categories and
>>>>>>> what are good and bad practices. I do have a few packages and each package
>>>>>>> may have several categories inside. So... seeing all classes together
>>>>>>> inside a package is not nice for me.
>>>>>>>
>>>>>>> Is there a way in calypso to auto-escope to category level? I
>>>>>>> mean... say my package is XXX and I have categories XXX-A and XXX-B. I know
>>>>>>> I can go to left side column and with the tree, I can go to XXX-A and I get
>>>>>>> what I want. But, for example, when I browse a class of XXX-A, the "focus"
>>>>>>> of the left side column is XXX and not XXX-A. So I am wondering if we can
>>>>>>> make it auto-scope to the category everywhere in Calypso.
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> --
>>>>>>> Mariano
>>>>>>> http://marianopeck.wordpress.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mariano
>>>>> http://marianopeck.wordpress.com
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>
>>
>
--
Mariano
http://marianopeck.wordpress.com
Aug. 2, 2017
Re: [Pharo-dev] Lots of "UTF8InvalidText: Invalid utf8 input detected" from OMBU
by Mariano Martinez Peck
On Tue, Aug 1, 2017 at 11:34 AM, Martin Dias <tinchodias(a)gmail.com> wrote:
> Hello:
> So, is this patch working fine?
>
>
Well...it's has been a couple of days already and I haven't seen the issue
again, so I guess yes, the workaround works...
> Cheers
> Martin
>
> On Thu, Jul 27, 2017 at 10:17 AM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
>
>>
>>
>> On Wed, Jul 26, 2017 at 6:36 AM, Henrik Sperre Johansen <
>> henrik.s.johansen(a)veloxit.no> wrote:
>>
>>> There's https://pharo.fogbugz.com/f/cases/20112/, your error could be
>>> the
>>> same.
>>> (a multibyte character crossing the initial-guess block boundary)
>>>
>>> As outlined there, the (temp) fix is to put an error handler around the
>>> nextEntryPositionIfFound:ifNone: call in refreshNewBlocksFrom:
>>>
>>>
>> Hi Henry,
>>
>> Thanks for the pointer. I patched my images with your workaround. I will
>> use it for a couple of days and I will later tell if you it seems to fix it
>> or not.
>>
>> Cheers,
>>
>>
>>
>>> Cheers,
>>> Henry
>>>
>>>
>>>
>>> --
>>> View this message in context: http://forum.world.st/Lots-of-
>>> UTF8InvalidText-Invalid-utf8-input-detected-from-OMBU-tp4956
>>> 734p4956805.html
>>> Sent from the Pharo Smalltalk Developers mailing list archive at
>>> Nabble.com.
>>>
>>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
--
Mariano
http://marianopeck.wordpress.com
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Alistair Grant
On Wed, Aug 02, 2017 at 09:35:02AM +0200, Pavel Krivanek wrote:
>
>
> 2017-08-02 9:28 GMT+02:00 Alistair Grant <akgrant0710(a)gmail.com>:
>
> Hi Pavel,
>
> On Tue, Aug 01, 2017 at 11:57:23AM +0200, Pavel Krivanek wrote:
> > Hello,
> >
> > we are checking a huge pull request #177 (https://github.com/pharo-
> project/
> > pharo/pull/177) that will change some basics of the bootstrap process:
> >
> > ...
> >
> > So please, try to look at the PR and test the resultant image [1] to
> avoid some
> > major problems.
> >
> > [1] https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/
> lastSuccessfulBuild
> > /artifact/bootstrap-cache/Pharo7.0-32bit-9c0691d.zip
>
> This image had gone by the time I tried to download it, however the same
> directory contained Pharo7.0-32bit-58e8755.
>
>
> There were some fixing commits to the PR so the build hash changed. The
> original download link should contain build number, not symbolic
> lastSuccessfulBuild. Sorry for troubles.
Thanks for the clarification.
The main point of my message was that I was able to do some successfull
testing (as requested), and which version was tested. :-)
Cheers,
Alistair
> I did some ad hoc testing with my current Pharo 7 code and it worked
> without any problems. (but this is only a small test)
>
> P.S. It would be great if the archive name included something that would
> allow us to easily guess which is a newer version, e.g.
>
> git rev-list --count HEAD
>
>
> Thanks,
> Alistair
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Pavel Krivanek
2017-08-02 9:28 GMT+02:00 Alistair Grant <akgrant0710(a)gmail.com>:
> Hi Pavel,
>
> On Tue, Aug 01, 2017 at 11:57:23AM +0200, Pavel Krivanek wrote:
> > Hello,
> >
> > we are checking a huge pull request #177 (https://github.com/pharo-
> project/
> > pharo/pull/177) that will change some basics of the bootstrap process:
> >
> > ...
> >
> > So please, try to look at the PR and test the resultant image [1] to
> avoid some
> > major problems.
> >
> > [1] https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/
> lastSuccessfulBuild
> > /artifact/bootstrap-cache/Pharo7.0-32bit-9c0691d.zip
>
> This image had gone by the time I tried to download it, however the same
> directory contained Pharo7.0-32bit-58e8755.
>
There were some fixing commits to the PR so the build hash changed. The
original download link should contain build number, not symbolic
lastSuccessfulBuild. Sorry for troubles.
-- Pavel
>
> I did some ad hoc testing with my current Pharo 7 code and it worked
> without any problems. (but this is only a small test)
>
> P.S. It would be great if the archive name included something that would
> allow us to easily guess which is a newer version, e.g.
>
> git rev-list --count HEAD
>
>
> Thanks,
> Alistair
>
>
>
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Alistair Grant
Hi Pavel,
On Tue, Aug 01, 2017 at 11:57:23AM +0200, Pavel Krivanek wrote:
> Hello,
>
> we are checking a huge pull request #177 (https://github.com/pharo-project/
> pharo/pull/177) that will change some basics of the bootstrap process:
>
> ...
>
> So please, try to look at the PR and test the resultant image [1] to avoid some
> major problems.
>
> [1] https://ci.inria.fr/pharo/view/7.0/job/70-PR-Check-Load/lastSuccessfulBuild
> /artifact/bootstrap-cache/Pharo7.0-32bit-9c0691d.zip
This image had gone by the time I tried to download it, however the same
directory contained Pharo7.0-32bit-58e8755.
I did some ad hoc testing with my current Pharo 7 code and it worked
without any problems. (but this is only a small test)
P.S. It would be great if the archive name included something that would
allow us to easily guess which is a newer version, e.g.
git rev-list --count HEAD
Thanks,
Alistair
Aug. 2, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Guillermo Polito
Yes, you should be able to load an mcz in that image by doing:
(MCDirectoryRepository new directory: 'where-your-mcz-is')
loadVersionFromFileNamed: 'Metacello-GitBasedRepository-Author.1.mcz')
load.
Guille
On Wed, Aug 2, 2017 at 7:57 AM, Pavel Krivanek <pavel.krivanek(a)gmail.com>
wrote:
>
> 2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>
>> Hi Pavel - I tried it again and the problem is do with Metacello
>> dependencies in your baseline.
>>
>> The SUnit baseline doesnât specify any additional dependencies to load
>> (it just loads local packages), whereas my baseline that fails looks like
>> this:
>>
>> baseline: spec
>> <baseline>
>>
>> spec for: #common do: [
>> spec configuration: 'ZTimestamp' with: [
>> spec
>> versionString: #stable;
>> repository: 'http://mc.stfx.eu/Neo' ].
>> spec baseline: 'AWS' with: [
>> spec repository: 'github://newapplesho/aws-sdk-
>> smalltalk:v1.10/pharo-repository' ].
>> spec
>> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>> ].
>>
>>
>> The âspec configuration: â¦.â Specifications cause the error:
>>
>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>> 26 MCRepositoryGroup>>addRepository:
>>
>> If I remove those lines from my baseline above (as well the requires:
>> reference to them) I can then successfully load my packages.
>>
>> So is this something the minimal image should support (otherwise how do
>> you load external packages into your image without checking them in
>> locally?) OR is there something simple I can checkin and load locally to
>> return that behaviour? (Personally I think it would make sense to allow
>> remote loading - Iâm guessing Pharo itself as a core has everything it
>> needs - but if you want to do any experimentation on the core and need
>> remote packages, you would hit this too - so it feels a bit limiting).
>>
>
> The dependencies in th baseline are supported but the support for most of
> external repositories (like package Metacello-GitBasedRepository) is loaded
> at the end of bootstrapping process in BaselineOfIDE. We should check/solve
> dependencies and move it into the minimal Pharo. For now you can try to
> load it by yourself or work with already prepared local clones of required
> repositories.
>
> -- Pavel
>
>
>
>
>>
>> Tim
>>
>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com> wrote:
>>
>>
>>
>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>>
>>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/
>>> job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccessfulBuild/ar
>>> tifact/Pharo-minimal-64.zip one still shows as being last updated 7
>>> days ago.
>>>
>>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0
>>> -Step-04-01-ConfigurationOfMinimalPharo/ one gives me a mismatch
>>> error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>>
>>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bi
>>> t-Conversion/lastSuccessfulBuild/artifact/latest-minimal-64.zip one
>>> gives me a walkback when trying to run my install script :
>>>
>>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>>> 26 MCRepositoryGroup>>addRepository:
>>> 27 createRepository
>>> | repo |
>>> repo := self project createRepository: self.
>>> ^ MCRepositoryGroup default repositories
>>> detect: [ :each | each = repo ]
>>> ifNone: [
>>> MCRepositoryGroup default addRepository: repo.
>>> repo ] in MetacelloRepositorySpec>>createRepository
>>>
>>> I think this is because the image doesnât support Metacello? As in:
>>>
>>> Metacello new
>>> repository: 'filetree://../src';
>>> baseline: 'Lambda';
>>> load.
>>>
>>>
>>> How do you guys load things into the minimal images (I thought you used
>>> Metacello - but maybe you do it some other way?)
>>>
>>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd
>>> really like a minimal solution - that can load in libraries like AWS S3, or
>>> XML parsing etc. and it seems like I should be a good customer for kicking
>>> the tires on all of this.
>>>
>>> Tim
>>>
>>>
>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of
>> SUnit from pharo-project/pharo) works:
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new
>> baseline: 'SUnit'; repository: 'filetree://./pharo-core/src'; load."
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>
>> Can you test it too?
>>
>> -- Pavel
>>
>>
>>
>
--
Guille Polito
Research Engineer
French National Center for Scientific Research - *http://www.cnrs.fr*
<http://www.cnrs.fr>
*Web:* *http://guillep.github.io* <http://guillep.github.io>
*Phone: *+33 06 52 70 66 13
Aug. 2, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Pavel Krivanek
2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
> Hi Pavel - I tried it again and the problem is do with Metacello
> dependencies in your baseline.
>
> The SUnit baseline doesnât specify any additional dependencies to load (it
> just loads local packages), whereas my baseline that fails looks like this:
>
> baseline: spec
> <baseline>
>
> spec for: #common do: [
> spec configuration: 'ZTimestamp' with: [
> spec
> versionString: #stable;
> repository: 'http://mc.stfx.eu/Neo' ].
> spec baseline: 'AWS' with: [
> spec repository: 'github://newapplesho/aws-sdk-smalltalk:v1.10/pharo-
> repository' ].
> spec
> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
> ].
>
>
> The âspec configuration: â¦.â Specifications cause the error:
>
> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
> 26 MCRepositoryGroup>>addRepository:
>
> If I remove those lines from my baseline above (as well the requires:
> reference to them) I can then successfully load my packages.
>
> So is this something the minimal image should support (otherwise how do
> you load external packages into your image without checking them in
> locally?) OR is there something simple I can checkin and load locally to
> return that behaviour? (Personally I think it would make sense to allow
> remote loading - Iâm guessing Pharo itself as a core has everything it
> needs - but if you want to do any experimentation on the core and need
> remote packages, you would hit this too - so it feels a bit limiting).
>
The dependencies in th baseline are supported but the support for most of
external repositories (like package Metacello-GitBasedRepository) is loaded
at the end of bootstrapping process in BaselineOfIDE. We should check/solve
dependencies and move it into the minimal Pharo. For now you can try to
load it by yourself or work with already prepared local clones of required
repositories.
-- Pavel
>
> Tim
>
> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com> wrote:
>
>
>
> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>
>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/
>> job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccessfulBuild/ar
>> tifact/Pharo-minimal-64.zip one still shows as being last updated 7 days
>> ago.
>>
>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0
>> -Step-04-01-ConfigurationOfMinimalPharo/ one gives me a mismatch
>> error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>
>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bi
>> t-Conversion/lastSuccessfulBuild/artifact/latest-minimal-64.zip one
>> gives me a walkback when trying to run my install script :
>>
>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>> 26 MCRepositoryGroup>>addRepository:
>> 27 createRepository
>> | repo |
>> repo := self project createRepository: self.
>> ^ MCRepositoryGroup default repositories
>> detect: [ :each | each = repo ]
>> ifNone: [
>> MCRepositoryGroup default addRepository: repo.
>> repo ] in MetacelloRepositorySpec>>createRepository
>>
>> I think this is because the image doesnât support Metacello? As in:
>>
>> Metacello new
>> repository: 'filetree://../src';
>> baseline: 'Lambda';
>> load.
>>
>>
>> How do you guys load things into the minimal images (I thought you used
>> Metacello - but maybe you do it some other way?)
>>
>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd
>> really like a minimal solution - that can load in libraries like AWS S3, or
>> XML parsing etc. and it seems like I should be a good customer for kicking
>> the tires on all of this.
>>
>> Tim
>>
>>
> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of
> SUnit from pharo-project/pharo) works:
>
> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new
> baseline: 'SUnit'; repository: 'filetree://./pharo-core/src'; load."
>
> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>
> Can you test it too?
>
> -- Pavel
>
>
>
Aug. 2, 2017