<div dir="ltr">Ezequiel,<div><br></div><div>When you get a tODE debugger window on an error:</div><div><img src="cid:ii_ky4qhglk1" alt="image.png" width="562" height="427"><br></div><div>you can use the `step *` menu items (and keyboard shortcuts) to control stepping ... for reporting errors the `Window>>print window` produces a test window that contains all of the frames in a form that you can copy from (print window is available for every tODE window).</div><div><br></div><div>So providing us with a print of the stack window will help us understand the error you are getting in more detail ... providing a print window of the `project list` will give us information about all of the projects you have loaded and more importantly the version/SHA/branch that you are using for each of those projects. Here's the "print window" from `project list` in my image:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">--------------------<br>+ FileSystemGemStone                                        filetree://$GS_HOME/shared/repos/FileSystem-GemStone/repository<br>|GsSqueak|                                                  filetree://$GS_HOME/shared/repos/BP2017RH1/dhenrich/tODEIntegration/src<br>|RemoteServiceReplication|                                  filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/RemoteServiceReplication/filetree<br>|FileTree|                  28ab532 [gemstone2.4]           filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/filetree/repository<br>|GLASS1|                    d78deea2 ^ b3209f2d [master]    filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/glass/repository<br>GsDevKit_home               82c7842 [master]                $GS_HOME<br>|Tonel|                                                     filetree://$GS_HOME/shared/repos/tonel/src<br>Gofer                       1.0.5.4 [release]               <a href="http://seaside.gemtalksystems.com/ss/metacello">http://seaside.gemtalksystems.com/ss/metacello</a><br>|Grease|                    3466bfa ^ eef515d [master]      filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/Grease/repository<br>|Metacello|                 0128f801 [master]               filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/metacello-work/repository<br>|RB|                        6790c6e [dev]                   filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/rb/repository<br>|Ston|                      eb35c53 [gemstone]              filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/ston/repository<br>|ZincHTTPComponents|        eddbfb0 ^ 2c834394 [gs_master]  filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/zinc/repository<br>|Tode|                      5957d0464 [master]              filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/tode/repository<br>|Zodiac|                    58b1125 [gs_master]             filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/zodiac/repository<br>BitmapCharacterSet                                          github://GsDevKit/BitmapCharacterSet:gemstone/filetree<br>|GsApplicationTools|                                        filetree://$GS_HOME/shared/repos/gsApplicationTools/repository<br>|Obex|                                                      filetree://$GS_HOME/shared/repos/obex/repository<br>OrderPreservingDictionary                                   github://GsDevKit/OrderPreservingDictionary:gemstone/filetree<br>|Parasol|                                                   filetree://$GS_HOME/shared/repos/Parasol/repository<br>|PharoCompatibility|                                        filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/PharoCompatibility/repository<br>|Seaside3|                                                  filetree://$GS_HOME/shared/repos/Seaside/repository<br>SIXX                                                        github://glassdb/SIXX:master/repository<br>|SmalltalkCI|                                               filetree:///home/dhenrich/rogue/_homes/rogue/_home/shared/repos/smalltalkCI/repository<br>XMLParser                                                   github://GsDevKit/XML-XMLParser:gemstone/filetree<br>XMLWriter                                                   github://GsDevKit/XML-XMLWriter:gemstone/filetree<br>XPath                                                       github://GsDevKit/XML-XPath:gemstone/filetree</blockquote><div>using "print window" is preferable to a screen shot, because we can use copy and paste to extract information from the window (and it's easier for you to extract information from the system and paste it into bug reports as well)</div><div><br></div><div>Dale</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 7, 2022 at 7:16 AM Johan Brichau via Glass <<a href="mailto:glass@lists.gemtalksystems.com">glass@lists.gemtalksystems.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Ezequiel,<div><br></div><div>I am using the same instructions for loading the current Seaside master in a GsDevkit stone, so let’s see what is happening in your case…</div><div><br></div><div>Which version of GemStone are you using?</div><div><br></div><div>From the variables you are quoting, it seems that you are trying to load the (old) Seaside31 project.</div><div>That should not be happening of the project was defined correctly. So, the root cause is probably because the first step is failing.</div><div><br></div><div>Can you give more info on what is ‘failing’ when you type:</div><div><span style="white-space:pre-wrap">   </span>project install --url=<a href="http://gsdevkit.github.io/GsDevKit_home/Seaside32.ston" target="_blank">http://gsdevkit.github.io/GsDevKit_home/Seaside32.ston</a></div><div><br></div><div><br></div><div>Cheers,</div><div>Johan</div><div><br></div><div><div><br><blockquote type="cite"><div>On 7 Jan 2022, at 01:59, Ezequiel R. Aguerre via Glass <<a href="mailto:glass@lists.gemtalksystems.com" target="_blank">glass@lists.gemtalksystems.com</a>> wrote:</div><br><div><div dir="ltr">Hi everyone! I'm experimenting a little bit with GemStone. I tried to install Seaside but the instructions are not working for me.<div><br></div><div>I've used the scripts of the GsDevKit_home to setup everything, I can launch tODE successfully, but when I type the following commands in the shell, they don't work.</div><div><br></div><div>The first one:</div><div><br></div><div><font face="monospace">project install --url=<a href="http://gsdevkit.github.io/GsDevKit_home/Seaside32.ston" target="_blank">http://gsdevkit.github.io/GsDevKit_home/Seaside32.ston</a></font><div><div dir="ltr"><div dir="ltr"><div><br></div><div>This one fails, but it also says something about Seaside being already installed... so I just skip it.</div><div><br></div><div>But then, this command fails:</div><div><br></div><font face="monospace">project load --loads=`#('Welcome' 'Development' 'Zinc Project' 'Examples')` Seaside3</font><div><br></div><div>It raises an exception about accessing an array with a non-integer index.</div><div><br></div><div>It looks like there must be something outdated, but I'm not sure. So I can't load Seaside to start playing with it.</div><div>If I right-click "load" on the project list, it happens the same thing.</div><div><br></div><div>The following is an investigation on the issue in case it clarifies anything:</div><div><br></div><div>The error is raised in the following method:</div><div><br></div><div><font face="monospace">MetacelloGemStonePlatform>>downloadJSON: url eTagsCache: eTagsCache eTagsKey: eTagsKey username: username pass: pass</font></div><div><font face="monospace"> "(code ...)"</font></div><div><font face="monospace">  (status beginsWith: '403')</font></div><font face="monospace">                ifTrue: [ <br>                  | jsonObject |<br>                  "Oh snap! Rate limit exceeded"<br>                  jsonObject := MCFileTreeJsonParser parse: payload.<br>                  self error: (jsonObject at: 'message') ].</font></div><div dir="ltr"><font face="monospace"> "(more code...)"</font><br><div><br></div><div><font face="monospace">jsonObject</font> is actually an array, so <font face="monospace">jsonObject at: 'message'</font> raises an excepction.</div><div><br></div><div>These are the values of the variables:</div><div><br></div><div><font face="monospace"> - url: '<a href="https://api.github.com/repos/GsDevKit/Seaside31/tags" target="_blank">https://api.github.com/repos/GsDevKit/Seaside31/tags</a>'</font></div><div><font face="monospace"> - username: nil</font></div><div><font face="monospace"> - pass: nil</font></div><div><font face="monospace"> - eTagsKey: 'GsDevKit/Seaside31'</font></div><div><font face="monospace"> - eTagsCache: aDictionary( 'GsDevKit/Seaside31' -> aDictionary() )</font></div><div><font face="monospace"> - jsonObject: an array of dictionaries, each dictionary has the following information:</font></div><div><font face="monospace">   - commit: a dictionary with a "sha" and "url" keys</font></div><div><font face="monospace">   - name: a string like 'v3.1.4.2-gs'</font></div><div><font face="monospace">   - node_id: a base64 encoded string, when decoded is something like: '03:Ref8633068:refs/tags/v3.1.4.2-gs'</font></div><div><font face="monospace">     - tarball_url: a url</font></div><div><font face="monospace">     - zipball_url: a url</font></div><div>  </div><div><br></div><div>I don't know how to use the debugger yet, so I can't step through the code. But I think the problem is actually up above, in the following line:</div><div><br></div><div><font face="monospace">status := headerDict at: 'status' ifAbsent: [ '403' ].</font><br></div><div><br></div><div><font face="arial, sans-serif">Because the server is actually responding correctly, if I "curl <a href="https://api.github.com/repos/GsDevKit/Seaside31/tags" target="_blank">https://api.github.com/repos/GsDevKit/Seaside31/tags</a>" it works just fine.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">And the following method:</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="monospace">MetacelloGemStonePlatform>>extractHTTPHeader: aStream do: aBlock</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">explicitly skips the first HTTP line (the status):</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="monospace"> line := aStream nextLine.       "strip status"</font><font face="arial, sans-serif"><br></font></div><div><br></div><div>I tried adding a line like the following:</div><div><br></div><font face="monospace">  header at: 'status' put: (line substrings at: 2).</font><br><div><br></div><div>But then I have a problem with an "X-Ratelimit-Remaining" header.</div><div><br></div><div>So I'm not sure... I think there's something outdated somewhere... I don't know how to proceed.</div><div><br></div><div>Or maybe this kind of things are better asked on the Github issue tracker? I don't know, I didn't want to open an issue that may not be an issue at all.</div><div><br></div><div>Oh, before I forget, I'm running Arch Linux 64 bits, maybe the problem is my environment.</div><div><br></div><div>Thanks!</div><div><br></div><div>--</div>Ezequiel R. Aguerre</div></div></div></div></div>
_______________________________________________<br>Glass mailing list<br><a href="mailto:Glass@lists.gemtalksystems.com" target="_blank">Glass@lists.gemtalksystems.com</a><br><a href="https://lists.gemtalksystems.com/mailman/listinfo/glass" target="_blank">https://lists.gemtalksystems.com/mailman/listinfo/glass</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
Glass mailing list<br>
<a href="mailto:Glass@lists.gemtalksystems.com" target="_blank">Glass@lists.gemtalksystems.com</a><br>
<a href="https://lists.gemtalksystems.com/mailman/listinfo/glass" rel="noreferrer" target="_blank">https://lists.gemtalksystems.com/mailman/listinfo/glass</a><br>
</blockquote></div>