Code Monkey home page Code Monkey logo

Comments (9)

MichaelPak avatar MichaelPak commented on May 18, 2024

I have already got api_key, but it still doesn't work

from xbar-plugins.

MichaelPak avatar MichaelPak commented on May 18, 2024

I have found problem. It's in get_wx() in weather_data['visibility'] and weather_data['next_hour'], cause json response from forecast hasn't got ['currently']['visibility'] and ['minutely']['summary']

from xbar-plugins.

seripap avatar seripap commented on May 18, 2024

What location are you grabbing weather for? The plugin checks weather for all those nodes- if one doesn't exist it'll catch the exception and hang. You can modify it by deleting some of the nodes that may not work for specific location, or add better error-handling for each of the nodes

from xbar-plugins.

MichaelPak avatar MichaelPak commented on May 18, 2024

That's response from ipinfo.io:

{
  "ip": "212.5.****.****",
  "hostname": "firewall.****.ru",
  "city": "",
  "region": "",
  "country": "RU",
  "loc": "55.7500,37.6166",
  "org": "****"
}

I'm from Russia/Moscow.

P.S. Yeah, I have deleted visibility and next_hour from plugin.

from xbar-plugins.

chakler avatar chakler commented on May 18, 2024

I live in Manila and have the same problem as well. The JSON I got from forcast.io doesn’t provide any minutely information.

It’d probably be better if the less important information are conditional based on availability. πŸ˜ƒ

from xbar-plugins.

seripap avatar seripap commented on May 18, 2024

I'll fix this up to be a bit more conditional for my international friends πŸ‘

from xbar-plugins.

MichaelPak avatar MichaelPak commented on May 18, 2024

Thanks a lot!

from xbar-plugins.

chakler avatar chakler commented on May 18, 2024

Tried #226. Works like a charm! Thanks!

from xbar-plugins.

MichaelPak avatar MichaelPak commented on May 18, 2024

good work amigo!

from xbar-plugins.

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.