You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm a university student using FINN as part of my thesis.
It seems that during the execution of run-docker.sh I have an issue with the --user function.
Because of the server ID allocations, my uid and gid are 32-bit values and I think it might be the source of my issues. When I run run-docker.sh I get this error:
Installing collected packages: finn
Running setup.py develop for finn
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/workspace/finn/setup.py'"'"'; __file__='"'"'/workspace/finn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps --user --prefix=
cwd: /workspace/finn/
Complete output (3 lines):
running develop
running egg_info
error: [Errno 13] Permission denied
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/workspace/finn/setup.py'"'"'; __file__='"'"'/workspace/finn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps --user --prefix= Check the logs for full command output.
The build does finish and I get a terminal inside the docker container with a nameless user "I have no name!". Which gave me issues setting up ssh keys with my ZCU102 PYNQ board (I can still ssh with a password).
Also, I don't know if it's related, but since changing from v0.6 to v0.7 it seems like I have an issue with the server license. I added this line in line 225 DOCKER_EXEC+="-e XILINXD_LICENSE_FILE=$XILINXD_LICENSE_FILE ". But when FINN is building the IPs as part of 'ZynqBuild()' the function fails and when examining the log files I can see it's due to licensing issue.
I checked inside the docker and the variable is correctly set and I can ping the server it sits in. When using Vivado locally I can see the license is okay.
Sorry for merging two issues together and thanks in advance.
Alon
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm a university student using FINN as part of my thesis.
It seems that during the execution of run-docker.sh I have an issue with the --user function.
Because of the server ID allocations, my uid and gid are 32-bit values and I think it might be the source of my issues. When I run run-docker.sh I get this error:
The build does finish and I get a terminal inside the docker container with a nameless user "I have no name!". Which gave me issues setting up ssh keys with my ZCU102 PYNQ board (I can still ssh with a password).
Also, I don't know if it's related, but since changing from v0.6 to v0.7 it seems like I have an issue with the server license. I added this line in line 225
DOCKER_EXEC+="-e XILINXD_LICENSE_FILE=$XILINXD_LICENSE_FILE "
. But when FINN is building the IPs as part of 'ZynqBuild()' the function fails and when examining the log files I can see it's due to licensing issue.I checked inside the docker and the variable is correctly set and I can ping the server it sits in. When using Vivado locally I can see the license is okay.
Sorry for merging two issues together and thanks in advance.
Alon
Beta Was this translation helpful? Give feedback.
All reactions