Pharo-dev
By thread
pharo-dev@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
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
July 2018
- 175 messages
Re: [Pharo-dev] ZnUnicodeComposingReadStream?
by Sven Van Caekenberghe
Alistair, are you aware of the following (article/codebase) ?
https://medium.com/concerning-pharo/an-implementation-of-unicode-normalizat…
Due to the size of the full DB it is doubtful it would become a standard part of Pharo though.
Sven
> On 13 Jul 2018, at 19:46, Alistair Grant <akgrant0710(a)gmail.com> wrote:
>
> Hi Sven & Everyone,
>
> I need to convert an UTF8 encoded decomposed stream (Mac OS file
> names) in to a composed string, e.g.:
>
> string: 'test-äöü-aÌoÌuÌ'
> code points: #(116 101 115 116 45 228 246 252 45 97 776 111 776 117 776)
> utf8 encoding: #[116 101 115 116 45 195 164 195 182 195 188 45 97 204
> 136 111 204 136 117 204 136]
>
> In the above string, the first group of 3 accented characters are the
> same as the second group of 3, but are encoded differently - code
> points (228 246 252) vs (97 776 111 776 117 776).
>
> Reading the utf8 encoded stream should result in:
>
> string: 'test-äöü-äöü'
> code points: #(116 101 115 116 45 228 246 252 45 228 246 252)
> utf8 encoding: #[116 101 115 116 45 195 164 195 182 195 188 45 195 164
> 195 182 195 188]
>
> My current thought is to write a ZnUnicodeComposingReadStream which
> would wrap a ZnCharacterReadStream and return the composed characters.
>
> What do you think?
>
> Thanks!
> Alistair
>
July 13, 2018
ZnUnicodeComposingReadStream?
by Alistair Grant
Hi Sven & Everyone,
I need to convert an UTF8 encoded decomposed stream (Mac OS file
names) in to a composed string, e.g.:
string: 'test-äöü-aÌoÌuÌ'
code points: #(116 101 115 116 45 228 246 252 45 97 776 111 776 117 776)
utf8 encoding: #[116 101 115 116 45 195 164 195 182 195 188 45 97 204
136 111 204 136 117 204 136]
In the above string, the first group of 3 accented characters are the
same as the second group of 3, but are encoded differently - code
points (228 246 252) vs (97 776 111 776 117 776).
Reading the utf8 encoded stream should result in:
string: 'test-äöü-äöü'
code points: #(116 101 115 116 45 228 246 252 45 228 246 252)
utf8 encoding: #[116 101 115 116 45 195 164 195 182 195 188 45 195 164
195 182 195 188]
My current thought is to write a ZnUnicodeComposingReadStream which
would wrap a ZnCharacterReadStream and return the composed characters.
What do you think?
Thanks!
Alistair
July 13, 2018
[Pharo 7.0-dev] Build #1123: 22246 Provide #digitSum in Integer + tests
by ci-pharo-ci-jenkins2@inria.fr
There is a new Pharo build available!
The status of the build #1123 was: FAILURE.
The Pull Request #1628 was integrated: "22246 Provide #digitSum in Integer + tests"
Pull request url: https://github.com/pharo-project/pharo/pull/1628
Issue Url: https://pharo.fogbugz.com/f/cases/22246
Build Url: https://ci.inria.fr/pharo-ci-jenkins2/job/Test%20pending%20pull%20request%2…
July 13, 2018
Re: [Pharo-dev] Win10/Launcher/Pharo7.1122--ZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?)
by Ben Coman
On 12 July 2018 at 11:18, Ben Coman <btc(a)openinworld.com> wrote:
> This time I also saw some additional info in the debug console...
> # Debug console
> # To close: F2 -> 'debug options' -> 'show output console'
> # To disable: F2 -> 'debug options' -> 'show console on errors'
> LoadLibrary(SqueakSSL) (998: Invalid access to memory location.)
> LoadLibrary(SqueakSSL.dll) (998: Invalid access to memory location.)
> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL) (998: Invalid access
> to memory location.)
> LoadLibrary(C:\Apps\pharo-win-stable\SqueakSSL.dll) (998: Invalid
> access to memory location.)
> general vicinity of the error...
> https://github.com/OpenSmalltalk/opensmalltalk-vm/blame/Cog/platforms/win32…
Per suggestion dealing with similar issue with FreeType, rebooting my
machine fixed it.
Now here...
https://www.experts-exchange.com/questions/21065604/LoadLibrary-returns-998…
I see here I was mistaken that "998" is not a line number but an error
code "NOACCESS".
I discovered many queries about error 998 for other software with most
answers saying "reinstall the software",
but the only vaguely useful info was this "Windows 7 - LoadLibrary()
fails (32bit) - why?" ...
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/e4138698-e5a2…
cheers -ben
July 13, 2018
Re: [Pharo-dev] Problem with zinc 2.9.2
by Max Leske
On 13 Jul 2018, at 13:37, Norbert Hartl wrote:
> Sven,
>
> for me the problem is only on linux
Yes, exactly. The problem doesn't exist on macOS. I tested on Ubuntu
17.04 (32-bit).
>
> Norbert
>
>> Am 13.07.2018 um 13:26 schrieb Sven Van Caekenberghe <sven(a)stfx.eu>:
>>
>>
>>
>>> On 12 Jul 2018, at 23:15, Max Leske <maxleske(a)gmail.com> wrote:
>>>
>>> Hi Norbert,
>>>
>>> I was able to reproduce the problem and then identify the culprit,
>>> although what I don't yet understand is how this is related to the
>>> changes in Zinc.
>>>
>>> Anyway, the problem is that the file stream isn't properly flushed
>>> in ZnUtils class>>streamFrom:to:size:. Adding outputStream flush as
>>> the last statement fixes your problem. Apparently,
>>> StandardFileStream / MultiByteFileStream perform a simple close() on
>>> the file which, according to the man page on close(), does not
>>> guarantee that the contents have all been written to file. In this
>>> case a flush is necessary because the entire file is immediately
>>> read again.
>>>
>>> Here's a smaller test case for you to play with Sven:
>>>
>>> ZnClient new
>>> url: 'https://github.com/zweidenker/Parasol/archive/master.zip';
>>> downloadTo: '/tmp/foobar.zip'.
>>> bytes := '/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s
>>> | s contents ].
>>> Transcript open; show: bytes size; cr.
>>> 5 seconds asDelay wait.
>>> Transcript show: ('/tmp/foobar.zip' asFileReference
>>> binaryReadStreamDo: [ :s | s contents ]) size.
>>>
>>> The output in the Transcript should be:
>>>
>>> 315392
>>> 318420
>>
>> Thanks for the effort, Max, but I am confused about your runnable
>> snippet. For me (macOS, Pharo 7) is gives
>>
>> 318420
>> 318420
>>
>> as it should, reading the same file twice. Did I miss something or
>> did you make a typo ?
>>
>> As for #close, it is my understanding that Pharo did a #flush before
>> doing a #close, but maybe that is no longer true with the new
>> primitive streams, we'll have to check carefully.
>>
>> Good catch. I'll think about your suggestion (there are already
>> #flush messages sent, but indeed the last one would be missing).
>>
>>> Cheers,
>>> Max
>>>
>>> On 12 Jul 2018, at 8:17, Norbert Hartl wrote:
>>>
>>> Am 12.07.2018 um 08:05 schrieb Max Leske maxleske(a)gmail.com:
>>>
>>> On 11 Jul 2018, at 22:44, Norbert Hartl wrote:
>>>
>>> Hi Max,
>>>
>>> I constructed a case that fails exactly like I experience it. Could
>>> you try? Just unpack the attachment on a linux, set PHARO_VM env to
>>> your executable and execute build.sh
>>>
>>> I will. Might take a couple of days though.
>>>
>>> No problem. Iâm happy if you find time.
>>>
>>> Norbert
>>>
>>> Max
>>>
>>> Norbert
>>>
>>> Am 10.07.2018 um 09:17 schrieb Max Leske maxleske(a)gmail.com:
>>>
>>> On 10 Jul 2018, at 8:48, Norbert Hartl wrote:
>>>
>>> Max,
>>>
>>> thanks for taking the effort.
>>>
>>> No worries.
>>>
>>> Am 10.07.2018 um 08:37 schrieb Max Leske maxleske(a)gmail.com:
>>>
>>> I did my best to reproduce the issue but didn't have any luck. I
>>> really need access to a Linux VM to debug this. So I'm praying that
>>> Apple fixes the access restrictions to kernel extensions in their
>>> next beta...
>>>
>>> BTW, Metacello uses ZnClient, which uses ZnFileSystemUtils, so there
>>> is indeed a chance that something goes wrong during download of the
>>> zip archive and that something may be tied to a difference in the
>>> versions of Zinc (although I still think that's unlikely).
>>>
>>> Yes there is potential but I donât see it. I take a fresh 6.1
>>> image and load my project into. Iâm not sure but I think zinc
>>> 2.9.2 is loaded rather early in that process. So I wonder why it
>>> does not go wrong in the first phase. And also not if I load the
>>> test group within the first phase.
>>> It must be either the second Metacello invocation or the stopping,
>>> copying and starting of the image.
>>> I try to isolate this case more and provide a script that goes wrong
>>> on my machine. But it will take some time because I needed to stop
>>> trying to solve this as I wasted nearly two days on that already.
>>>
>>> Let me know once you have something and I'll try to help out.
>>>
>>> Norbert
>>>
>>> Max
>>>
>>> On 9 Jul 2018, at 19:43, Norbert Hartl wrote:
>>>
>>> Am 09.07.2018 um 19:10 schrieb Max Leske maxleske(a)gmail.com:
>>>
>>> I checked the Parasol Archive and it does not appear to be in Zip64
>>> format (Metacello uses ZipArchive which can't cope with Zip64 but
>>> ZipArchive can read the Parasol zip). So my next guess is that
>>> there's either a problem with Metacello or Pharo in the way that
>>> ZipArchive is used (e.g. endianness problem or non-binary stream
>>> data). It would therefore be helpful to find out what happens in
>>> ZipArchive>>readFrom:, i.e. what kind of stream is passed / opened,
>>> is it binary, does the file exist and is it still the correct file.
>>>
>>> I couldnât see anything obvious. The file in the debug message
>>> exists, it is a readable zip file. The way Metacello uses it it is a
>>> StandardFileStream. It switches it to binary in the code.
>>> But the only difference between a working and non-working build is
>>> the upgrade to zinc 2.9.2.
>>>
>>> Norbert
>>>
>>> I'd debug it myself but I can't run VirtualBox at the moment because
>>> I'm on the macOS beta and it won't start...
>>>
>>> Max
>>>
>>> On 9 Jul 2018, at 18:31, Norbert Hartl wrote:
>>>
>>> Hi Max,
>>>
>>> Am 09.07.2018 um 18:18 schrieb Max Leske maxleske(a)gmail.com:
>>>
>>> Hi Norbert,
>>>
>>> This is a bit of a guess, but it's possible that the archive that is
>>> downloaded from github is in Zip64 format and that the libraries for
>>> extracting Zip64 are missing on your Linux. That would of course
>>> contradict the experience that the same operation appears to work in
>>> 6.1.
>>>
>>> to be honest I donât know what Zip64 format is. I thought the Zip
>>> classes are pure smalltalk for unpacking.
>>>
>>> Try extracting the archive manually on your Linux machine with the
>>> same method that Metacello uses (I assume, Metacello uses the
>>> ZipPlugin, which will probably use the system libraries).
>>>
>>> I have no ZipPlugin as library in any of my vms.
>>>
>>> But there are zips downloaded and unpacked. I start the image the
>>> first time loading all the code of my project. Then it is saved,
>>> copied to a new name and reopened to load the tests and then it
>>> fails. I did try to load the tests in the first run and then it
>>> works.
>>>
>>> Iâm running out of ideas
>>>
>>> thanks,
>>>
>>> Norbert
>>>
>>> Cheers,
>>> Max
>>>
>>> On 9 Jul 2018, at 17:14, Norbert Hartl wrote:
>>>
>>> With the help of Esteban I got one step further. If I do
>>>
>>> MCWorkingCopy
>>> managersForClass: ZnFileSystemUtils
>>> do: [ :each | each ancestry initialize ]
>>>
>>> before loading my project it updates Zinc-FileSystem as well. Sadly
>>> it still does not work for me because I get
>>>
>>> Loading baseline of BaselineOfMobilityMap...
>>> ...RETRY->BaselineOfParasol
>>> ...RETRY->BaselineOfParasol[31mError: can't find EOCD position
>>>
>>> and I donât know why. zip file is downloaded from github and
>>> present but it fails and only on my jenkins on linux. On my Mac this
>>> works.
>>>
>>> I try a few things but then Iâm back on pharo6.1 for the time
>>> being :(
>>>
>>> Norbert
>>>
>>> Am 07.07.2018 um 13:28 schrieb Norbert Hartl norbert(a)hartl.name:
>>>
>>> Really? I thought the same but then I didnât believe it works like
>>> that.
>>>
>>> Anyway this would be very easy to solve. We just need to ask Sven if
>>> he is fine with doing an empty .16 version for Zinc-FileSystem and
>>> does an in-place version reset of 2.9.2 or a new 2.9.3. Iâm not
>>> fully convinced that will solve it but the cost wonât be very
>>> high.
>>>
>>> Norbert
>>>
>>> Am 07.07.2018 um 13:22 schrieb Cyril Ferlicot
>>> cyril.ferlicot(a)gmail.com:
>>>
>>> Need to investigate more. There are two .15 versions but there is 1
>>> year in between (if you didnât notice TheIntegratior.15 is from
>>> 2017). Just want to have more context information because I can only
>>> see that this is strange but lacking insight.
>>>
>>> Iâm trying to figure out why it does not update Zinc-FileSystem.
>>> No matter what I do I cannot get Metacello to load the newer
>>> package. That would fix the issue because Iâm loading 2.9.2 which
>>> should have Zinc-FileSystem-SVC.15 and not stay on the one included
>>> in the image.
>>>
>>> I think this is important for everyone that has a product based on
>>> 6.1 and that want to migrate someday to pharo7. This way it is
>>> impossible to do it step by step.
>>>
>>> If there is a package .15 in the image and a package .15 in the
>>> repo, I think Metacello will not update because it rely on the
>>> numbers to know when to update. If it find a .15 and currently have
>>> a .15 I think Metacello will think they are at the same version.
>>>
>>> Norbert
>>>
>>> --
>>> Cyril Ferlicot
>>> https://ferlicot.fr
>>>
>>
>>
July 13, 2018
Re: [Pharo-dev] Problem with zinc 2.9.2
by Norbert Hartl
Sven,
for me the problem is only on linux
Norbert
> Am 13.07.2018 um 13:26 schrieb Sven Van Caekenberghe <sven(a)stfx.eu>:
>
>
>
>> On 12 Jul 2018, at 23:15, Max Leske <maxleske(a)gmail.com> wrote:
>>
>> Hi Norbert,
>>
>> I was able to reproduce the problem and then identify the culprit, although what I don't yet understand is how this is related to the changes in Zinc.
>>
>> Anyway, the problem is that the file stream isn't properly flushed in ZnUtils class>>streamFrom:to:size:. Adding outputStream flush as the last statement fixes your problem. Apparently, StandardFileStream / MultiByteFileStream perform a simple close() on the file which, according to the man page on close(), does not guarantee that the contents have all been written to file. In this case a flush is necessary because the entire file is immediately read again.
>>
>> Here's a smaller test case for you to play with Sven:
>>
>> ZnClient new
>> url: 'https://github.com/zweidenker/Parasol/archive/master.zip';
>> downloadTo: '/tmp/foobar.zip'.
>> bytes := '/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ].
>> Transcript open; show: bytes size; cr.
>> 5 seconds asDelay wait.
>> Transcript show: ('/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ]) size.
>>
>> The output in the Transcript should be:
>>
>> 315392
>> 318420
>
> Thanks for the effort, Max, but I am confused about your runnable snippet. For me (macOS, Pharo 7) is gives
>
> 318420
> 318420
>
> as it should, reading the same file twice. Did I miss something or did you make a typo ?
>
> As for #close, it is my understanding that Pharo did a #flush before doing a #close, but maybe that is no longer true with the new primitive streams, we'll have to check carefully.
>
> Good catch. I'll think about your suggestion (there are already #flush messages sent, but indeed the last one would be missing).
>
>> Cheers,
>> Max
>>
>> On 12 Jul 2018, at 8:17, Norbert Hartl wrote:
>>
>> Am 12.07.2018 um 08:05 schrieb Max Leske maxleske(a)gmail.com:
>>
>> On 11 Jul 2018, at 22:44, Norbert Hartl wrote:
>>
>> Hi Max,
>>
>> I constructed a case that fails exactly like I experience it. Could you try? Just unpack the attachment on a linux, set PHARO_VM env to your executable and execute build.sh
>>
>> I will. Might take a couple of days though.
>>
>> No problem. Iâm happy if you find time.
>>
>> Norbert
>>
>> Max
>>
>> Norbert
>>
>> Am 10.07.2018 um 09:17 schrieb Max Leske maxleske(a)gmail.com:
>>
>> On 10 Jul 2018, at 8:48, Norbert Hartl wrote:
>>
>> Max,
>>
>> thanks for taking the effort.
>>
>> No worries.
>>
>> Am 10.07.2018 um 08:37 schrieb Max Leske maxleske(a)gmail.com:
>>
>> I did my best to reproduce the issue but didn't have any luck. I really need access to a Linux VM to debug this. So I'm praying that Apple fixes the access restrictions to kernel extensions in their next beta...
>>
>> BTW, Metacello uses ZnClient, which uses ZnFileSystemUtils, so there is indeed a chance that something goes wrong during download of the zip archive and that something may be tied to a difference in the versions of Zinc (although I still think that's unlikely).
>>
>> Yes there is potential but I donât see it. I take a fresh 6.1 image and load my project into. Iâm not sure but I think zinc 2.9.2 is loaded rather early in that process. So I wonder why it does not go wrong in the first phase. And also not if I load the test group within the first phase.
>> It must be either the second Metacello invocation or the stopping, copying and starting of the image.
>> I try to isolate this case more and provide a script that goes wrong on my machine. But it will take some time because I needed to stop trying to solve this as I wasted nearly two days on that already.
>>
>> Let me know once you have something and I'll try to help out.
>>
>> Norbert
>>
>> Max
>>
>> On 9 Jul 2018, at 19:43, Norbert Hartl wrote:
>>
>> Am 09.07.2018 um 19:10 schrieb Max Leske maxleske(a)gmail.com:
>>
>> I checked the Parasol Archive and it does not appear to be in Zip64 format (Metacello uses ZipArchive which can't cope with Zip64 but ZipArchive can read the Parasol zip). So my next guess is that there's either a problem with Metacello or Pharo in the way that ZipArchive is used (e.g. endianness problem or non-binary stream data). It would therefore be helpful to find out what happens in ZipArchive>>readFrom:, i.e. what kind of stream is passed / opened, is it binary, does the file exist and is it still the correct file.
>>
>> I couldnât see anything obvious. The file in the debug message exists, it is a readable zip file. The way Metacello uses it it is a StandardFileStream. It switches it to binary in the code.
>> But the only difference between a working and non-working build is the upgrade to zinc 2.9.2.
>>
>> Norbert
>>
>> I'd debug it myself but I can't run VirtualBox at the moment because I'm on the macOS beta and it won't start...
>>
>> Max
>>
>> On 9 Jul 2018, at 18:31, Norbert Hartl wrote:
>>
>> Hi Max,
>>
>> Am 09.07.2018 um 18:18 schrieb Max Leske maxleske(a)gmail.com:
>>
>> Hi Norbert,
>>
>> This is a bit of a guess, but it's possible that the archive that is downloaded from github is in Zip64 format and that the libraries for extracting Zip64 are missing on your Linux. That would of course contradict the experience that the same operation appears to work in 6.1.
>>
>> to be honest I donât know what Zip64 format is. I thought the Zip classes are pure smalltalk for unpacking.
>>
>> Try extracting the archive manually on your Linux machine with the same method that Metacello uses (I assume, Metacello uses the ZipPlugin, which will probably use the system libraries).
>>
>> I have no ZipPlugin as library in any of my vms.
>>
>> But there are zips downloaded and unpacked. I start the image the first time loading all the code of my project. Then it is saved, copied to a new name and reopened to load the tests and then it fails. I did try to load the tests in the first run and then it works.
>>
>> Iâm running out of ideas
>>
>> thanks,
>>
>> Norbert
>>
>> Cheers,
>> Max
>>
>> On 9 Jul 2018, at 17:14, Norbert Hartl wrote:
>>
>> With the help of Esteban I got one step further. If I do
>>
>> MCWorkingCopy
>> managersForClass: ZnFileSystemUtils
>> do: [ :each | each ancestry initialize ]
>>
>> before loading my project it updates Zinc-FileSystem as well. Sadly it still does not work for me because I get
>>
>> Loading baseline of BaselineOfMobilityMap...
>> ...RETRY->BaselineOfParasol
>> ...RETRY->BaselineOfParasol[31mError: can't find EOCD position
>>
>> and I donât know why. zip file is downloaded from github and present but it fails and only on my jenkins on linux. On my Mac this works.
>>
>> I try a few things but then Iâm back on pharo6.1 for the time being :(
>>
>> Norbert
>>
>> Am 07.07.2018 um 13:28 schrieb Norbert Hartl norbert(a)hartl.name:
>>
>> Really? I thought the same but then I didnât believe it works like that.
>>
>> Anyway this would be very easy to solve. We just need to ask Sven if he is fine with doing an empty .16 version for Zinc-FileSystem and does an in-place version reset of 2.9.2 or a new 2.9.3. Iâm not fully convinced that will solve it but the cost wonât be very high.
>>
>> Norbert
>>
>> Am 07.07.2018 um 13:22 schrieb Cyril Ferlicot cyril.ferlicot(a)gmail.com:
>>
>> Need to investigate more. There are two .15 versions but there is 1 year in between (if you didnât notice TheIntegratior.15 is from 2017). Just want to have more context information because I can only see that this is strange but lacking insight.
>>
>> Iâm trying to figure out why it does not update Zinc-FileSystem. No matter what I do I cannot get Metacello to load the newer package. That would fix the issue because Iâm loading 2.9.2 which should have Zinc-FileSystem-SVC.15 and not stay on the one included in the image.
>>
>> I think this is important for everyone that has a product based on 6.1 and that want to migrate someday to pharo7. This way it is impossible to do it step by step.
>>
>> If there is a package .15 in the image and a package .15 in the repo, I think Metacello will not update because it rely on the numbers to know when to update. If it find a .15 and currently have a .15 I think Metacello will think they are at the same version.
>>
>> Norbert
>>
>> --
>> Cyril Ferlicot
>> https://ferlicot.fr
>>
>
>
July 13, 2018
Re: [Pharo-dev] Problem with zinc 2.9.2
by Sven Van Caekenberghe
> On 12 Jul 2018, at 23:15, Max Leske <maxleske(a)gmail.com> wrote:
>
> Hi Norbert,
>
> I was able to reproduce the problem and then identify the culprit, although what I don't yet understand is how this is related to the changes in Zinc.
>
> Anyway, the problem is that the file stream isn't properly flushed in ZnUtils class>>streamFrom:to:size:. Adding outputStream flush as the last statement fixes your problem. Apparently, StandardFileStream / MultiByteFileStream perform a simple close() on the file which, according to the man page on close(), does not guarantee that the contents have all been written to file. In this case a flush is necessary because the entire file is immediately read again.
>
> Here's a smaller test case for you to play with Sven:
>
> ZnClient new
> url: 'https://github.com/zweidenker/Parasol/archive/master.zip';
> downloadTo: '/tmp/foobar.zip'.
> bytes := '/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ].
> Transcript open; show: bytes size; cr.
> 5 seconds asDelay wait.
> Transcript show: ('/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ]) size.
>
> The output in the Transcript should be:
>
> 315392
> 318420
Thanks for the effort, Max, but I am confused about your runnable snippet. For me (macOS, Pharo 7) is gives
318420
318420
as it should, reading the same file twice. Did I miss something or did you make a typo ?
As for #close, it is my understanding that Pharo did a #flush before doing a #close, but maybe that is no longer true with the new primitive streams, we'll have to check carefully.
Good catch. I'll think about your suggestion (there are already #flush messages sent, but indeed the last one would be missing).
> Cheers,
> Max
>
> On 12 Jul 2018, at 8:17, Norbert Hartl wrote:
>
> Am 12.07.2018 um 08:05 schrieb Max Leske maxleske(a)gmail.com:
>
> On 11 Jul 2018, at 22:44, Norbert Hartl wrote:
>
> Hi Max,
>
> I constructed a case that fails exactly like I experience it. Could you try? Just unpack the attachment on a linux, set PHARO_VM env to your executable and execute build.sh
>
> I will. Might take a couple of days though.
>
> No problem. Iâm happy if you find time.
>
> Norbert
>
> Max
>
> Norbert
>
> Am 10.07.2018 um 09:17 schrieb Max Leske maxleske(a)gmail.com:
>
> On 10 Jul 2018, at 8:48, Norbert Hartl wrote:
>
> Max,
>
> thanks for taking the effort.
>
> No worries.
>
> Am 10.07.2018 um 08:37 schrieb Max Leske maxleske(a)gmail.com:
>
> I did my best to reproduce the issue but didn't have any luck. I really need access to a Linux VM to debug this. So I'm praying that Apple fixes the access restrictions to kernel extensions in their next beta...
>
> BTW, Metacello uses ZnClient, which uses ZnFileSystemUtils, so there is indeed a chance that something goes wrong during download of the zip archive and that something may be tied to a difference in the versions of Zinc (although I still think that's unlikely).
>
> Yes there is potential but I donât see it. I take a fresh 6.1 image and load my project into. Iâm not sure but I think zinc 2.9.2 is loaded rather early in that process. So I wonder why it does not go wrong in the first phase. And also not if I load the test group within the first phase.
> It must be either the second Metacello invocation or the stopping, copying and starting of the image.
> I try to isolate this case more and provide a script that goes wrong on my machine. But it will take some time because I needed to stop trying to solve this as I wasted nearly two days on that already.
>
> Let me know once you have something and I'll try to help out.
>
> Norbert
>
> Max
>
> On 9 Jul 2018, at 19:43, Norbert Hartl wrote:
>
> Am 09.07.2018 um 19:10 schrieb Max Leske maxleske(a)gmail.com:
>
> I checked the Parasol Archive and it does not appear to be in Zip64 format (Metacello uses ZipArchive which can't cope with Zip64 but ZipArchive can read the Parasol zip). So my next guess is that there's either a problem with Metacello or Pharo in the way that ZipArchive is used (e.g. endianness problem or non-binary stream data). It would therefore be helpful to find out what happens in ZipArchive>>readFrom:, i.e. what kind of stream is passed / opened, is it binary, does the file exist and is it still the correct file.
>
> I couldnât see anything obvious. The file in the debug message exists, it is a readable zip file. The way Metacello uses it it is a StandardFileStream. It switches it to binary in the code.
> But the only difference between a working and non-working build is the upgrade to zinc 2.9.2.
>
> Norbert
>
> I'd debug it myself but I can't run VirtualBox at the moment because I'm on the macOS beta and it won't start...
>
> Max
>
> On 9 Jul 2018, at 18:31, Norbert Hartl wrote:
>
> Hi Max,
>
> Am 09.07.2018 um 18:18 schrieb Max Leske maxleske(a)gmail.com:
>
> Hi Norbert,
>
> This is a bit of a guess, but it's possible that the archive that is downloaded from github is in Zip64 format and that the libraries for extracting Zip64 are missing on your Linux. That would of course contradict the experience that the same operation appears to work in 6.1.
>
> to be honest I donât know what Zip64 format is. I thought the Zip classes are pure smalltalk for unpacking.
>
> Try extracting the archive manually on your Linux machine with the same method that Metacello uses (I assume, Metacello uses the ZipPlugin, which will probably use the system libraries).
>
> I have no ZipPlugin as library in any of my vms.
>
> But there are zips downloaded and unpacked. I start the image the first time loading all the code of my project. Then it is saved, copied to a new name and reopened to load the tests and then it fails. I did try to load the tests in the first run and then it works.
>
> Iâm running out of ideas
>
> thanks,
>
> Norbert
>
> Cheers,
> Max
>
> On 9 Jul 2018, at 17:14, Norbert Hartl wrote:
>
> With the help of Esteban I got one step further. If I do
>
> MCWorkingCopy
> managersForClass: ZnFileSystemUtils
> do: [ :each | each ancestry initialize ]
>
> before loading my project it updates Zinc-FileSystem as well. Sadly it still does not work for me because I get
>
> Loading baseline of BaselineOfMobilityMap...
> ...RETRY->BaselineOfParasol
> ...RETRY->BaselineOfParasol[31mError: can't find EOCD position
>
> and I donât know why. zip file is downloaded from github and present but it fails and only on my jenkins on linux. On my Mac this works.
>
> I try a few things but then Iâm back on pharo6.1 for the time being :(
>
> Norbert
>
> Am 07.07.2018 um 13:28 schrieb Norbert Hartl norbert(a)hartl.name:
>
> Really? I thought the same but then I didnât believe it works like that.
>
> Anyway this would be very easy to solve. We just need to ask Sven if he is fine with doing an empty .16 version for Zinc-FileSystem and does an in-place version reset of 2.9.2 or a new 2.9.3. Iâm not fully convinced that will solve it but the cost wonât be very high.
>
> Norbert
>
> Am 07.07.2018 um 13:22 schrieb Cyril Ferlicot cyril.ferlicot(a)gmail.com:
>
> Need to investigate more. There are two .15 versions but there is 1 year in between (if you didnât notice TheIntegratior.15 is from 2017). Just want to have more context information because I can only see that this is strange but lacking insight.
>
> Iâm trying to figure out why it does not update Zinc-FileSystem. No matter what I do I cannot get Metacello to load the newer package. That would fix the issue because Iâm loading 2.9.2 which should have Zinc-FileSystem-SVC.15 and not stay on the one included in the image.
>
> I think this is important for everyone that has a product based on 6.1 and that want to migrate someday to pharo7. This way it is impossible to do it step by step.
>
> If there is a package .15 in the image and a package .15 in the repo, I think Metacello will not update because it rely on the numbers to know when to update. If it find a .15 and currently have a .15 I think Metacello will think they are at the same version.
>
> Norbert
>
> --
> Cyril Ferlicot
> https://ferlicot.fr
>
July 13, 2018
Re: [Pharo-dev] Problem with zinc 2.9.2
by Tim Mackinnon
Gosh , Iâm always impressed how you guys figure this stuff out.
Many thanks to all of you for coming up with a test case and solution(s).
Itâs a great community.
Tim
Sent from my iPhone
> On 13 Jul 2018, at 00:19, Nicolas Cellier <nicolas.cellier.aka.nice(a)gmail.com> wrote:
>
> Isn't there a recent PR on opensmalltalk that address just this?
>
>> Le jeu. 12 juil. 2018 à 23:16, Max Leske <maxleske(a)gmail.com> a écrit :
>> Hi Norbert,
>>
>> I was able to reproduce the problem and then identify the culprit, although what I don't yet understand is how this is related to the changes in Zinc.
>>
>> Anyway, the problem is that the file stream isn't properly flushed in ZnUtils class>>streamFrom:to:size:. Adding outputStream flush as the last statement fixes your problem. Apparently, StandardFileStream / MultiByteFileStream perform a simple close() on the file which, according to the man page on close(), does not guarantee that the contents have all been written to file. In this case a flush is necessary because the entire file is immediately read again.
>>
>> Here's a smaller test case for you to play with Sven:
>>
>> ZnClient new
>> url: 'https://github.com/zweidenker/Parasol/archive/master.zip';
>> downloadTo: '/tmp/foobar.zip'.
>> bytes := '/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ].
>> Transcript open; show: bytes size; cr.
>> 5 seconds asDelay wait.
>> Transcript show: ('/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ]) size.
>> The output in the Transcript should be:
>>
>> 315392
>> 318420
>> Cheers,
>> Max
>>
>> On 12 Jul 2018, at 8:17, Norbert Hartl wrote:
>>
>> Am 12.07.2018 um 08:05 schrieb Max Leske maxleske(a)gmail.com:
>>
>> On 11 Jul 2018, at 22:44, Norbert Hartl wrote:
>>
>> Hi Max,
>>
>> I constructed a case that fails exactly like I experience it. Could you try? Just unpack the attachment on a linux, set PHARO_VM env to your executable and execute build.sh
>>
>> I will. Might take a couple of days though.
>>
>> No problem. Iâm happy if you find time.
>>
>> Norbert
>>
>> Max
>>
>> Norbert
>>
>> Am 10.07.2018 um 09:17 schrieb Max Leske maxleske(a)gmail.com:
>>
>> On 10 Jul 2018, at 8:48, Norbert Hartl wrote:
>>
>> Max,
>>
>> thanks for taking the effort.
>>
>> No worries.
>>
>> Am 10.07.2018 um 08:37 schrieb Max Leske maxleske(a)gmail.com:
>>
>> I did my best to reproduce the issue but didn't have any luck. I really need access to a Linux VM to debug this. So I'm praying that Apple fixes the access restrictions to kernel extensions in their next beta...
>>
>> BTW, Metacello uses ZnClient, which uses ZnFileSystemUtils, so there is indeed a chance that something goes wrong during download of the zip archive and that something may be tied to a difference in the versions of Zinc (although I still think that's unlikely).
>>
>> Yes there is potential but I donât see it. I take a fresh 6.1 image and load my project into. Iâm not sure but I think zinc 2.9.2 is loaded rather early in that process. So I wonder why it does not go wrong in the first phase. And also not if I load the test group within the first phase.
>> It must be either the second Metacello invocation or the stopping, copying and starting of the image.
>> I try to isolate this case more and provide a script that goes wrong on my machine. But it will take some time because I needed to stop trying to solve this as I wasted nearly two days on that already.
>>
>> Let me know once you have something and I'll try to help out.
>>
>> Norbert
>>
>> Max
>>
>> On 9 Jul 2018, at 19:43, Norbert Hartl wrote:
>>
>> Am 09.07.2018 um 19:10 schrieb Max Leske maxleske(a)gmail.com:
>>
>> I checked the Parasol Archive and it does not appear to be in Zip64 format (Metacello uses ZipArchive which can't cope with Zip64 but ZipArchive can read the Parasol zip). So my next guess is that there's either a problem with Metacello or Pharo in the way that ZipArchive is used (e.g. endianness problem or non-binary stream data). It would therefore be helpful to find out what happens in ZipArchive>>readFrom:, i.e. what kind of stream is passed / opened, is it binary, does the file exist and is it still the correct file.
>>
>> I couldnât see anything obvious. The file in the debug message exists, it is a readable zip file. The way Metacello uses it it is a StandardFileStream. It switches it to binary in the code.
>> But the only difference between a working and non-working build is the upgrade to zinc 2.9.2.
>>
>> Norbert
>>
>> I'd debug it myself but I can't run VirtualBox at the moment because I'm on the macOS beta and it won't start...
>>
>> Max
>>
>> On 9 Jul 2018, at 18:31, Norbert Hartl wrote:
>>
>> Hi Max,
>>
>> Am 09.07.2018 um 18:18 schrieb Max Leske maxleske(a)gmail.com:
>>
>> Hi Norbert,
>>
>> This is a bit of a guess, but it's possible that the archive that is downloaded from github is in Zip64 format and that the libraries for extracting Zip64 are missing on your Linux. That would of course contradict the experience that the same operation appears to work in 6.1.
>>
>> to be honest I donât know what Zip64 format is. I thought the Zip classes are pure smalltalk for unpacking.
>>
>> Try extracting the archive manually on your Linux machine with the same method that Metacello uses (I assume, Metacello uses the ZipPlugin, which will probably use the system libraries).
>>
>> I have no ZipPlugin as library in any of my vms.
>>
>> But there are zips downloaded and unpacked. I start the image the first time loading all the code of my project. Then it is saved, copied to a new name and reopened to load the tests and then it fails. I did try to load the tests in the first run and then it works.
>>
>> Iâm running out of ideas
>>
>> thanks,
>>
>> Norbert
>>
>> Cheers,
>> Max
>>
>> On 9 Jul 2018, at 17:14, Norbert Hartl wrote:
>>
>> With the help of Esteban I got one step further. If I do
>>
>> MCWorkingCopy
>> managersForClass: ZnFileSystemUtils
>> do: [ :each | each ancestry initialize ]
>>
>> before loading my project it updates Zinc-FileSystem as well. Sadly it still does not work for me because I get
>>
>> Loading baseline of BaselineOfMobilityMap...
>> ...RETRY->BaselineOfParasol
>> ...RETRY->BaselineOfParasol[31mError: can't find EOCD position
>>
>> and I donât know why. zip file is downloaded from github and present but it fails and only on my jenkins on linux. On my Mac this works.
>>
>> I try a few things but then Iâm back on pharo6.1 for the time being :(
>>
>> Norbert
>>
>> Am 07.07.2018 um 13:28 schrieb Norbert Hartl norbert(a)hartl.name:
>>
>> Really? I thought the same but then I didnât believe it works like that.
>>
>> Anyway this would be very easy to solve. We just need to ask Sven if he is fine with doing an empty .16 version for Zinc-FileSystem and does an in-place version reset of 2.9.2 or a new 2.9.3. Iâm not fully convinced that will solve it but the cost wonât be very high.
>>
>> Norbert
>>
>> Am 07.07.2018 um 13:22 schrieb Cyril Ferlicot cyril.ferlicot(a)gmail.com:
>>
>> Need to investigate more. There are two .15 versions but there is 1 year in between (if you didnât notice TheIntegratior.15 is from 2017). Just want to have more context information because I can only see that this is strange but lacking insight.
>>
>> Iâm trying to figure out why it does not update Zinc-FileSystem. No matter what I do I cannot get Metacello to load the newer package. That would fix the issue because Iâm loading 2.9.2 which should have Zinc-FileSystem-SVC.15 and not stay on the one included in the image.
>>
>> I think this is important for everyone that has a product based on 6.1 and that want to migrate someday to pharo7. This way it is impossible to do it step by step.
>>
>> If there is a package .15 in the image and a package .15 in the repo, I think Metacello will not update because it rely on the numbers to know when to update. If it find a .15 and currently have a .15 I think Metacello will think they are at the same version.
>>
>> Norbert
>>
>> --
>> Cyril Ferlicot
>> https://ferlicot.fr
July 13, 2018
Smalltalks 2018 registration and talk submissions is now open!
by Gabriel Cotelli
We invite you to join us at Smalltalks 2018
<https://smalltalks2018.fast.org.ar/> in Salta, for the 12th free
conference on Smalltalk based technologies, research and industry
applications.
Registration
CLICK HERE TO REGISTER
<https://docs.google.com/forms/d/e/1FAIpQLSei4VFOeoC-GSZR2ygLJaGelOvoqX6th5l…>
No payment is required to attend nor to present a talk.
We do accept donations from willing individuals and companies to keep our
activities free.
When & Where
The conference will be held from October 31 to November 2 at Universidad
Nacional de Salta <http://di.unsa.edu.ar/>, in Salta, Argentina.
Workshops are also planned at the same site on October 29 and 30.
Participation
For the talks this year, weâd like to offer a wide range of subjects of
interest to our attendees.
Weâd like to encourage students, researchers and industry experts to share
with us their stories and expertise on different Smalltalk inspired
languages, frameworks and methodologies.
Whether you have developed or researched an architecture, component or
product, that is based on Smalltalk, or that could offer new insights to
Smalltalk developers, we invite you to speak at this yearâs conference.
We are also interested in hearing about your experiences with the newest
technologies and how they compare to Smalltalk equivalents. Is it easier to
implement a Blockchain in Smalltalk than in Scala? Is Pharo offering the
required tools to work with Deep Learning? Can Gemstone outperform SQL when
working with image processing?
SUBMIT YOUR TALK HERE
<https://docs.google.com/forms/d/e/1FAIpQLSd9dW7M3GZJHIpbIGclmoQs9Z8QgDUAqXf…>
Traveling
During 2018, AerolÃneas Argentinas <https://www.aerolineas.com.ar> is the
official transporter for Smalltalks 2018.
A 10% discount is available for airplane tickets to attend the conference:
1.
Go to Aerolineas Argentinas conferences
<http://ww1.aerolineas.com.ar/arg/main.asp?idSitio=AR&idPagina=161&idIdioma=…>
site
2.
Choose your origin and use SMTKS as promo code
3.
Follow the instructions on the page
This discount is valid for all tickets (tourist or executive class) with
destination to Salta, arriving on or after October 24, and departing on or
before November 7.
The origin city can be any in Argentina, and also Madrid, Miami, New York,
Rome, Asunción, Bogotá, Cancún, Curitiba, Florianopolis, Lima, Montevideo,
Porto Alegre, Punta Cana, Punta del Este, RÃo de Janeiro, San Pablo,
Salvador de BahÃa, Santa Cruz de la Sierra or Santiago de Chile.
Legal disclaimer: AerolÃneas Argentinas as official transporter is not
responsible for the organization, execution nor any other activity related
to the conference.
Scholarships
As part of our vision, we aim to support people interested in participating
in Smalltalk-related conferences, to generate a stronger community that can
continue our work in the future.
If you are a university student and require financial assistance to attend
the conference, we encourage you to contact us <info(a)fast.org.ar>.
We can offer travel and lodging funds to help you be part of this yearâs
conference..
Support FAST
FAST is a non-profit organization, funded by the donations of organizations
and individuals.
This support allows us to keep the conference free, every year, and to help
students and distinguished speakers to attend.
You can show your support at:
https://smalltalks2018.fast.org.ar/donations
Exclusive conference T-Shirts will be provided to those who donate before
September 27th.
Join us with your assistance, your presentations and your support.
Help us continue to build this great community. See you in Salta!
Follow us on Twitter (@fast_arg
<https://twitter.com/search?f=tweets&vertical=default&q=%40fast_arg>)
and Facebook
(/fundacionargentinadesmalltalk
<https://www.facebook.com/fundacionargentinadesmalltalk/>) to keep up to
date with news and announcements.
July 13, 2018
Re: [Pharo-dev] Problem with zinc 2.9.2
by Nicolas Cellier
Isn't there a recent PR on opensmalltalk that address just this?
Le jeu. 12 juil. 2018 à 23:16, Max Leske <maxleske(a)gmail.com> a écrit :
> Hi Norbert,
>
> I was able to reproduce the problem and then identify the culprit,
> although what I don't yet understand is how this is related to the changes
> in Zinc.
>
> Anyway, the problem is that the file stream isn't properly flushed in
> ZnUtils class>>streamFrom:to:size:. Adding outputStream flush as the last
> statement fixes your problem. Apparently, StandardFileStream /
> MultiByteFileStream perform a simple close() on the file which, according
> to the man page on close(), does *not* guarantee that the contents have
> all been written to file. In this case a flush is necessary because the
> entire file is immediately read again.
>
> Here's a smaller test case for you to play with Sven:
>
> ZnClient new
> url: 'https://github.com/zweidenker/Parasol/archive/master.zip';
> downloadTo: '/tmp/foobar.zip'.
> bytes := '/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ].
> Transcript open; show: bytes size; cr.
> 5 seconds asDelay wait.
> Transcript show: ('/tmp/foobar.zip' asFileReference binaryReadStreamDo: [ :s | s contents ]) size.
>
> The output in the Transcript should be:
>
> 315392
> 318420
>
> Cheers,
> Max
>
> On 12 Jul 2018, at 8:17, Norbert Hartl wrote:
>
> Am 12.07.2018 um 08:05 schrieb Max Leske maxleske(a)gmail.com:
>
> On 11 Jul 2018, at 22:44, Norbert Hartl wrote:
>
> Hi Max,
>
> I constructed a case that fails exactly like I experience it. Could you
> try? Just unpack the attachment on a linux, set PHARO_VM env to your
> executable and execute build.sh
>
> I will. Might take a couple of days though.
>
> No problem. Iâm happy if you find time.
>
> Norbert
>
> Max
>
> Norbert
>
> Am 10.07.2018 um 09:17 schrieb Max Leske maxleske(a)gmail.com:
>
> On 10 Jul 2018, at 8:48, Norbert Hartl wrote:
>
> Max,
>
> thanks for taking the effort.
>
> No worries.
>
> Am 10.07.2018 um 08:37 schrieb Max Leske maxleske(a)gmail.com:
>
> I did my best to reproduce the issue but didn't have any luck. I really
> need access to a Linux VM to debug this. So I'm praying that Apple fixes
> the access restrictions to kernel extensions in their next beta...
>
> BTW, Metacello uses ZnClient, which uses ZnFileSystemUtils, so there is
> indeed a chance that something goes wrong during download of the zip
> archive and that something may be tied to a difference in the versions of
> Zinc (although I still think that's unlikely).
>
> Yes there is potential but I donât see it. I take a fresh 6.1 image and
> load my project into. Iâm not sure but I think zinc 2.9.2 is loaded rather
> early in that process. So I wonder why it does not go wrong in the first
> phase. And also not if I load the test group within the first phase.
> It must be either the second Metacello invocation or the stopping, copying
> and starting of the image.
> I try to isolate this case more and provide a script that goes wrong on my
> machine. But it will take some time because I needed to stop trying to
> solve this as I wasted nearly two days on that already.
>
> Let me know once you have something and I'll try to help out.
>
> Norbert
>
> Max
>
> On 9 Jul 2018, at 19:43, Norbert Hartl wrote:
>
> Am 09.07.2018 um 19:10 schrieb Max Leske maxleske(a)gmail.com:
>
> I checked the Parasol Archive and it does not appear to be in Zip64 format
> (Metacello uses ZipArchive which can't cope with Zip64 but ZipArchive can
> read the Parasol zip). So my next guess is that there's either a problem
> with Metacello or Pharo in the way that ZipArchive is used (e.g. endianness
> problem or non-binary stream data). It would therefore be helpful to find
> out what happens in ZipArchive>>readFrom:, i.e. what kind of stream is
> passed / opened, is it binary, does the file exist and is it still the
> correct file.
>
> I couldnât see anything obvious. The file in the debug message exists, it
> is a readable zip file. The way Metacello uses it it is a
> StandardFileStream. It switches it to binary in the code.
> But the only difference between a working and non-working build is the
> upgrade to zinc 2.9.2.
>
> Norbert
>
> I'd debug it myself but I can't run VirtualBox at the moment because I'm
> on the macOS beta and it won't start...
>
> Max
>
> On 9 Jul 2018, at 18:31, Norbert Hartl wrote:
>
> Hi Max,
>
> Am 09.07.2018 um 18:18 schrieb Max Leske maxleske(a)gmail.com:
>
> Hi Norbert,
>
> This is a bit of a guess, but it's possible that the archive that is
> downloaded from github is in Zip64 format and that the libraries for
> extracting Zip64 are missing on your Linux. That would of course contradict
> the experience that the same operation appears to work in 6.1.
>
> to be honest I donât know what Zip64 format is. I thought the Zip classes
> are pure smalltalk for unpacking.
>
> Try extracting the archive manually on your Linux machine with the same
> method that Metacello uses (I assume, Metacello uses the ZipPlugin, which
> will probably use the system libraries).
>
> I have no ZipPlugin as library in any of my vms.
>
> But there are zips downloaded and unpacked. I start the image the first
> time loading all the code of my project. Then it is saved, copied to a new
> name and reopened to load the tests and then it fails. I did try to load
> the tests in the first run and then it works.
>
> Iâm running out of ideas
>
> thanks,
>
> Norbert
>
> Cheers,
> Max
>
> On 9 Jul 2018, at 17:14, Norbert Hartl wrote:
>
> With the help of Esteban I got one step further. If I do
>
> MCWorkingCopy
> managersForClass: ZnFileSystemUtils
> do: [ :each | each ancestry initialize ]
>
> before loading my project it updates Zinc-FileSystem as well. Sadly it
> still does not work for me because I get
>
> Loading baseline of BaselineOfMobilityMap...
> ...RETRY->BaselineOfParasol
> ...RETRY->BaselineOfParasol[31mError: can't find EOCD position
>
> and I donât know why. zip file is downloaded from github and present but
> it fails and only on my jenkins on linux. On my Mac this works.
>
> I try a few things but then Iâm back on pharo6.1 for the time being :(
>
> Norbert
>
> Am 07.07.2018 um 13:28 schrieb Norbert Hartl norbert(a)hartl.name:
>
> Really? I thought the same but then I didnât believe it works like that.
>
> Anyway this would be very easy to solve. We just need to ask Sven if he is
> fine with doing an empty .16 version for Zinc-FileSystem and does an
> in-place version reset of 2.9.2 or a new 2.9.3. Iâm not fully convinced
> that will solve it but the cost wonât be very high.
>
> Norbert
>
> Am 07.07.2018 um 13:22 schrieb Cyril Ferlicot cyril.ferlicot(a)gmail.com:
>
> Need to investigate more. There are two .15 versions but there is 1 year
> in between (if you didnât notice TheIntegratior.15 is from 2017). Just want
> to have more context information because I can only see that this is
> strange but lacking insight.
>
> Iâm trying to figure out why it does not update Zinc-FileSystem. No matter
> what I do I cannot get Metacello to load the newer package. That would fix
> the issue because Iâm loading 2.9.2 which should have
> Zinc-FileSystem-SVC.15 and not stay on the one included in the image.
>
> I think this is important for everyone that has a product based on 6.1 and
> that want to migrate someday to pharo7. This way it is impossible to do it
> step by step.
>
> If there is a package .15 in the image and a package .15 in the repo, I
> think Metacello will not update because it rely on the numbers to know when
> to update. If it find a .15 and currently have a .15 I think Metacello will
> think they are at the same version.
>
> Norbert
>
> --
> Cyril Ferlicot
> https://ferlicot.fr
>
>
July 12, 2018