Manuscript (Case [Issue]21566) Command Line - EvaluateCommandLineHandler is broken in Pharo 7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]21566) Command Line - EvaluateCommandLineHandler is broken in Pharo 7

Pharo Issue Tracker
Manuscript Notification
avatar
CyrilFerlicot opened Case 21566: EvaluateCommandLineHandler is broken in Pharo 7 and assigned it to Everyone:
Bug in Project:  Command Line: 1. Pharo Image  •  You are subscribed to this case
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:
Priority Priority: 1 – Show Stopper !!!!!! Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker