Installing the client packages fails on Linux Mint 20See original GitHub issue
System Information OS: Linux Mint 20 Python: 3.8.5 GCC: 9.3.0
Describe the bug I am following the quick start guide to test OpenCue before I deploy it. I followed all the steps successfully and managed to build the docker container and it is running with the following output:
cuebot_1 | WARNING: An illegal reflective access operation has occurred cuebot_1 | WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (jar:file:/opt/opencue/cuebot-0.4.55-all.jar!/BOOT-INF/lib/protobuf-java-3.4.0.jar!/) to field java.nio.Buffer.address cuebot_1 | WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil cuebot_1 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations cuebot_1 | WARNING: All illegal access operations will be denied in a future release rqd_1 | WARNING:root:RQD Started cuebot_1 | 2020-10-18 14:55:42,678 WARN pool-1-thread-1 com.imageworks.spcue.dispatcher.HostReportHandler - Unable to find host 172.18.0.5,org.springframework.dao.EmptyResultDataAccessException: Failed to find host 172.18.0.5 , creating host.
However, installing the client packages fails when I run the
sandbox/install-client-archives.sh script. The entire output of the script is in this pastebin. I don’t want to paste it here because it is more than 4000 lines.
The culprit, as far as I can tell, seems to be
grpcio. When trying to build it, I get this error:
Building wheel for grpcio (setup.py) … error ERROR: Command errored out with exit status 1: command: /home/abdelrahman/Sources/OpenCue/venv/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv = ‘"’"’/tmp/pip-install-89hkuygl/grpcio/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-89hkuygl/grpcio/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ bdist_wheel -d /tmp/pip-wheel-pqhekyoa cwd: /tmp/pip-install-89hkuygl/grpcio/
The python tracebacks all show
distutils errors, sometimes a
DistutilsExecError, sometimes a
CompileError, but they all have the following message:
command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
When I looked this error online, all the suggestions seemed to revolve around installing the
build-essential packages, but I have these two installed on my system already, so I am not sure what is causing the issue.
Steps to reproduce the behavior:
Just follow the steps from the quick start guide up to Installing the OpenCue client packages, specifically where you run this command
Version Number I tried three different versions: 0.4.55 0.4.14 0.2.65 (from the quick start guide)
- Created 2 years ago
Top GitHub Comments
Glad it worked for you. Looks like the documentation definitely needs to be clear in this regard. I haven’t looked at it for a while now, but I may check it later and see if I can submit a pull request to update it.
For now, I will close this issue, since it looks like it might be irrelevant for the current version of OpenCue.
@amsaid1989 Thanks for the feedback!
I think that the documentation is not up to date with the matching version of the prebuilt OpenCue images of Cuebot and RQD on Docker Hub used in the sandbox environment.
The exception syntax error line is from the
0.2.65 tag: https://github.com/AcademySoftwareFoundation/OpenCue/blob/0.2.65/cuesubmit/cuesubmit/ui/Submit.py
export VERSION=0.15.22 sandbox/install-client-archives.sh
and it worked! Maybe the documentation should be more clear about which versions of cueadmin/gui/submit match the docker images…