志之所趋,无远弗届。
Chasing a light beyond reach.
基于和风天气API的Workflow,支持灾害预警、AQI、今日天气、三日内天气查询。需自行配置API。
License: GNU General Public License v3.0
志之所趋,无远弗届。
Chasing a light beyond reach.
错误信息如下:
[15:14:19.616] HeWeather by Arthals[Script Filter] Queuing argument ''
[15:14:19.718] HeWeather by Arthals[Script Filter] Script with argv '(null)' finished
[15:14:19.719] ERROR: HeWeather by Arthals[Script Filter] Code 1: Traceback (most recent call last):
File "main.py", line 13, in
from workflow import Workflow3
File "/Users/aeon/Google Drive/Apps/Alfred/Alfred.alfredpreferences/workflows/user.workflow.34D4CC5C-61E9-4E64-B3B0-49920048AF8D/workflow/init.py", line 16, in
from .workflow import Workflow, manager
File "/Users/aeon/Google Drive/Apps/Alfred/Alfred.alfredpreferences/workflows/user.workflow.34D4CC5C-61E9-4E64-B3B0-49920048AF8D/workflow/workflow.py", line 25, in
import cPickle
ModuleNotFoundError: No module named 'cPickle'
[11:12:06.334] Logging Started...
[11:12:08.602] HeWeather by Arthals[Script Filter] Queuing argument ''
[11:12:09.305] HeWeather by Arthals[Script Filter] Script with argv '(null)' finished
[11:12:09.307] ERROR: HeWeather by Arthals[Script Filter] Code 1: .
11:12:08 workflow.py:2061 DEBUG ---------- HeWeather by Arthals (1.3.0) ----------
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import utils, x509
11:12:08 connectionpool.py:959 DEBUG Starting new HTTPS connection (1): geoapi.heweather.net:443
11:12:09 connectionpool.py:437 DEBUG https://geoapi.heweather.net:443 "GET /v2/city/lookup?adm=changsha&location=changshaxian&key=e660101f094540c081ce20524511df8a HTTP/1.1" 200 34
11:12:09 workflow.py:2080 ERROR 'location'
Traceback (most recent call last):
File "/Users/aeon/Google 云端硬盘/Apps/Alfred/Alfred.alfredpreferences/workflows/user.workflow.34D4CC5C-61E9-4E64-B3B0-49920048AF8D/workflow/workflow.py", line 2073, in run
func(self)
File "main.py", line 410, in main
query_weather(wf, query_location, query_adm)
File "main.py", line 68, in query_weather
local_utc = geo_info['location'][0]['utcOffset']
KeyError: 'location'
11:12:09 workflow.py:2103 DEBUG ---------- finished in 0.518s ----------
[11:12:09.310] HeWeather by Arthals[Script Filter] {"items": [{"valid": false, "subtitle": "'location'", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"}, "title": "Error in workflow 'HeWeather by Arthals'"}]}
[11:13:41.523] HeWeather by Arthals[Script Filter] Queuing argument ''
[11:13:42.303] HeWeather by Arthals[Script Filter] Script with argv '(null)' finished
[11:13:42.307] ERROR: HeWeather by Arthals[Script Filter] Code 1: .
11:13:41 workflow.py:2061 DEBUG ---------- HeWeather by Arthals (1.3.0) ----------
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import utils, x509
11:13:41 connectionpool.py:959 DEBUG Starting new HTTPS connection (1): geoapi.heweather.net:443
11:13:42 connectionpool.py:437 DEBUG https://geoapi.heweather.net:443 "GET /v2/city/lookup?adm=changsha&location=changshaxian&key=e660101f094540c081ce20524511df8a HTTP/1.1" 200 34
11:13:42 workflow.py:2080 ERROR 'location'
Traceback (most recent call last):
File "/Users/aeon/Google 云端硬盘/Apps/Alfred/Alfred.alfredpreferences/workflows/user.workflow.34D4CC5C-61E9-4E64-B3B0-49920048AF8D/workflow/workflow.py", line 2073, in run
func(self)
File "main.py", line 410, in main
query_weather(wf, query_location, query_adm)
File "main.py", line 68, in query_weather
local_utc = geo_info['location'][0]['utcOffset']
KeyError: 'location'
11:13:42 workflow.py:2103 DEBUG ---------- finished in 0.564s ----------
[11:13:42.309] HeWeather by Arthals[Script Filter] {"items": [{"valid": false, "subtitle": "'location'", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"}, "title": "Error in workflow 'HeWeather by Arthals'"}]}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.