Code Monkey home page Code Monkey logo

Comments (4)

stewartmcgown avatar stewartmcgown commented on May 16, 2024 1

SammyHass has explained the problem, you must follow the instructions or it won't work.

from uds.

sammyhass avatar sammyhass commented on May 16, 2024

Did you change the credentials.json file to be called client_secret.json and did you run the initial setup too (python uds.py)?

I had this same message, hadn't done the first of the above when it happened.

from uds.

pantuts avatar pantuts commented on May 16, 2024

Pls don't close this. What sammyHass said, i did it the very first setup. Still error.

from uds.

stephaun avatar stephaun commented on May 16, 2024

I also am experiencing this issue.
I followed the instructions and named the file client_secret.json , then ran it and received the message:

/usr/local/lib/python3.5/dist-packages/oauth2client/_helpers.py:255: UserWarning: Cannot access credentials.json: No such file or directory
  warnings.warn(_MISSING_FILE_MESSAGE.format(filename))

So I then ran cp client_secret.json credentials.json and re-ran python3 uds.py and am now receiving the same "_module" error.

EDIT:
Sorry got it working. I am running Win10 w/Ubuntu on the "Linux for Windows" feature. I had some confusion about the instructions for "different machine". The script said it launched a page in the web browser (which it didn't) so I assumed something went wrong, when in fact it was hung on awaiting a response via a temporary created web server (which actually collided with another program on my machine because it defaulted to port 8080).
Basically just run python3 uds.py --noauth_local_webserver
I understand why the developers chose this path, but for me it was actually a lot easier to just manually copy a link to the browser and manually copy/paste the verification code.

Sorry!

from uds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.