Giter VIP home page Giter VIP logo

alfred_heweather_workflow's Introduction

conanai.png

Hi, I'm 𝔸𝕣𝕥𝕙𝕒𝕝𝕤

志之所趋,无远弗届。

Chasing a light beyond reach.

CodeTime Badge

zhuozhiyongde


My Stack

Current

current

Used

used

Tools

tools

zhuozhiyongde

You can checkout my blogs

https://arthals.ink/

Hits

alfred_heweather_workflow's People

Contributors

zhuozhiyongde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

majay123

alfred_heweather_workflow's Issues

macOS更新到12.3,安装最新的python3,用不了了

错误信息如下:

[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'"}]}

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.