Giter Site home page Giter Site logo

API KEY does not work.! about wego HOT 8 CLOSED

schachmat avatar schachmat commented on July 27, 2024
API KEY does not work.!

from wego.

Comments (8)

schachmat avatar schachmat commented on July 27, 2024

Please paste your complete config file and the exact error message you are getting when running wego.

from wego.

4bdulll4 avatar 4bdulll4 commented on July 27, 2024

The errors message states that i don't have the API key.

2016/02/22 00:04:42 No API key specified. Setup instructions are in the README.

And, there is no additional file for the configuration.
I placed the key in init() function as follows:

screenshot_1

from wego.

schachmat avatar schachmat commented on July 27, 2024

You have to put the API key into the config file .wegorc in your home directory. Since it starts with a . it is hidden from most file managers, but you can still edit it for example with nano ~/.wegorc from the terminal.

from wego.

4bdulll4 avatar 4bdulll4 commented on July 27, 2024

I cannot find such file. I am using windows explorer.

from wego.

schachmat avatar schachmat commented on July 27, 2024

Should be C:\Documents and Settings\YOURUSERACCOUNTNAMEHERE\.wegorc in Windows XP and C:\Users\YOURUSERACCOUNTNAMEHERE\.wegorc in later windows versions. If you still can't find it, put log.Fatal(configpath) instead of the config.APIKey = "*******************" line, rebuild and run to get the file location.

from wego.

4bdulll4 avatar 4bdulll4 commented on July 27, 2024

Thank you it's working now.

from wego.

4bdulll4 avatar 4bdulll4 commented on July 27, 2024

I was also wondering if it supports light version or not.

from wego.

schachmat avatar schachmat commented on July 27, 2024

currently not, see #24.

from wego.

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.