Closed shankargopal closed 4 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.
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 .
I have the same problem, have you found a solution?
Can you manually run the assistant ?
Yeah I tried but I still get "Illegal instruction", just like issue #938
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 ?
--
@shankargopal , Do we have an update, coz I am surprised that GA is not working with even stretch.
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
Currently this Code is not working anymore. I have tried yesterday with a fresh copy of Raspberry OS.
After successful initialization it has given same error which has mention has Shankargopal,
Then try to start manually with "googlesamples-assistant-hotword --project-id my-dev-project --device-model-id my-model" but it gave Segmentation fault.
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"
Now I tried to enable & start as Service, but Status shows failed to start
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
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
do we need to install python 3.7? Please advise. Thanks in advance
Same Problem
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
Describe the bug:
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.
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.
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
Paste the contents of the terminal below
Attach the log file named Gassistpi.log
Log file can be found in /tmp/ directory
No file present