Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault running Assistant.py #88

Open
mlewus opened this issue Jan 6, 2022 · 0 comments
Open

Segmentation fault running Assistant.py #88

mlewus opened this issue Jan 6, 2022 · 0 comments

Comments

@mlewus
Copy link

mlewus commented Jan 6, 2022

Assistant.py is failing in
init_google_Assistant()
at line 128:
with Assistant(credentials,"magic-mirror-device-id") as assistant: for event in assistant.start(): process_event(event)

‘credentials’ is valid, and init_pubnub() works in assistant.py. GA sample code runs fine, and MMM-GoogleAssistant also installs and runs. It appears the failure is in the calls to the Google assistant library. All relevant installed versions below.

Set up environment as suggested by Google:

sudo apt-get update sudo apt-get install python3-dev python3-venv # Use python3.4-venv if the package cannot be found. python3 -m venv env env/bin/python -m pip install --upgrade pip setuptools wheel source env/bin/activate

Installed versions:
PiOS Buster updated/upgraded
gcc 8.3.0
python 3.7.3
argparse-1.4.0
cachetools-3.1.1
google-assistant-library-1.0.1
google-auth-1.35.0
pathlib2-2.3.6
pyasn1-0.4.8
pyasn1-modules-0.2.8
rsa-4.5
scandir-1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant