-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customClientLoad.st fails to load on Windows #61
Comments
What is the value of the variable |
Well,.... That means that this is a filetree / git bash issue? Sebastian |
If I set GS_HOME to: And If I set GS_HOME to: |
What command do you use to load gt4gemstone into the stone? This line looks strange |
I use: |
One thing I realize is that with the createClient command as described before there is still only the 3.3.0 dlls (e.g. libgcirpc-3.3.0-32.dll) installed in GS_HOME/dev/clients/Gt4Gemstone |
Okay,... this is what I had to do to get a working image.
Changes are c: for filetree and "projectDirectory:" added otherwiese I would get an error that C:\Users\myuser\GsDevKit_Home\shared\repos\gt4gemstone.smalltalk.ston\src does not exist. During load there is an error related to UnifiedFFI and a missing references, but you can resume. After that I can define the session and connect. Sebastian |
Glad to hear that at least is works now :). Before executing |
Yes, I did the clone.
But, I actually tried both your master and dev_340 from dalehenrich
|
@dalehenrich do you have any idea what can go wrong here? Before following the instructions from the windows installation worked. Now it seems there is the following error: |
I will be off-line for 2-3 hours (dentist appointment and leaving shortly) ... I don't have a windows machine to test on, so I have fly blind when it comes to windows ... the only thing I can say is that I've recommended that folks use github/bash on windows and that might be the source or the problem, or there is a typo in a script somewhere, or ??? |
Hi Dale! Sebastian |
@HeSe could you provide the command output from a failing |
Here we go! The reason for the error is the filtree://c: thingy... |
@HeSe I received email with a different error condition ... am I supposed to completely ignore that error? It seems to indicate a script error that probably should be fixed ... unless??? |
The fact that the |
Not, yet! customClientLoad.st is a generated file. So that needs fixing. I do not know if the generation of that file is in your or Andrei's domain. |
... it looks like the Pharo stack has been truncated (a problem I have complained about in the past to no avail) so I cannot actually tell where the error is occurring ... @chisandrei do you have any suggestions for @HeSe? to get better information from the pharo stack ... it's pretty useless to get a truncated stack when running batch jobs ... I will read the script itself and see if I can find the offending line ... it is likely to be somewhere in that script... |
This is a copy from the shell create Gt4Gemstone image using /c/Users/myuser/GsDevKit_home/shared/repos/gt 4gemstone/.smalltalk.ston . |
@HeSe and @chisandrei am I right in guessing that the path that is causing the problem is the path passed in from the command line: Since the pharo stack information from the log is useless ... I am guessing that script quoted by @HeSe in this comment and in that comment it seems that the error is related to the path being passed in on the command line: If so, then it just means that a Window's user needs to use a properly formed path for Pharo on Windows --- I have no idea what that would be ... @HeSe you should be able to pass in a path on the command line that does not use |
@HeSe the pharo stack dump is truncated at the line: |
Hi Dale, you are right and that is the point. Both paths created on windows are not working with filetree: export GS_HOME= export GS_HOME= Your tode1 installation seems to do some magic because here a ":" is added: create tode1 image using /c/Users/myuser/GsDevKit_home/sys/default/pharo/win dows/todeLoad.st |
My guess is that the $GS_HOME env var works within the bash scripts running with the github windows desktop code ... however, Pharo cannot use the $GS_HOME that works for Windows github ... For tODE loads, I convert the paths using this code |
@chisandrei can you tell me in which code base the reference to customClientLoad.st can be found? |
@dalehenrich thank you for your help! |
@HeSe the customClientLoad.st is generated by this script in the GsDevKit/GsDevKit_todeClient project |
okay, let me check if I can play with that |
@HeSe remember that I don't have a way to test any changes I make and I am curious why "only you" are having a problem ... All of these scripts apparently work for @chisandrei ... so now I want to know why '/c/Users/myuser/GsDevKit_home/shared/downloads/products/GemStone64BitClient3.3.6-x86.Windows_NT/bin32/msvcr*' creates problems for you and why @chisandrei doesn't have the problem building clients ... |
@dalehenrich I was not having problems when using |
@dalehenrich I just tried to alter the scripts so that /c/Users... would be come /c:/Users ... just as you discribed, but this will not work because there are other spots like "SmalltalkCI load:" that can't deal with /c/ , too. I never tried to load GsDevKit_home or pharo from within git bash bsaed on MinGW64 on windoes before,... That is why, I have no idea if that ever worked at all. |
I am not familiar at all with Windows, so I don't know what MinGW64 is, however, if you are not using GitHub for Windows then I am not surprised that you are having troubles, because that is the only Windows environment we "support". |
Here are the git install instructions for Windows ... |
@HeSe sounds like a plan .. I will keep my fingers crossed:) ... without an acceptable bash shell implementation on windows, there will be quite a bit of work to port all of the scripts to windows ... my preference for the next major rework for GsDevKit_home would be to use guillep/Scale, but it isn't ported to windows yet ... |
I have a proposed chance to the customClientLoad.st script.
On my windows 7 with git bash the filetree paths seem incorrect
Instead of
filetree:///c/Users/
might have to be
filetree:///c:/Users/
Sebastian
The text was updated successfully, but these errors were encountered: