Goole_Dialogflow example, google-oauthlib-tool OSerror windows error 1

Posts: 1
Joined: Thu Nov 28, 2019 9:24 am

Goole_Dialogflow example, google-oauthlib-tool OSerror windows error 1

Postby Multimediabox » Thu Nov 28, 2019 9:40 am

I am trying to get the google_dialogflow example running, all seems to be working up until the authentication tool.
When i run the command as specified in the documentation i have th eproblem the consule doesn't let me enter the authentication code. If i remove -- headless it opens my browser, all works fine until i return to the consule i get the OSerror windows error 1

I am runnning the old envioremnt MSYS32 under Windows 10, the new enviorement doesnt support thye example today as i understand.
google-oauthlib-tool --scope \ --save --headless --client-secrets ~/esp/esp-va-sdk/examples/google_dialogflow/my client_secret json

The output:
# google-oauthlib-tool --scope --save --client-secrets ~/esp/esp-va-sdk/examples/google_dialogflow/My client_secret_json
Please visit this URL to authorize this application: ... pe=offline
Traceback (most recent call last):
File "C:/msys32/mingw32/lib/python2.7/", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:/msys32/mingw32/lib/python2.7/", line 72, in _run_code
exec code in run_globals
File "C:/msys32/mingw32/bin/google-oauthlib-tool.exe/", line 9, in <module>
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 764, in __call__
return self.main(*args, **kwargs)
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 717, in main
rv = self.invoke(ctx)
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 555, in invoke
return callback(*args, **kwargs)
File "C:/msys32/mingw32/lib/python2.7/site-packages/google_auth_oauthlib/tool/", line 127, in main
click.echo('credentials saved: %s' % credentials)
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 260, in echo
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 630, in _safe_write
return _write(s)
File "C:/msys32/mingw32/lib/python2.7/site-packages/colorama/", line 40, in write
File "C:/msys32/mingw32/lib/python2.7/site-packages/colorama/", line 143, in write
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 180, in write
return self._text_stream.write(x)
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 72, in write
return io.TextIOWrapper.write(self, x)
File "C:/msys32/mingw32/lib/python2.7/site-packages/click/", line 164, in write
raise OSError(self._get_error_message(GetLastError()))
OSError: Windows error 1


Who is online

Users browsing this forum: No registered users and 6 guests