Page 1 of 1

Initial setup Fedora 31

Posted: Mon Mar 16, 2020 2:18 pm
by JimCraw
Trying to start FAHControl and get a syntax error.

Code: Select all

 File "/usr/bin/FAHControl", line 57
    if sock.recv(1024).strip() == 'OK': print 'Ok'
                                                 ^
SyntaxError: invalid syntax
I assume I missed a step some where.

I have Installed cuda, and opencl-utils
along with the rpms
fahclient-7.5.1-1.x86_64.rpm
fahcontrol-7.5.1-1.noarch.rpm
fahviewer-7.5.1-1.x86_64.rpm

Re: Initial setup Fedora 31

Posted: Mon Mar 16, 2020 5:36 pm
by goodyca
change the first line of /usr/bin/FAHControl to:

#!/usr/bin/python2

Re: Initial setup Fedora 31

Posted: Mon Mar 16, 2020 6:25 pm
by JimCraw
Thanks,
does anyone know fi this will be converted to python V3?

Re: Initial setup Fedora 31

Posted: Mon Mar 16, 2020 6:40 pm
by Nathan_P
JimCraw wrote:Thanks,
does anyone know fi this will be converted to python V3?
Probably but i'm not sure where they are with a new version of the client - I read over the weekend that one is in development but its probably been shelved for now at resoruces are needed to get the infrastructure quickly upgraded