assistant-sdk-python icon indicating copy to clipboard operation
assistant-sdk-python copied to clipboard

Google Assistant on Ubuntu 'segmentation fault(core dumped)'

Open JulienDupontDev opened this issue 7 years ago • 19 comments

Good afternoon and Happy New Year !!

I'm trying to get Google Assistant working properly on my laptop. Actually it is working properly but not with the language that I want. The major issue that I have is when I type googlesamples-assistant-hotword --project-id myprojectid --device-model-id mymodel I get the error in the title.

But when I only enter googlesamples-assistant-hotword --device-model-id mymodel it works like a charm ! Of course I get the message "Your device is not registered blablabla". I already manually registered it with the tool provided by Google in the terminal.

I do not know how to do I searched the web for every little solutions but none of them is working.

Thanks for you help and sorry for my English :)

JulienDupontDev avatar Jan 03 '19 14:01 JulienDupontDev

I have the same situation, reversed. The issues might be related.

I submitted issue: https://github.com/googlesamples/assistant-sdk-python/issues/313

Eloque avatar Jan 03 '19 23:01 Eloque

I have the same problem. Any solution?

alberttoMur avatar Jan 13 '19 17:01 alberttoMur

Ok, I think I found a solution. When you try to use the hotword command it does not work and segment fault appears. I probe with another command: google-assistant-demo --project-id YOUR-ID-PROJECT --device-model-id YOUR-ID-MODEL

Everything started to work, and then trying the hotword command also worked.

I hope it serves you.

alberttoMur avatar Jan 13 '19 17:01 alberttoMur

My project segfaults on credential passing and on sending a text query.

Is there something I'm doing wrong?? 😩

m-flak avatar Feb 27 '19 02:02 m-flak

I have the same issue, the push to talk method works fine but the hot word method does not ,the voice recording test also works fine here.any clue where to troubleshoot ?

Noraccire avatar Apr 03 '19 21:04 Noraccire

I am having the same issue. I receive a Segmentation fault (core dumped) for google-assistant-demo as well as google-assistant-hotword no matter what I do.

FrankWhoee avatar Apr 15 '19 21:04 FrankWhoee

I have same problem using orange pi zero with armbian ubuntu version any fix?

marine1988 avatar Apr 23 '19 00:04 marine1988

I have the same issue, the push to talk method works fine but the hot word method does not ,the voice recording test also works fine here.any clue where to troubleshoot ?

i have the exct same problem anyone find a the fix?

marine1988 avatar Apr 23 '19 01:04 marine1988

Requesting that someone please fix this or tell us how to correct the issue as this is halting me from furthering my smart-home project.

BlueCyro avatar May 13 '19 21:05 BlueCyro

Any news about the issue?

dimitris17563 avatar Jul 08 '19 11:07 dimitris17563

@Eloque any solution on this?

bachoo786 avatar Jul 16 '19 13:07 bachoo786

Nothing yet...

dimitris17563 avatar Jul 16 '19 16:07 dimitris17563

Anyone figure this out yet? Both pushtotalk and hotword work on my raspberry pi 3 but hotword does not work on the PC. Segmentation fault (core dumped)

Hameem1 avatar Aug 07 '19 21:08 Hameem1

As commented on #313, there's no solution to this issue.

The new Google Assistant Service works over gRPC, and the (now old) Google Assistant Library is deprecated.

Cheers.

pablorq avatar Aug 26 '19 10:08 pablorq

https://github.com/googlesamples/assistant-sdk-python/issues/356 https://github.com/googlesamples/assistant-sdk-python/issues/358 https://github.com/googlesamples/assistant-sdk-python/issues/359

acidfreako avatar Oct 20 '19 12:10 acidfreako

to get it working, I downgraded the library version to 1.0.0 pip install google-assistant-library==1.0.0

thanxx avatar Nov 03 '19 16:11 thanxx

to get it working, I downgraded the library version to 1.0.0 pip install google-assistant-library==1.0.0

This worked for me, but audio suddenly went down and pops when google's response starts.

Eli-Audio avatar Jan 05 '20 18:01 Eli-Audio

to get it working, I downgraded the library version to 1.0.0 pip install google-assistant-library==1.0.0

This worked for me, but audio suddenly went down and pops when google's response starts.

For me still not working. I am using a RPi 400

georgeion avatar Feb 11 '21 14:02 georgeion

#356 #358 #359

So, basically, is not going to work on from RPi 4 onwards?

georgeion avatar Feb 11 '21 14:02 georgeion