I've identified the source of my problem =) I starts my image with a script like: exec "$VM" $VM_PARAMS "$IMAGE" $STARTUP_SCRIPT where $STARTUP_SCRIPT is the path to a .st file. That file was named "startup.st". Which is automatically loaded with Pharo 1.4. So it was loaded twice and my image was fucked. I tried to modify my script to: exec "$VM" $VM_PARAMS "$IMAGE" and put "startup.st" next to the image. But that still gives me the error. In the end I just kept exec "$VM" $VM_PARAMS "$IMAGE" $STARTUP_SCRIPT but rename the file lying in $STARTUP_SCRIPT in "start.st". Everything seems to work fine now. On 25/04/12 00:48, Mariano Martinez Peck wrote:
On Wed, Apr 25, 2012 at 7:12 AM, Francois Stephany <tulipe.moutarde@gmail.com <mailto:tulipe.moutarde@gmail.com>> wrote:
Hi there,
I have a problem when trying to start an application on a linux server with the latest cogvm (2550) and Pharo 1.4-14438.
==== Startup Error: PrimitiveFailed: primitive #primGetPosition: in MultiByteFileStream failed MultiByteFileStream(Object)>>__primitiveFailed: MultiByteFileStream(Object)>>__primitiveFailed MultiByteFileStream(__StandardFileStream)>>__primGetPosition: MultiByteFileStream(__StandardFileStream)>>position MultiByteFileStream(__PositionableStream)>>__skipStyleChunk MultiByteFileStream(__PositionableStream)>>__fileInAnnouncing: in Block: [:bar | ... NonInteractiveUIManager(__CommandLineUIManager)>>__progressInitiationExceptionDef__aultAction: ProgressInitiationException>>__defaultAction UndefinedObject>>handleSignal: MethodContext(ContextPart)>>__handleSignal: Got startup errors: PrimitiveFailed: primitive #primGetPosition: in MultiByteFileStream failed
Francois, I think that stacktrace is a problem trying to write into PharoDebug.log ANOTHER problem. So you shuld try to somehow see which is the original error.
Cheers
I haven't identified the cause yet but if anybody had that problem before, i'm all ears ;)
Cheers, Francois
-- Mariano http://marianopeck.wordpress.com
-- http://tulipemoutarde.be CA: +1 778 558 3225 BE: +32 65 709 131