OK, so I've run out of patience in my flailing around. All I want is to run a headless image on a Mac (so I can unbreak the SqueakTrunk-OSX job, which _used_ to work).
How? Do I say "-headless"? ("could not find module vm-display-X11") "-vm-display-null -headless"? ("squeak: could not find any sound driver") "-vm-sound-null -vm-display-null -headless"? ("could not find module vm-sound-null")
I don't mind whether I use Cog or Interpreter, as long as I can just get an image running tests.
Thanks!
frank
I think "-headless" is deprecated.
Did you try "-vm display=none"?
On Sat, Feb 1, 2014 at 12:05 PM, Frank Shearar frank.shearar@gmail.com wrote:
OK, so I've run out of patience in my flailing around. All I want is to run a headless image on a Mac (so I can unbreak the SqueakTrunk-OSX job, which _used_ to work).
How? Do I say "-headless"? ("could not find module vm-display-X11") "-vm-display-null -headless"? ("squeak: could not find any sound driver") "-vm-sound-null -vm-display-null -headless"? ("could not find module vm-sound-null")
I don't mind whether I use Cog or Interpreter, as long as I can just get an image running tests.
Thanks!
frank
Hi Frank,
from the command line say e.g.
/Applications/Cog.app/Contents/MacOs/Squeak -headless my image.image
I'll email my startup script, which makes this much more convenient, real soon now.
Eliot (phone)
On Feb 1, 2014, at 10:05 AM, Frank Shearar frank.shearar@gmail.com wrote:
OK, so I've run out of patience in my flailing around. All I want is to run a headless image on a Mac (so I can unbreak the SqueakTrunk-OSX job, which _used_ to work).
How? Do I say "-headless"? ("could not find module vm-display-X11") "-vm-display-null -headless"? ("squeak: could not find any sound driver") "-vm-sound-null -vm-display-null -headless"? ("could not find module vm-sound-null")
I don't mind whether I use Cog or Interpreter, as long as I can just get an image running tests.
Thanks!
frank
Hi Frank,
On 14-02-01 11:04 , Eliot Miranda wrote:
Hi Frank,
from the command line say e.g. /Applications/Cog.app/Contents/MacOs/Squeak -headless my image.image
Whatever script runs the job may also have to be run by the same User ID as is logged into the screen. I ran into this issue trying to get the CI stuff running on my server. EVEN HEADLESS, the VM startup code needed some sort of access to the console, although it doesn't display anything :(.
I'll email my startup script, which makes this much more convenient, real soon now.
Eliot (phone)
On Feb 1, 2014, at 10:05 AM, Frank Shearar frank.shearar@gmail.com wrote:
OK, so I've run out of patience in my flailing around. All I want is to run a headless image on a Mac (so I can unbreak the SqueakTrunk-OSX job, which _used_ to work).
How? Do I say "-headless"? ("could not find module vm-display-X11") "-vm-display-null -headless"? ("squeak: could not find any sound driver") "-vm-sound-null -vm-display-null -headless"? ("could not find module vm-sound-null")
I don't mind whether I use Cog or Interpreter, as long as I can just get an image running tests.
Thanks!
frank
Dear Squeakers,
Should this work with current CogSpur VMs? I can’t make it work.
I can run this and it opens a window shortly, and prints „test" on the console: CogSpur.r3684.app/Contents/MacOS/Squeak Squeak5.1-15113.image test.st
My test.st looks like this: Smalltalk runAndQuit: [FileStream stdout nextPutAll: ‚test‘; cr]
However, if I run the following CogSpur.r3684.app/Contents/MacOS/Squeak -headless my Squeak5.1-15113.image test.st I get „Error: No content to install“
I also tried this: CogSpur.r3684.app/Contents/MacOS/Squeak -headless Squeak5.1-15113.image test.st
I get „Syntax Error: UndefinedObject y“, <<<This string contains a character (ascii value 25) that is not normally used in code>>> y@`Argument expected
The same happens with an up-to-date trunk image.
Any tips?
Cheers, Bernhard
Am 01.02.2014 um 20:04 schrieb Eliot Miranda eliot.miranda@gmail.com:
Hi Frank,
from the command line say e.g.
/Applications/Cog.app/Contents/MacOs/Squeak -headless my image.image
I'll email my startup script, which makes this much more convenient, real soon now.
Eliot (phone)
Hi Bernhard,
The error message indicates that Squeak couldn't find your st file. You have to supply the full path to your test.st, e.g.:
CogSpur.r3684.app/Contents/MacOS/Squeak -headless Squeak5.1-15113.image $(pwd)/test.st
Hope this helps.
Best, Fabio
Hi Fabio,
Thanks for the tip. However, it does not change the behavior. A window always shows and I still get the same errors. Does -headless on OS X work for you?
Cheers, Bernhard
Am 24.04.2016 um 14:37 schrieb Fabio Niephaus lists@fniephaus.com:
Hi Bernhard,
The error message indicates that Squeak couldn't find your st file. You have to supply the full path to your test.st, e.g.:
CogSpur.r3684.app/Contents/MacOS/Squeak -headless Squeak5.1-15113.image $(pwd)/test.st
Hope this helps.
Best, Fabio
--
On Sun, Apr 24, 2016 at 2:17 PM Bernhard Pieber bernhard@pieber.com wrote: Dear Squeakers,
Should this work with current CogSpur VMs? I can’t make it work.
I can run this and it opens a window shortly, and prints „test" on the console: CogSpur.r3684.app/Contents/MacOS/Squeak Squeak5.1-15113.image test.st
My test.st looks like this: Smalltalk runAndQuit: [FileStream stdout nextPutAll: ‚test‘; cr]
However, if I run the following CogSpur.r3684.app/Contents/MacOS/Squeak -headless my Squeak5.1-15113.image test.st I get „Error: No content to install“
I also tried this: CogSpur.r3684.app/Contents/MacOS/Squeak -headless Squeak5.1-15113.image test.st
I get „Syntax Error: UndefinedObject y“, <<<This string contains a character (ascii value 25) that is not normally used in code>>> y @ `Argument expected
The same happens with an up-to-date trunk image.
Any tips?
Cheers, Bernhard
Am 01.02.2014 um 20:04 schrieb Eliot Miranda eliot.miranda@gmail.com:
Hi Frank,
from the command line say e.g.
/Applications/Cog.app/Contents/MacOs/Squeak -headless my image.image
I'll email my startup script, which makes this much more convenient, real soon now.
Eliot (phone)
What window is still showing up? Are you sure your absolute path to your .st is correct?
Cheers, Fabio
On 27.04.2016, at 21:32, Fabio Niephaus lists@fniephaus.com wrote:
What window is still showing up? Are you sure your absolute path to your .st is correct?
Note that the Cocoa-Based Mac VMs do not yet interpret -headless correctly.
Best regards -Tobias
This is being fixed this week.
On Tue, May 3, 2016 at 1:49 PM, Tobias Pape Das.Linux@gmx.de wrote:
On 27.04.2016, at 21:32, Fabio Niephaus lists@fniephaus.com wrote:
What window is still showing up? Are you sure your absolute path to your .st is correct?
Note that the Cocoa-Based Mac VMs do not yet interpret -headless correctly.
Best regards -Tobias
Hi John,
Should this work already with the latest VMs?
Cheers, Bernhard
Am 06.05.2016 um 02:36 schrieb John McIntosh johnmci@smalltalkconsulting.com:
This is being fixed this week.
On Tue, May 3, 2016 at 1:49 PM, Tobias Pape Das.Linux@gmx.de wrote:
On 27.04.2016, at 21:32, Fabio Niephaus lists@fniephaus.com wrote:
What window is still showing up? Are you sure your absolute path to your .st is correct?
Note that the Cocoa-Based Mac VMs do not yet interpret -headless correctly.
Best regards -Tobias
I believe so, give it a whirl
On Sun, Jul 3, 2016 at 4:33 AM, Bernhard Pieber bernhard@pieber.com wrote:
Hi John,
Should this work already with the latest VMs?
Cheers, Bernhard
Am 06.05.2016 um 02:36 schrieb John McIntosh <
johnmci@smalltalkconsulting.com>:
This is being fixed this week.
On Tue, May 3, 2016 at 1:49 PM, Tobias Pape Das.Linux@gmx.de wrote:
On 27.04.2016, at 21:32, Fabio Niephaus lists@fniephaus.com wrote:
What window is still showing up? Are you sure your absolute path to your .st is correct?
Note that the Cocoa-Based Mac VMs do not yet interpret -headless
correctly.
Best regards -Tobias
squeak-dev@lists.squeakfoundation.org