You probably loaded Zinc #stable which does not yet include ZnCrPortableWriteStream. Load #bleedingEdge instead. This has bitten me as well a couple of times, I will promote a new stable Zinc later today.
On 13 Mar 2018, at 00:34, Cyril Ferlicot D. <cyril.ferlicot@gmail.com> wrote:
Hello!
I have a Jenkins build for MaterialDesignLite and the Pharo 7 build never end.
I load the code via the command line "eval" with the "--save" parameter and a Metacello command.
While adding some log I found the problem.
It comes from this method:
EvaluateCommandLineHandler>>evaluate: aStream | result | [ result := Smalltalk compiler evaluate: aStream. self hasSessionChanged ifFalse: [ self stdout print: result; lf ] ] on: Error do: [ :error | self handleError: error ]
In Pharo 6 it ends perfectly.
In Pharo 7 there is an error and we end up in the catch.
Here is the stack I could isolate:
MessageNotUnderstood(Exception)>>signal UndefinedObject(Object)>>doesNotUnderstand: #'>=' AnObsoleteZnCrPortableWriteStream(WriteStream)>>nextPut: [ :v | self nextPut: v ] in AnObsoleteZnCrPortableWriteStream(Stream)>>nextPutAll: ByteSymbol(SequenceableCollection)>>do: AnObsoleteZnCrPortableWriteStream(Stream)>>nextPutAll: AnObsoleteZnCrPortableWriteStream(WriteStream)>>nextPutAll: MultiByteFileStream(StandardFileStream)>>printOn: AnObsoleteZnCrPortableWriteStream(Stream)>>print: VTermOutputDriver>>print:
I have no idea how to correct this and it's pretty late now. Maybe someone will know :)
https://pharo.fogbugz.com/f/cases/21566/EvaluateCommandLineHandler-is-broken...
-- Cyril Ferlicot https://ferlicot.fr