shivasiddharth / GassistPi

Google Assistant for Single Board Computers
Other
1.02k stars 303 forks source link

Fails to install, nothing happens when it says "testing the installed google assistant" #963

Closed shankargopal closed 4 years ago

shankargopal commented 5 years ago

IMPORTANT NOTICE
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

Board and OS details:

Open a terminal and run

cat /proc/cpuinfo  
cat /etc/os-release  
processor   : 0
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 1
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 2
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

processor   : 3
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xd03
CPU revision    : 4

Hardware    : BCM2835
Revision    : a020d3
Serial      : 0000000098fd4098
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Describe the bug:

When I try to install the system, the script executes normally, reaches the line 'Testing the installed google assistant. Make a note of the generated Device-Id', and then it exits and nothing happens.

Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues).

Yes

2. Is the issue related to assistant installation ?

Yes

If answer to question 2 is Yes, then paste the contents of the terminal below.

This script must run as pi, trying to change user...

Enter the your full credential file name including the path and .json extension: xxx <redacted>

Enter the your Google Cloud Console Project-Id: xxx <redacted>

Enter the modelid that was generated in the actions console:  xxx <redacted>

Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]     
Get:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages [221 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Fetched 11.9 MB in 17s (690 kB/s)                                              
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
autoconf is already the newest version (2.69-10).
automake is already the newest version (1:1.15-6).
bison is already the newest version (2:3.0.4.dfsg-1).
build-essential is already the newest version (12.3).
gcc is already the newest version (4:6.3.0-4).
git is already the newest version (1:2.11.0-3+deb9u4).
libatlas-base-dev is already the newest version (3.10.3-1+rpi1).
libffi-dev is already the newest version (3.2.1-6).
libjack-jackd2-dev is already the newest version (1.9.10+20150825git1ed50c92~dfsg-5).
libmpg123-dev is already the newest version (1.23.8-1).
libpcre3 is already the newest version (2:8.39-3).
libpcre3-dev is already the newest version (2:8.39-3).
libsox-fmt-mp3 is already the newest version (14.4.1-5+deb9u1).
libssl-dev is already the newest version (1.1.0k-1~deb9u1).
libxml2-dev is already the newest version (2.9.4+dfsg1-2.2+deb9u2).
libxslt1-dev is already the newest version (1.1.29-2.1).
mpg123 is already the newest version (1.23.8-1).
mplayer is already the newest version (2:1.3.0-6).
mpv is already the newest version (0.23.0-2+deb9u2).
nmap is already the newest version (7.40-1).
portaudio19-dev is already the newest version (19.6.0-1).
python is already the newest version (2.7.13-2).
python-dev is already the newest version (2.7.13-2).
python-setuptools is already the newest version (33.1.1-1).
python3 is already the newest version (3.5.3-1).
python3-dev is already the newest version (3.5.3-1).
python3-lxml is already the newest version (3.7.1-1).
python3-setuptools is already the newest version (33.1.1-1).
python3-venv is already the newest version (3.5.3-1).
socat is already the newest version (1.7.3.1-2+deb9u1).
sox is already the newest version (14.4.1-5+deb9u1).
zlib1g-dev is already the newest version (1:1.2.8.dfsg-5).
python-pip is already the newest version (9.0.1-2+rpt2).
python3-pip is already the newest version (9.0.1-2+rpt2).
The following additional packages will be installed:
  libvlc-bin vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify
  vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization
Suggested packages:
  libdvdcss2
The following packages will be upgraded:
  libvlc-bin vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify
  vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization
13 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 341 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-skins2 armhf 3.0.8-0+deb9u1+rpt1 [521 kB]
Get:2 http://archive.raspberrypi.org/debian stretch/main armhf vlc armhf 3.0.8-0+deb9u1+rpt1 [139 kB]
Get:3 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-qt armhf 3.0.8-0+deb9u1+rpt1 [1,051 kB]
Get:4 http://archive.raspberrypi.org/debian stretch/main armhf vlc-bin armhf 3.0.8-0+deb9u1+rpt1 [158 kB]
Get:5 http://archive.raspberrypi.org/debian stretch/main armhf libvlc-bin armhf 3.0.8-0+deb9u1+rpt1 [123 kB]
Get:6 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-video-output armhf 3.0.8-0+deb9u1+rpt1 [235 kB]
Get:7 http://archive.raspberrypi.org/debian stretch/main armhf vlc-l10n all 3.0.8-0+deb9u1+rpt1 [5,840 kB]
Get:8 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-base armhf 3.0.8-0+deb9u1+rpt1 [2,618 kB]
Get:9 http://archive.raspberrypi.org/debian stretch/main armhf vlc-data all 3.0.8-0+deb9u1+rpt1 [446 kB]
Get:10 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-notify armhf 3.0.8-0+deb9u1+rpt1 [124 kB]
Get:11 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-samba armhf 3.0.8-0+deb9u1+rpt1 [125 kB]
Get:12 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-video-splitter armhf 3.0.8-0+deb9u1+rpt1 [138 kB]
Get:13 http://archive.raspberrypi.org/debian stretch/main armhf vlc-plugin-visualization armhf 3.0.8-0+deb9u1+rpt1 [139 kB]
Fetched 11.7 MB in 23s (493 kB/s)                                              
apt-listchanges: Reading changelogs...
(Reading database ... 87960 files and directories currently installed.)
Preparing to unpack .../00-vlc-plugin-skins2_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-skins2:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../01-vlc_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../02-vlc-plugin-qt_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-qt:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../03-vlc-bin_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-bin (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../04-libvlc-bin_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking libvlc-bin:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../05-vlc-plugin-video-output_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-video-output:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../06-vlc-l10n_3.0.8-0+deb9u1+rpt1_all.deb ...
Unpacking vlc-l10n (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../07-vlc-plugin-base_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-base:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../08-vlc-data_3.0.8-0+deb9u1+rpt1_all.deb ...
Unpacking vlc-data (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../09-vlc-plugin-notify_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-notify:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../10-vlc-plugin-samba_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-samba:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../11-vlc-plugin-video-splitter_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-video-splitter:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Preparing to unpack .../12-vlc-plugin-visualization_3.0.8-0+deb9u1+rpt1_armhf.deb ...
Unpacking vlc-plugin-visualization:armhf (3.0.8-0+deb9u1+rpt1) over (3.0.8-0+deb9u1) ...
Processing triggers for mime-support (3.60) ...
Setting up vlc-plugin-samba:armhf (3.0.8-0+deb9u1+rpt1) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up vlc-data (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc-plugin-qt:armhf (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc-l10n (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc-plugin-video-output:armhf (3.0.8-0+deb9u1+rpt1) ...
Setting up libvlc-bin:armhf (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc-plugin-video-splitter:armhf (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc-plugin-skins2:armhf (3.0.8-0+deb9u1+rpt1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up vlc-plugin-visualization:armhf (3.0.8-0+deb9u1+rpt1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Setting up vlc-plugin-notify:armhf (3.0.8-0+deb9u1+rpt1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up vlc-plugin-base:armhf (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc-bin (3.0.8-0+deb9u1+rpt1) ...
Setting up vlc (3.0.8-0+deb9u1+rpt1) ...
Processing triggers for libvlc-bin:armhf (3.0.8-0+deb9u1+rpt1) ...
Requirement already satisfied: pyaudio in /usr/local/lib/python2.7/dist-packages

===========================Checking OS Compatability=========================

===========You are running the installer on Stretch==========

===========Your board supports Ok-Google Hotword. You can also trigger the assistant using custom-wakeword==========

===========GPIO pins can be used with the assistant==========

==========Changing particulars in service files==========

==========Changing particulars in service files for Ok-Google hotword==========
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pip in ./env/lib/python3.5/site-packages (19.2.3)
Requirement already up-to-date: setuptools in ./env/lib/python3.5/site-packages (41.2.0)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))': /simple/wheel/
Requirement already up-to-date: wheel in ./env/lib/python3.5/site-packages (0.33.6)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting git+https://github.com/plamere/spotipy.git (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 17))
  Cloning https://github.com/plamere/spotipy.git to /tmp/pip-req-build-4pjmh7e8
  Running command git clone -q https://github.com/plamere/spotipy.git /tmp/pip-req-build-4pjmh7e8
Requirement already satisfied (use --upgrade to upgrade): spotipy==2.4.4 from git+https://github.com/plamere/spotipy.git in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 17))
Collecting git+https://github.com/shivasiddharth/py-googletrans.git (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 23))
  Cloning https://github.com/shivasiddharth/py-googletrans.git to /tmp/pip-req-build-jybhcd71
  Running command git clone -q https://github.com/shivasiddharth/py-googletrans.git /tmp/pip-req-build-jybhcd71
Requirement already satisfied (use --upgrade to upgrade): googletrans==2.3.0 from git+https://github.com/shivasiddharth/py-googletrans.git in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 23))
Requirement already satisfied: pyaudio>=0.2.11 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 1)) (0.2.11)
Requirement already satisfied: aftership>=0.2 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 2)) (0.2)
Requirement already satisfied: feedparser>=5.2.1 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 3)) (5.2.1)
Requirement already satisfied: kodi-json>=1.0.0 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 4)) (1.0.0)
Requirement already satisfied: gmusicapi>=11.1.1 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (12.1.1)
Requirement already satisfied: gTTS==2.0.2 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 6)) (2.0.2)
Requirement already satisfied: gTTS-token==1.1.3 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 7)) (1.1.3)
Requirement already satisfied: youtube_dl>=2018.11.23 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 8)) (2019.8.13)
Requirement already satisfied: PyChromecast>=2.3.0 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 9)) (3.2.3)
Requirement already satisfied: pafy>=0.5.4 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 10)) (0.5.4)
Requirement already satisfied: psutil>=5.4.8 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 11)) (5.6.3)
Requirement already satisfied: urllib3>=1.24.1 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 12)) (1.25.3)
Requirement already satisfied: google-api-python-client>=1.7.5 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 13)) (1.7.11)
Requirement already satisfied: requests>=2.20.1 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 14)) (2.22.0)
Requirement already satisfied: pushbullet.py>=0.11.0 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 15)) (0.11.0)
Requirement already satisfied: python-vlc>=3.0.4106 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 16)) (3.0.7110)
Requirement already satisfied: pyyaml==3.13 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 18)) (3.13)
Requirement already satisfied: spidev>=3.2 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 19)) (3.4)
Requirement already satisfied: gpiozero>=1.4.1 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 20)) (1.5.1)
Requirement already satisfied: numpy>=1.15.4 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 21)) (1.17.0)
Requirement already satisfied: pycryptodomex==3.7.2 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 22)) (3.7.2)
Requirement already satisfied: paho-mqtt==1.4.0 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 24)) (1.4.0)
Requirement already satisfied: google-cloud-texttospeech==0.3.0 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 25)) (0.3.0)
Requirement already satisfied: google-cloud-speech==0.36.0 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 26)) (0.36.0)
Requirement already satisfied: adafruit-io==2.1 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 27)) (2.1)
Requirement already satisfied: cryptography==2.4.2 in ./env/lib/python3.5/site-packages (from -r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 28)) (2.4.2)
Requirement already satisfied: six>=1.10.0 in ./env/lib/python3.5/site-packages (from spotipy==2.4.4->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 17)) (1.12.0)
Requirement already satisfied: python-dateutil in ./env/lib/python3.5/site-packages (from aftership>=0.2->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 2)) (2.8.0)
Requirement already satisfied: future in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (0.17.1)
Requirement already satisfied: gpsoauth>=0.2.0 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (0.4.1)
Requirement already satisfied: protobuf>=3.0.0 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (3.9.1)
Requirement already satisfied: appdirs>=1.1.0 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (1.4.3)
Requirement already satisfied: mock>=0.7.0 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (3.0.5)
Requirement already satisfied: oauth2client>=1.1 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (4.1.3)
Requirement already satisfied: MechanicalSoup>=0.4.0 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (0.11.0)
Requirement already satisfied: validictory!=0.9.2,>=0.8.0 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (1.1.2)
Requirement already satisfied: proboscis>=1.2.5.1 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (1.2.6.0)
Requirement already satisfied: mutagen>=1.34 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (1.42.0)
Requirement already satisfied: decorator>=3.3.1 in ./env/lib/python3.5/site-packages (from gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (4.4.0)
Requirement already satisfied: click in ./env/lib/python3.5/site-packages (from gTTS==2.0.2->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 6)) (7.0)
Requirement already satisfied: bs4 in ./env/lib/python3.5/site-packages (from gTTS==2.0.2->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 6)) (0.0.1)
Requirement already satisfied: zeroconf>=0.17.7 in ./env/lib/python3.5/site-packages (from PyChromecast>=2.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 9)) (0.23.0)
Requirement already satisfied: casttube>=0.2.0 in ./env/lib/python3.5/site-packages (from PyChromecast>=2.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 9)) (0.2.0)
Requirement already satisfied: google-auth-httplib2>=0.0.3 in ./env/lib/python3.5/site-packages (from google-api-python-client>=1.7.5->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 13)) (0.0.3)
Requirement already satisfied: google-auth>=1.4.1 in ./env/lib/python3.5/site-packages (from google-api-python-client>=1.7.5->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 13)) (1.6.3)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in ./env/lib/python3.5/site-packages (from google-api-python-client>=1.7.5->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 13)) (0.13.1)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in ./env/lib/python3.5/site-packages (from google-api-python-client>=1.7.5->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 13)) (3.0.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./env/lib/python3.5/site-packages (from requests>=2.20.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 14)) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in ./env/lib/python3.5/site-packages (from requests>=2.20.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 14)) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in ./env/lib/python3.5/site-packages (from requests>=2.20.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 14)) (2019.6.16)
Requirement already satisfied: websocket-client in ./env/lib/python3.5/site-packages (from pushbullet.py>=0.11.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 15)) (0.56.0)
Requirement already satisfied: python-magic in ./env/lib/python3.5/site-packages (from pushbullet.py>=0.11.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 15)) (0.4.15)
Requirement already satisfied: colorzero in ./env/lib/python3.5/site-packages (from gpiozero>=1.4.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 20)) (1.1)
Requirement already satisfied: google-api-core[grpc]<2.0.0dev,>=1.6.0 in ./env/lib/python3.5/site-packages (from google-cloud-texttospeech==0.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 25)) (1.14.2)
Requirement already satisfied: asn1crypto>=0.21.0 in ./env/lib/python3.5/site-packages (from cryptography==2.4.2->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 28)) (0.24.0)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in ./env/lib/python3.5/site-packages (from cryptography==2.4.2->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 28)) (1.12.3)
Requirement already satisfied: setuptools in ./env/lib/python3.5/site-packages (from protobuf>=3.0.0->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (41.2.0)
Requirement already satisfied: pyasn1>=0.1.7 in ./env/lib/python3.5/site-packages (from oauth2client>=1.1->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (0.4.6)
Requirement already satisfied: pyasn1-modules>=0.0.5 in ./env/lib/python3.5/site-packages (from oauth2client>=1.1->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (0.2.6)
Requirement already satisfied: rsa>=3.1.4 in ./env/lib/python3.5/site-packages (from oauth2client>=1.1->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (4.0)
Requirement already satisfied: beautifulsoup4 in ./env/lib/python3.5/site-packages (from MechanicalSoup>=0.4.0->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (4.8.0)
Requirement already satisfied: lxml in ./env/lib/python3.5/site-packages (from MechanicalSoup>=0.4.0->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (4.4.1)
Requirement already satisfied: ifaddr in ./env/lib/python3.5/site-packages (from zeroconf>=0.17.7->PyChromecast>=2.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 9)) (0.1.6)
Requirement already satisfied: cachetools>=2.0.0 in ./env/lib/python3.5/site-packages (from google-auth>=1.4.1->google-api-python-client>=1.7.5->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 13)) (3.1.1)
Requirement already satisfied: pytz in ./env/lib/python3.5/site-packages (from google-api-core[grpc]<2.0.0dev,>=1.6.0->google-cloud-texttospeech==0.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 25)) (2019.2)
Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in ./env/lib/python3.5/site-packages (from google-api-core[grpc]<2.0.0dev,>=1.6.0->google-cloud-texttospeech==0.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 25)) (1.6.0)
Requirement already satisfied: grpcio<2.0dev,>=1.8.2; extra == "grpc" in ./env/lib/python3.5/site-packages (from google-api-core[grpc]<2.0.0dev,>=1.6.0->google-cloud-texttospeech==0.3.0->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 25)) (1.23.0)
Requirement already satisfied: pycparser in ./env/lib/python3.5/site-packages (from cffi!=1.11.3,>=1.7->cryptography==2.4.2->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 28)) (2.19)
Requirement already satisfied: soupsieve>=1.2 in ./env/lib/python3.5/site-packages (from beautifulsoup4->MechanicalSoup>=0.4.0->gmusicapi>=11.1.1->-r /home/pi/GassistPi/Requirements/GassistPi-pip-requirements.txt (line 5)) (1.9.3)
Building wheels for collected packages: spotipy, googletrans
  Building wheel for spotipy (setup.py) ... done
  Created wheel for spotipy: filename=spotipy-2.4.4-cp35-none-any.whl size=13673 sha256=ffb9a1cc15ef36deffc0975e23bf79397304c1423b36c478608ea6e07da07c86
  Stored in directory: /tmp/pip-ephem-wheel-cache-1qk0liwm/wheels/98/31/d8/02e824694a8c8e6f3451008196487ba388f623657b47c04a93
  Building wheel for googletrans (setup.py) ... done
  Created wheel for googletrans: filename=googletrans-2.3.0-cp35-none-any.whl size=16447 sha256=57ab94feb61f09723b59268efe0b3612c2ab08d593431f71329e1f6bde79f6c5
  Stored in directory: /tmp/pip-ephem-wheel-cache-1qk0liwm/wheels/1b/67/ba/f6eb1612e59a7fb2c1e50b6e823c06b3b2f446bd9287c70212
