#Contribute Resources Help
290 messages · Page 1 of 1 (latest)
@viscid mulch @sharp drum
This error happens when im still in this step:
Right click on 00_install_choco_msys2_admin.cmd and select Run as administrator
Just proceed with the next step and see if that works
I think it will be fine since you already have a compiler installed
when I double click 2_install_worker.cmd
nothing happens, it just open a window and close it in less than 0.001 seconds
Well
you are invoking msys command in a windows CMD
I don't think that's how stuff works
you need to run whatever script from msys
I don't know honestly how to install the worker on windows
I never tried
I can check later and let you know
ofc he has is yes
he installed it for compiling SF
so maybe go to next step?
or restart computer?
@grave solar did you get it to work?
it works for me
this is what 02_install_worker.cmd contains
@echo off
::install fishtest worker
C:\tools\msys64\msys2_shell.cmd -defterm -mingw64 -here -c "bash 02_install_worker.sh 2>&1 | tee 02_install_worker.sh.log"
so if you have the wrong address
it will not work
my address is C:\msys64...
So I changed the cmd content with notepad
@sharp drum Thanks, now it worked
np
@sharp drum now I'm stuck at the last step:
iv. Start the worker
I can't find the worker in the folder
i see worker folder right there
Maybe the problem is that i dont have python?
Is python a must for running the worker?
In this tutorial its not written how to install python.
at seceond 5 mingw is also installing python, so i think it might be already there
the problem is probably you used the old instructions before
you have to use mingw 64 prompt
probably
not cmd
I can give access through teamviewer
you better off removing everything and then starting from beginning
your old stuff is interfering
most likely
Last time, peregrine spent half an hour helping me to set up msys mingw, etc., to be able to compile new patches.
So I guess I will just leave everything as it is, I'm afraid to ruin stuff, I wanted to contribute with only 1 core per day anyway.
then like i said already
you cant use those instructions
you have to do it from the mingw prompt
hit start and then type mingw and then choose the 64 bit
yeah, not worth it probably if you can't get it to work
for the future watch this brilliant video that i made https://discordapp.com/channels/435943710472011776/1032922913499783169/1191837643256901732
after you cd to /c/wherever
so what issue you are facing now?
I don't have python installed
didn't the script installed for you?
it's probably installed but not in path and he isn't using right shortcut
What can I do to make sure that python is now installed?
he does not need to install it again with .sh
open the worker folder please
copy the address of the worker folder
C:\Users\Fauzi\Downloads\fishtest-worker-setup-master\worker
open mingw
send cd /C/Users/Fauzi/Downloads/fishtest-worker-setup-master/worker
send python -v after
python3 -v
well we want to check which one is there
send pacman -S mingw-w64-x86_64-python
is there a way to paste the copied test in mingw?
ctrl+v is not working
each command im writing it manually for now
right click paste
yes
yes
yes
ok, now its closed
open it again
open it and run pere comamnd
this one?
no
pacman -S mingw-w64-x86_64-python
the install one
done
python -v
python worker.py
wait
not working, should i first navigate inside the folder?
ok done
now python worker.py
ah you are at wrong address
cd /C/Users/Fauzi/Downloads/fishtest-worker-setup-master/worker
first
Well, i entered my username normally, and it worked
but when it ask me for password
i cant type anything
it won't show it
you can type it's hidden
you have to type it blind
it keep telling me: Invalid or missing credentials
Even though I entered my password blindly
if you were inactive for long time ur acct gets deactivated
I;m inactive only for 3 years
ok it worked now
username is fauzi2
Thanks guys ❤️
you're welcome
However, everytime I need to launch the worker, I need to use mingw? or can I launch it from the standard .cmd file that I have in the folder?
pere just remote to his machine lol
change in config
I mean, usually through the cmd method, it asks you how many cores you want to dedicate.
While here it didnt ask
Yes found it
concurrency = max(1,min(3,MAX-1)) ; = 3 cores
should I change to:
concurrency = max(1,min(1,MAX-1)) ; = 1 cores
?
where is the MAX
variable
assigned
change the MAX
not the equation
you smart 😛
although both works
did you find a place that have MAX = someNumber?
ah okay
I'm stupid
MAX is not a variable you can change
it's the max cores you have
which is 4
I have the following CPU:
12th Gen Intel(R) Core(TM) i5-1235U 1.30 GHz
I don't think I only have 3 cores
I thought my cpu has 8 cores or more
@fringe girder how to check how many cores he has?
he has 2 p core and 8 e core
it is only counting the p cores with hyperthreading i think
concurrency = max(1,min(x,MAX-1)) ; = x cores
iif you assign more than the maximum
the equation will clamp it anyways
try 50 cores
instead of x
ok lets try anyway, I just changed the formula to:
concurrency = max(1,min(1,MAX-1)) ; = 1 cores
and it will be clamped
now i will run the worker
you can just put
concurrency = 1
yeah
before running worker
you need to add python to env variables
so that you can use cmd
and better move the worker folder to another place
that is easy for you to access
for example
ok, how?
ok just a sec, since i already ran the worker, to test how many cores its using
C:\msys64\mingw64\bin
see if python.exe is here
ok
Even though i closed the worker 1 minute ago, i still cant cut paste the folder:
I did
it is, anyway i will restart the laptop.
maybe something is still running behind the curtains
it is closed...
ctrl alt delete
and see if python is running and end the proccess
instead of restarting computer
here?
strange okay you can restart computer later let's continue the procces before moving the worker folder
C:\msys64\mingw64\bin
see if this has python
restart completed.
do you suggest to move to desktop the whole:
fishtest-worker-setup-master folder
Or only worker folder
ok done, pasted to desktop
yeah but I'm not sure what do I need to do with this link
you can either navigate to it manually or just paste any address here
to immediatly go to it
ok I'm there
is there python.exe
yes
open system enviromental variables
and add C:\msys64\mingw64\bin to the path
To the one on the top or the one in the bottom?
it's already there...........
oh yes
👍
and type python -v
close this cmd
now go the worker folder
and in the address bar
write cmd
then enter
yes
now you can run worker from cmd
then enter what? 😛
yes it did, I was waiting for what command to type, but now I understand you meant python worker.py
working like a charm
thanks bro
np
after all this, we got one more core to our fleet 