[Glass] Tode - Installing 3.4.1 beside an existing 3.3.5 installation - todeClient install error
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Wed Feb 14 03:01:27 PST 2018
Reg,
The issue is that in 3.4 we changed the compiler to conform to the ANSI
standard which disallows literal binary selectors to be interpreted as a
symbol in a literal array so #( == ) is no longer accepted and must be
written as #( #== ).
DataStream>>nextPut: was patched in this[1] commit
The commit that you are currently using (9429bf37) dates from April of
2017 and there are a number of bugfixes[2] that have been committed
since then that you should probably be using as well ..
In general it is always a good idea to pick up the the latest version of
the "shared project clones":
filetree
glass
Grease
metacello-work
PharoCompatibility
rb
ston
tode
using `updateGsDevKit -s` whenever you upgrade to a new version of
GemStone, so that youcan pick up the latest platform-specific bugfixes
that might be available. For further info on the updateGsDevKit command
use `updateGsDevKit -h`.
Dale
[1]
https://github.com/glassdb/glass/commit/5668823302d576da64c62e717651492a590b3363
[2] https://github.com/glassdb/glass/pull/24
On 02/13/2018 05:56 PM, Reg Krock wrote:
> Hi Dale,
>
> I encountered an error: UserDefinedError occurred (error 2318) -
> DataStream>>nextPut: while installing the server.
>
> I did the following:
> 1) Ran script - 'downloadGemstone 3.4.1' which successfully downloaded
> the 3.4.1 version.
> 2) Ran script - 'createStone devKit_34 3.4.1’
>
> It successfully installed and started the new server and the netldi.
> In the existing tode client, the devKit_34 option was successfully added.
>
> However the following error occurred. I have attached the entire log
> at the bottom.
>
> Also, I cannot connect from the tode1 client to the devKit_34.
>
> Your help is much appreciated.
>
> Regards,
>
> Reg
>
> ============================ TERMINAL SESSION OUTPUT
> ===================================================
>
>
> ….
> 109 GsUpgrader >> deploy: @12 line 13[GsNMethod 56008705]
> 100 GsUpgrader >> loadGLASS1 @15 line 12 [GsNMethod 56019457]
> 101 GsUpgrader >> upgradeGLASS1 @7 line 9 [GsNMethod 56005121]
> 102 GsUpgrader class >> upgradeGLASS1 @3 line 4 [GsNMethod 55970817]
> 103 [] in Executed Code @9 line 10 [GsNMethod 139814401]
> 104 ExecBlock0 (ExecBlock) >> on:do: @3 line 44 [GsNMethod 4356353]
> 105 GsUpgrader class >> batchErrorHandlingDo: @3 line 3 [GsNMethod
> 55974913]
> 106 Executed Code @4 line 6 [GsNMethod 139814657]
> 107 <Reenter marker>
>
> ========>Client Stack:
> Error: while installing tODE on server: 'a UserDefinedError occurred
> (error 2318), reason:halt, Compile error in Class: #''DataStream''
> method: nextPut: anObject
> "Write anObject to the receiver stream. Answer anObject."
> | typeID selector objectToStore |
>
>
> typeID := self typeIDFor: anObject.
> (self tryToPutReference: anObject typeID: typeID)
> ifTrue: [^ anObject].
>
>
> objectToStore := (self objectIfBlocked: anObject)
> objectForDataStream: self.
> objectToStore == anObject ifFalse: [typeID := self typeIDFor:
> objectToStore].
>
>
> byteStream nextPut: typeID.
> selector := #(writeNil: writeTrue: writeFalse: writeInteger:
> writeStringOld: writeSymbol: writeByteArray:
> writeArray: writeInstance: errorWriteReference:
> writeBitmap:
> writeClass: writeUser: writeFloat: writeRectangle: ==
> "<-16 short inst"
> * ^1
> '
> TDTopezGemStoneClient(Object)>>error:
> TDTopezGemStoneClient>>installTodeBlock: in Block: [ :ex | ...
> BlockClosure>>cull:
> MethodContext(ContextPart)>>handleSignal: in Block: [ self
> exceptionHandlerBlock cull: exception ]
> BlockClosure>>ensure:
> MethodContext(ContextPart)>>handleSignal:
> GsErrorNotification(Exception)>>signal
> TodeInstallSession(TodeSession)>>signalServerError:
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> TodeInstallSession(GciSession)>>getNbResult
> Error on or near line 99 :: devKitCommandLine loadTode devKit_34 ::
> devKitCommandLine loadTode devKit_34
> Error on or near line 55 :: todeLoad devKit_34 :: todeLoad devKit_34
> Error on or near line 169 :: createStone devKit_34 3.4.1 ::
> createStone devKit_34 3.4.1
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20180214/17daab94/attachment-0001.html>
More information about the Glass
mailing list