Giter VIP home page Giter VIP logo

Comments (4)

nielstron avatar nielstron commented on May 30, 2024

Could not reproduce. Does return forecast for local city though.

from skill-weather.

MatthewScholefield avatar MatthewScholefield commented on May 30, 2024

I just verified, I can still reproduce the issue. But, it sometimes works if it cab derive a location from the string. Another that fails for me is will it rain in somewhere.

from skill-weather.

ChristopherRogers1991 avatar ChristopherRogers1991 commented on May 30, 2024

I get this as well when I ask what is the temperature in the living room? (trying to get a thermostat reading):

14:00:22.742 - skill-weather:__handle_typed:690 - ERROR - Error: The location couldn't be found
Traceback (most recent call last):
  File "/opt/mycroft/skills/skill-weather/__init__.py", line 157, in weather_at_location
    "query": q
  File "/opt/mycroft/skills/skill-weather/__init__.py", line 138, in request
    resp = super().request(data)
  File "/home/chris/Code/mycroft-core/mycroft/api/__init__.py", line 65, in request
    return self.send(params)
  File "/home/chris/Code/mycroft-core/mycroft/api/__init__.py", line 147, in send 
    return self.get_response(response, no_refresh)
  File "/home/chris/Code/mycroft-core/mycroft/api/__init__.py", line 169, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: {"cod":"404","message":"city not found"}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/mycroft/skills/skill-weather/__init__.py", line 653, in __handle_typed
    report['lon']).get_weather()
  File "/opt/mycroft/skills/skill-weather/__init__.py", line 172, in weather_at_place
    response, trans_name = self.weather_at_location(name)
  File "/opt/mycroft/skills/skill-weather/__init__.py", line 163, in weather_at_location
    return self.weather_at_location(name)
  File "/opt/mycroft/skills/skill-weather/__init__.py", line 151, in weather_at_location
    raise ValueError('The location couldn\'t be found')
ValueError: The location couldn't be found

from skill-weather.

chrisveilleux avatar chrisveilleux commented on May 30, 2024

Weather skill uses a new API for geolocation now. Closing

from skill-weather.

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.