-
Notifications
You must be signed in to change notification settings - Fork 32
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
AttributeError using python3 #15
Comments
Just on a side note, how did you install libpython3.4. im stuck there. Update Ok after installing libpython3.4 I am also stuck here. (env) pi@raspberrypi:~/google-assistant-hotword-raspi $ python gassistant.py models/ok_google.pmdl |
is the above problem solved? problem solved myself |
How did you solve the problem? i'm struggling for day with it |
Its not a big issue. EmbeddedAssistantStub is not in google.assistant.embedded.v1alpha1.embedded_assistant_pb2 instead it is in google.assistant.embedded.v1alpha1.embedded_assistant_pb2_grpc so change the module name in assistant.py(You need to change it in 2 places(line 84 and 190)). Hope this helps!! |
Replied to your Problem. Have a look.
…On Fri, Mar 23, 2018 at 12:31 AM, roykaandorp ***@***.***> wrote:
How did you solve the problem? i'm struggling for day with it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae1iLHnLFPWkCx_hRJGIoAUQwHAZu61Hks5tg_UXgaJpZM4RqBpW>
.
|
Thank you very much for the reply. I've tried these changes, but when i look in the assistant_helpers.py i've got less then 136 lines. It also has at the top at import the line "google.assistant.embedded.v1alpha2.embedded_assistant_pb2". When i don't change that file, it comes a bit further then before. I identifies the hotword but after that i see a lot of errors in a loop. Also tried to change that line to v1alpha1 and, but that didn't work of course. Edit: Downloaded an older assistent_helper.py, this file i didn't have to edit. Thank you very much for your help |
Can you show me the error
…On Saturday, March 24, 2018, roykaandorp ***@***.***> wrote:
Thank you very much for the reply. I've tried these changes, but when i
look in the assistant_helpers.py i've got less then 136 lines. It also has
at the top at import the line "google.assistant.embedded.v1alpha*2*
.embedded_assistant_pb2". When i don't change that file, it comes a bit
further then before. I identifies the hotword but after that i see a lot of
errors in a loop. Also tried to change that line to v1alpha1 and, but that
didn't work of course
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae1iLDzF4Y-cN20zq3P1329NWqrlYKDRks5thU-SgaJpZM4RqBpW>
.
|
If possible attach a ss
…On Sunday, March 25, 2018, MAHESH YADAV ***@***.***> wrote:
Can you show me the error
On Saturday, March 24, 2018, roykaandorp ***@***.***> wrote:
> Thank you very much for the reply. I've tried these changes, but when i
> look in the assistant_helpers.py i've got less then 136 lines. It also has
> at the top at import the line "google.assistant.embedded.v1alpha*2*.embedded_assistant_pb2".
> When i don't change that file, it comes a bit further then before. I
> identifies the hotword but after that i see a lot of errors in a loop. Also
> tried to change that line to v1alpha1 and, but that didn't work of course
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#15 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/Ae1iLDzF4Y-cN20zq3P1329NWqrlYKDRks5thU-SgaJpZM4RqBpW>
> .
>
|
I'm sorry if i was not clear, but it was solved by editing the files you mentioned and downloading the older version of assistant_helper. (I've searched for it on google and took the one with "google.assistant.embedded.v1alpha1.embedded_assistant_pb2" in it) |
I'm not following,
replace the function name to what? .UPDATE Solved: Changing function calls in assistant.py lines 136 and 144 to |
Look at the error you will understand. Function names have been updated
that is why this problem occured.Hope dis helps
…On Sat, Jun 2, 2018 at 11:09 PM, sburrell63 ***@***.***> wrote:
I'm not following,
For this you need to change the line 136 and 144 by replacing the function
name from assistant_helpers.py which is in googlesamples.assistant.grpc_
replace the function name to what?
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae1iLK03avYG6G8n9FkjWDRRdJI1mZEKks5t4s3pgaJpZM4RqBpW>
.
|
Yes, this worked. I updated my original post to reflect the name changes required. Thanks! |
Hi if I take a loot in assistant.py lines 136 and 144 in the previous posts you wrote to change it to: I dont know what to do, PLEASE can you help me, thanks! |
Hello, when i use
The text was updated successfully, but these errors were encountered: