[Glass] [gt4gemstone] GsGciLostSessionError when "Inspect it (remote)"

Christian Haider via Glass glass at lists.gemtalksystems.com
Tue May 30 03:07:39 PDT 2017


Hi Andrei,

 

Unfortunately, I don’t understand your answer.

I have tode installed on the stone and followed the instructions in [1].

This leaves me with the following project list (from tode):

--------------------

GsDevKit_home         fb20421 [master]       $GS_HOME

|FileTree|            1b11ee4 [gemstone2.4]  filetree:///home/stoneuser/GsDevKit_home/shared/repos/filetree/repository

|GLASS1|              e63cf82 [master]       filetree:///home/stoneuser/GsDevKit_home/shared/repos/glass/repository

Gofer                 1.0.5.4 [release]      http://seaside.gemtalksystems.com/ss/metacello

|Grease|              d9c9daa [master]       filetree:///home/stoneuser/GsDevKit_home/shared/repos/Grease/repository

|Gt4Gemstone|         e359037 [master]       github://feenkcom/gt4gemstone:master/src

|Metacello|           108aee3 [master]       filetree:///home/stoneuser/GsDevKit_home/shared/repos/metacello-work/repository

|RB|                  a9e9137 [dev]          filetree:///home/stoneuser/GsDevKit_home/shared/repos/rb/repository

|SmalltalkCI|         8888324 [master]       filetree:///home/stoneuser/GsDevKit_home/shared/repos/smalltalkCI/repository

|Ston|                25aace1 [gemstone]     filetree:///home/stoneuser/GsDevKit_home/shared/repos/ston/repository

|Tode|                1859c1b [master]       filetree:///home/stoneuser/GsDevKit_home/shared/repos/tode/repository

|ZincHTTPComponents|  811da98 [gs_master]    filetree:///home/stoneuser/GsDevKit_home/shared/repos/zinc/repository

|Zodiac|              9657392 [gs_master]    github://GsDevKit/zodiac:gs_master/repository

|PharoCompatibility|                         filetree:///home/stoneuser/GsDevKit_home/shared/repos/PharoCompatibility/repository

 

I see GsDevKit_home [master] and |Tode| [master] and |Gt4Gemstone| [master].

The question is: How do I get the dev branch into the stone from this point?

 

Christian

 

Von: Andrei Chis [mailto:chisvasileandrei at gmail.com] 
Gesendet: Dienstag, 30. Mai 2017 11:37
An: Christian Haider <christian.haider at smalltalked-visuals.com>
Cc: glass at lists.gemtalksystems.com
Betreff: Re: [Glass] [gt4gemstone] GsGciLostSessionError when "Inspect it (remote)"

 

Hi Christian,

 

There are two main ways to install gt4gemstone in a stone, depending on weather you already have tode/gsdevkit installed on that stone.

 

In case you have tode/gsdevkit installed then you can follow the instructions at [1]. This require you to run a few tode commands. Those tode commands will clone and install the project.

 

In case you do have tode/gsdevkit installed then you should look at [2]. In this case you'll need to manually clone the project and the use a bash script to load the project into the stone. You can look at installGT4Gemstone.sh to see the various installation options. Just note that this also loads and install STON and Cypress apart from gt4gemstone.

 

Let me know if you need more help or run into other issues.

 

Cheers,

Andrei

 

 

[1] https://github.com/feenkcom/gt4gemstone/blob/master/doc/gsdevkitGemStoneInstallation.md

[2] https://github.com/feenkcom/gt4gemstone/blob/master/doc/bareGemStoneInstallation.md

 

On Tue, May 30, 2017 at 8:51 AM, Christian Haider <christian.haider at smalltalked-visuals.com <mailto:christian.haider at smalltalked-visuals.com> > wrote:

Hi Andrei,

 

thanks for your answer.

Unfortunately, I am lost with tode and git.

 

