ppwwyyxx / speaker-recognition

A Speaker Recognition System
Apache License 2.0
673 stars 275 forks source link

Issue with building the GUI #62

Open Fritskee opened 6 years ago

Fritskee commented 6 years ago

Cannot build the GUI from the dockerfile: [WARNING]: Empty continuation line found in: RUN useradd -m $USERNAME && echo "$USERNAME:$USERNAME" | chpasswd && usermod --shell /bin/bash $USERNAME && usermod -aG sudo $USERNAME && echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME && usermod --uid 1000 $USERNAME && groupmod --gid 1000 $USERNAME [WARNING]: Empty continuation lines will become errors in a future release.

SO, I started with trying to build the GUI manually from the CLI... command I run in commandline: sudo docker run -ti -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -u guiuser speaker-recognition error that pops up /usr/bin/python: can't open file '/root/speaker-recognition/src/speaker-recognition.py': [Errno 13] Permission denied

--> Also tried running it as root, but that throws the same error (running it on Ubuntu 16.04)

@ppwwyyxx any ideas?

qacollective commented 6 years ago

Hi,

In this situation, I think you may need to chmod all the files/folders so they're accessible by guiuser ... I'll take a look and let you know more when I do.