Jump to content

Jules

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Jules

  1. Ok, now that DarkSky has been borked fubar'd acquired by Apple, how do I get this to work? It keeps trying to call from the DS API. I've also added the OpenWeather key, but it seems to defer to DS. If there's a way to remove the DS call, that would probably work.

     

    MTIA :)

  2. Okay! Now we're in bidness. :)

     

    FTR, when I just type in "weather 20008' as you suggest, I get the "Missing Default Location". I gather that's not surprising though. heh

     

    Here's my default.log output:

     

    [2013-05-24 09:33:28,441] INFO: alfred_weather: Running command weather
    [2013-05-24 09:33:28,491] INFO: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): api.forecast.io
    [2013-05-24 09:33:29,450] DEBUG: requests.packages.urllib3.connectionpool: "GET /forecast/e5fcbcead283e722cd25de9c62507d63/39.8208925,-84.0193789?units=us HTTP/1.1" 200 None
    [2013-05-24 10:33:09,778] INFO: alfred_weather: Running command location
    [2013-05-24 10:33:09,779] DEBUG: alfred_weather: Getting location(s) with query "2"
    [2013-05-24 10:33:09,811] INFO: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): autocomplete.wunderground.com
    [2013-05-24 10:33:09,959] ERROR: alfred_weather: Error telling
    Traceback (most recent call last):
      File "alfred_weather.py", line 807, in tell
        items = globals()[cmd](query)
      File "alfred_weather.py", line 665, in tell_location
        results = wunderground.autocomplete(query)
      File "wunderground.py", line 52, in autocomplete
        return requests.get(url).json()['RESULTS']
      File "requests/api.py", line 55, in get
        return request('get', url, **kwargs)
      File "requests/api.py", line 44, in request
        return session.request(method=method, url=url, **kwargs)
      File "requests/sessions.py", line 279, in request
        resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)
      File "requests/sessions.py", line 374, in send
        r = adapter.send(request, **kwargs)
      File "requests/adapters.py", line 209, in send
        raise ConnectionError(e)
    ConnectionError: HTTPConnectionPool(host='autocomplete.wunderground.com', port=80): Max retries exceeded with url: /aq?query=2 (Caused by <class 'socket.error'>: [Errno 64] Host is down)
    [2013-05-24 10:33:10,849] INFO: alfred_weather: Running command location
    [2013-05-24 10:33:10,849] DEBUG: alfred_weather: Getting location(s) with query "20008"
    [2013-05-24 10:33:10,883] INFO: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): autocomplete.wunderground.com
    [2013-05-24 10:33:10,886] ERROR: alfred_weather: Error telling
    Traceback (most recent call last):
      File "alfred_weather.py", line 807, in tell
        items = globals()[cmd](query)
      File "alfred_weather.py", line 665, in tell_location
        results = wunderground.autocomplete(query)
      File "wunderground.py", line 52, in autocomplete
        return requests.get(url).json()['RESULTS']
      File "requests/api.py", line 55, in get
        return request('get', url, **kwargs)
      File "requests/api.py", line 44, in request
        return session.request(method=method, url=url, **kwargs)
      File "requests/sessions.py", line 279, in request
        resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)
      File "requests/sessions.py", line 374, in send
        r = adapter.send(request, **kwargs)
      File "requests/adapters.py", line 209, in send
        raise ConnectionError(e)
    ConnectionError: HTTPConnectionPool(host='autocomplete.wunderground.com', port=80): Max retries exceeded with url: /aq?query=20008 (Caused by <class 'socket.error'>: [Errno 64] Host is down)

     

     

     

    This is pretty Greek (or geek, if you will heh), but I gather WU isn't letting me connect. Am I reading that right?

  3. Uhm, okay. I just tried this, and while wset location now gives me a brief pause before it drops to Google search it's not producing a debug.log at all.  : /

     

    I ran some of the other settings and they didn't produce the file either. IDK if that's because they weren't buggy tho. I also completely started from scratch, including restarting Alfred, and tried it again. Lastly, I set Finder to show hidden files jic I missed it.

     

     

    I'm a wee bit more lost now. Thanks for your help though. I appreciate it!!

  4. Do other commands work, like "wset units" or "wset service"?

     

    If you type in "wset location washington dc" (exactly that, without the quotes), does it work?

     

    'wset units' and 'wset service' work just fine. I even put in my WU api key without a problem. :)

     

    If I do 'wset location' it will pull up the command, and then as soon as I type anything else, it drops to a Google search. This occurs right after entering a space between "location" and any other keystroke.

     

    Hope that helps!

  5. It sounds like the script that the workflow uses to query location data is crashing, or at least returning bad data. Hmm...

     

    Does the location you're trying to enter contain any non-ASCII characters, by chance?

     

    Nope. I live in Washington, DC. I've tried to input that and my zip code. Neither works.

     

    I even disabled Google searches just for yuks. Sadly, I was not laughing.

     

    Thanks for the response. I've checked php and the other tricks listed in this thread. Everything else is fine.

     

    Other ideas? Me wanna use dis workflow. :)

×
×
  • Create New...