As I understand, I need the dev branch of tode for the client (I followed the instructions “GsDevKit installation on Windows” https://github.com/feenkcom/gt4gemstone/blob/master/doc/windowsGsDevKitInstallation.md). 

 

git clone https://github.com/GsDevKit/GsDevKit_home.git

cd GsDevKit_home

git checkout dev_tode

installClient

cd $GS_HOME/shared/repos

cd tode

git checkout dev

cd ..

git clone https://github.com/feenkcom/gt4gemstone.git

createClient -t pharo Gt4Gemstone -l -v Pharo5.0 -s gs_330 -z $GS_HOME/shared/repos/gt4gemstone/.smalltalk.ston

 

But, I guess I need to do similar things on the server.

Unfortunately, I cannot find any docs on that.

Can I do this in tode? How?

Or do I need to use the shell? How? Then, how do I get the new code into the stone?

 

Christian

 

 

Von: Andrei Chis [mailto:chisvasileandrei at gmail.com <mailto:chisvasileandrei at gmail.com> ] 
Gesendet: Montag, 29. Mai 2017 14:39
An: Christian Haider <christian.haider at smalltalked-visuals.com <mailto:christian.haider at smalltalked-visuals.com> >
Cc: glass at lists.gemtalksystems.com <mailto:glass at lists.gemtalksystems.com> 
Betreff: Re: [Glass] [gt4gemstone] GsGciLostSessionError when "Inspect it (remote)"

 

Hi Christian,

 

gt4gemstone currently works with the dev version of tode. That error happens as #theSelf is just in the dev version.

I pushed some changes to gt4gemstone adding that method. Can you pull, and try again. If it still doesn't work

then you might need to switch to the dev version.

 

Cheers,

Andrei

 

 

On Mon, May 29, 2017 at 12:27 PM, Christian Haider via Glass <glass at lists.gemtalksystems.com <mailto:glass at lists.gemtalksystems.com> > wrote:

Hi,

 

I am new to Gemstone and tried to install gt4gemstone, but it seems that it only partly works.

 

Setup: 

-          Ubuntu 16.04.2 server for the stone (3.3.5)

-          Windows 10 client in the same local network

-          Topaz, Jade and tODE work on the windows machine

-          Installed gt4g using https://github.com/feenkcom/gt4gemstone/blob/master/doc/windowsGsDevKitInstallation.md

-          Gt4g opens fine and I can create a session and can browse the symbol dictionaries

But when I do “SessionTemps” “inspect it (remote)” (from menu) (as shown in the first screenshot of the “Inspecting objects” section of https://github.com/feenkcom/gt4gemstone), the client freezes for half a minute and then pops-up an error notification for “GsGciLostSessionError”.

The beginning of the stack is:

 

GsGci32xErrSType>>asLocalObjectFor:

GsGci32xErrSType>>asLocalObjectFor:ifNotConverted:

GsGciSession>>send:to:withArgs:

GtGsMinimalClient(TDMinimalClient)>>send:to:withArgs:

GtGsDebuggerSessionProxy>>initializeForGemstoneClient:andNotification:

GtGsDebuggerSessionProxy class>>forClient:andNotification:in:

GtGsMinimalClient>>debuggerRequested:

TDRuntimeError>>defaultAction

UndefinedObject>>handleSignal:

TDRuntimeError(Exception)>>signal

TDErrorNotification(TDNotification)>>defaultRuntimeError

TDErrorNotification(TDNotification)>>defaultAction

UndefinedObject>>handleSignal:

TDErrorNotification(Exception)>>signal

GsGci32xErrSType>>asLocalObjectFor:

GsGci32xErrSType>>asLocalObjectFor:ifNotConverted:

GsGciSession>>send:to:withArgs:

GtGsMinimalClient(TDMinimalClient)>>send:to:withArgs:

GtGsDebuggerSessionProxy>>initializeForGemstoneClient:andNotification:

GtGsDebuggerSessionProxy class>>forClient:andNotification:in:

GtGsMinimalClient>>debuggerRequested:

TDRuntimeError>>defaultAction

UndefinedObject>>handleSignal:

TDRuntimeError(Exception)>>signal

TDErrorNotification(TDNotification)>>defaultRuntimeError

TDErrorNotification(TDNotification)>>defaultAction

UndefinedObject>>handleSignal:

TDErrorNotification(Exception)>>signal

GsGci32xErrSType>>asLocalObjectFor:

GsGci32xErrSType>>asLocalObjectFor:ifNotConverted:

…

 

An endless loop of a debugger error having to do with: "a MessageNotUnderstood occurred (error 2010), a GtGsDebuggerStackFrame does not understand  #'theSelf'".

I found an implementor of #theSelf on the client (TDStackFrame), but not on the server.

Unfortunately, I have no clue what the original error was which send the debugger into a spin.

 

I guess, I did something wrong…

Maybe because I use Windows? 

Maybe because I use the 3.3.5 and not the 3.3.3? 

Maybe because I do everything as DataCurator?

What else could go wrong?

 

Christian


_______________________________________________
Glass mailing list
Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com> 
http://lists.gemtalksystems.com/mailman/listinfo/glass

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170530/1cfd10b4/attachment-0001.html>


More information about the Glass mailing list