Successfully built spotipy googletrans
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: RPi.GPIO==0.6.3 in ./env/lib/python3.5/site-packages (0.6.3)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: google-assistant-library==1.0.1 in ./env/lib/python3.5/site-packages (1.0.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: google-assistant-grpc==0.2.1 in ./env/lib/python3.5/site-packages (0.2.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: google-assistant-sdk==0.5.1 in ./env/lib/python3.5/site-packages (0.5.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: google-assistant-sdk[samples]==0.5.1 in ./env/lib/python3.5/site-packages (0.5.1)
  WARNING: google-assistant-sdk 0.5.1 does not provide the extra 'samples'
Testing the installed google assistant. Make a note of the generated Device-Id

If answer to question 2 is No, then proceed further.

3. Does the assistant service start normally?

Yes/No - N/A

4. Is the assistant service restarting automatically?

Yes/No - N/A

If answer to question 4 is Yes, then paste the contents of the terminal below.

N/A

If answer to question 4 is No, then proceed further.

Manually start the assistant. For guidelines to start the assistant manually refer this

N/A

Paste the command below, that crashed the assistant

N/A

Paste the contents of the terminal below

N/A

Attach the log file named Gassistpi.log

Log file can be found in /tmp/ directory
No file present

datawire1337 commented 5 years ago

Having the same issue after the installation:

./GassistPi/scripts/gassist-installer.sh: line 225: 11303 Segmentation fault googlesamples-assistant-hotword --project_id $projid --device_model_id $modelid

When running the assistant manually afterwards:

Fatal Python error: Segmentation fault Current thread 0x76f99ad0 (most recent call first): File "/home/pi/env/lib/python3.7/site-packages/google/assistant/library/assistant.py", line 98 in init File "/home/pi/GassistPi/src/main.py", line 987 in main File "/home/pi/GassistPi/src/main.py", line 1024 in Segmentation fault

The lines point out to the device_model_id variable.

shankargopal commented 5 years ago

Please don't mix issues. Failure to install on Raspbian Buster is dealt with in this issue, GassistPi is not compatible with Buster: https://github.com/shivasiddharth/GassistPi/issues/931 My issue relates to an install in Raspbian Stretch.

On Fri, Sep 6, 2019 at 11:27 AM Banhammer1919 notifications@github.com wrote:

Same issue here on raspian buster. /GassistPi/scripts/gassist-installer.sh: line 225: 11303 Segmentation fault googlesamples-assistant-hotword --project_id $projid --device_model_id $modelid

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shivasiddharth/GassistPi/issues/963?email_source=notifications&email_token=AAK4C6NKT2V7HIT6WGCGSK3QIHWLXA5CNFSM4ISJ3OBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6B2GZA#issuecomment-528720740, or mute the thread https://github.com/notifications/unsubscribe-auth/AAK4C6IIIFPQLWO4MKX3MR3QIHWLXANCNFSM4ISJ3OBA .

Tuxliri commented 5 years ago

I have the same problem, have you found a solution?

shivasiddharth commented 5 years ago

Can you manually run the assistant ?

Tuxliri commented 5 years ago

Yeah I tried but I still get "Illegal instruction", just like issue #938

shankargopal commented 5 years ago

I don't have my Pi with me right now, but will try to do this tomorrow morning.

Thanks Shankar

On Wed, 11 Sep 2019 22:25:54 -0700 shivasiddharth notifications@github.com wrote:

Can you manually run the assistant ?

--

‌‌

shivasiddharth commented 5 years ago

@shankargopal , Do we have an update, coz I am surprised that GA is not working with even stretch.

shankargopal commented 5 years ago

Very sorry am still traveling. Will give you an update by Thursday definitely. Thank you for all your work as always.

On 24 September 2019 9:48:13 AM IST, shivasiddharth notifications@github.com wrote:

@shankargopal , Do we have an update, coz I am surprised that GA is not working with even stretch.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/shivasiddharth/GassistPi/issues/963#issuecomment-534381389

kuduvasen83 commented 5 years ago

Currently this Code is not working anymore. I have tried yesterday with a fresh copy of Raspberry OS.

  1. After successful initialization it has given same error which has mention has Shankargopal,

  2. Then try to start manually with "googlesamples-assistant-hotword --project-id my-dev-project --device-model-id my-model" but it gave Segmentation fault.

  3. Finally I followed the instruction mentioned in google developer link "https://developers.google.com/assistant/sdk/guides/library/python/embed/install-sample". Then I can start the assistant with "googlesamples-assistant-hotword --project-id my-dev-project --device-model-id my-model"

  4. Now I tried to enable & start as Service, but Status shows failed to start

  5. Then I ran the cmd manually with python , python2, python2.7 , but it gave below error /home/pi/env/bin/python -u /home/pi/GassistPi/src/main.py --device_model_id 'pi-xxxx-googlepi-xxxx' Traceback (most recent call last): File "/home/pi/GassistPi/src/main.py", line 18, in import faulthandler ImportError: No module named faulthandler

  6. Then I ran the cmd manually with python , but gave below error /home/pi/env/bin/python3 -u /home/pi/GassistPi/src/main.py --device_model_id 'pi-xxxx-googlepi-xxxx' Traceback (most recent call last): File "/home/pi/GassistPi/src/main.py", line 47, in from google.cloud import speech File "/home/pi/env/lib/python3.7/site-packages/google/cloud/speech.py", line 19, in from google.cloud.speech_v1 import SpeechClient File "/home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/init.py", line 17, in from google.cloud.speech_v1.gapic import speech_client File "/home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/gapic/speech_client.py", line 22, in import google.api_core.gapic_v1.client_info File "/home/pi/env/lib/python3.7/site-packages/google/api_core/gapic_v1/init.py", line 16, in from google.api_core.gapic_v1 import config File "/home/pi/env/lib/python3.7/site-packages/google/api_core/gapic_v1/config.py", line 23, in import grpc File "/home/pi/env/lib/python3.7/site-packages/grpc/init.py", line 23, in from grpc._cython import cygrpc as _cygrpc ImportError: /home/pi/env/lib/python3.7/site-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8

do we need to install python 3.7? Please advise. Thanks in advance

kiam001 commented 4 years ago

Same Problem