Login  Register

Another headless image question

Posted by grt on Jan 23, 2015; 11:56am
URL: https://forum.world.st/Another-headless-image-question-tp4801196.html

HI,

Please find below the script i am using to run pharo seaside image headless on mac. its pharo3.0 image downloaded for mac os.

#!/bin/bash


RT="$PWD/Pharo3.0.app/Contents"

#exec $0 "$RT/MacOS/Pharo"    "$RT/Resources/Pharo3.0.image"

exec "$PWD/Pharo3.0.app/Contents/MacOS/Pharo" -vm-sound-null -vm-display-null "$PWD/Pharo3.0.app/Contents/Resources/Pharo3.0.image" --no-default-preferences --no-quit


The script is placed on the same folder as the Pharo3.0.app and it executes pretty well. 

1) Can anyone verify this and let me know if i am doing it the right way?

Also i have an RFB server set up in the image for debugging. When i connect to it and do a right click i get the below error 


RFB: caught ConnectionClosed: Connection close while waiting for data.SubclassResponsibility: NonInteractiveUIManager had the subclass responsibility to implement #newMenuIn:for:

NonInteractiveUIManager(Object)>>subclassResponsibility

NonInteractiveUIManager(UIManager)>>newMenuIn:for:

PluggableTextMorph(ScrollPane)>>getMenu:

PluggableTextMorph>>yellowButtonActivity:

SmalltalkEditor(TextEditor)>>mouseUp:

TextMorphForEditView(TextMorph)>>mouseUp: in Block: [ editor mouseUp: evt ]

TextMorphForEditView(TextMorph)>>handleInteraction:

TextMorphForEditView>>handleInteraction:

TextMorphForEditView(TextMorph)>>mouseUp:

TextMorphForEditView>>mouseUp:

TextMorphForEditView(Morph)>>handleMouseUp:

MouseButtonEvent>>sentTo:

TextMorphForEditView(Morph)>>handleEvent:

TextMorphForEditView(Morph)>>handleFocusEvent:

HandMorph>>sendFocusEvent:to:clear: in Block: [ ...

BlockClosure>>on:do:

WorldMorph(PasteUpMorph)>>becomeActiveDuring:

HandMorph>>sendFocusEvent:to:clear:

HandMorph>>sendEvent:focus:clear:

HandMorph>>sendMouseEvent:

HandMorph>>handleEvent:

MouseClickState>>handleEvent:from:

HandMorph>>handleEvent:

HandMorph>>processEvents

WorldState>>doOneCycleNowFor: in Block: [ :h | ...

Array(SequenceableCollection)>>do:

WorldState>>handsDo:

WorldState>>doOneCycleNowFor:

WorldState>>doOneCycleFor:

WorldMorph>>doOneCycle


Please let me know what i am doing wrong.

TIA,

thushar