plummm / alfred-currency-exchange Goto Github PK
View Code? Open in Web Editor NEWMost convinent currencies converting tool for alfred3
Most convinent currencies converting tool for alfred3
更新到macOS Monterey12.3不能用了,能修复下吗,谢谢
我的mac os里现在只有python3,系统的python
命令不能用了,但python3
命令可用,我在alfred的run script里将python exchange.py $1
命令改为了/usr/bin/python3 exchange.py $1
,现在又报No module named 'urllib2'
的错误,应该是不兼容python3吧?
是不是没检测到python
In the README you mention to replace the Default App ID in order to save you (and all default users) from hitting the rate limit on the Open Exchange Rate API, but finding where to set that inside your workflow is not quite straightforward. Maybe adding an option in the import dialog could help.
For now, if someone is searching where to set it: it's self.id
(line 18) in exchange.py …
It doesn't work now on macOS 10.15.2, Alfred 4.0.7.
[20:27:52.852] Currency Convert[Script Filter] Queuing argument ''
[20:29:12.358] Currency Convert[Script Filter] Queuing argument ''
[20:29:13.398] Currency Convert[Script Filter] Queuing argument '1'
[20:29:13.495] Currency Convert[Script Filter] Queuing argument '10'
[20:29:13.665] Currency Convert[Script Filter] Queuing argument '100'
[20:29:17.169] Currency Convert[Script Filter] Script with argv '(null)' finished
[20:29:17.192] Currency Convert[Script Filter] {"items":[{"title":"CNY : CAD = 1 : 0.1874 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/CAD.png"},"arg":"0.1874"},{"title":"CNY : EUR = 1 : 0.1282 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/EUR.png"},"arg":"0.1282"},{"title":"CNY : HKD = 1 : 1.1132 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/HKD.png"},"arg":"1.1132"},{"title":"CNY : SGD = 1 : 0.1935 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/SGD.png"},"arg":"0.1935"},{"title":"CNY : USD = 1 : 0.1429 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/USD.png"},"arg":"0.1429"},{"title":"CNY : GBP = 1 : 0.1069 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/GBP.png"},"arg":"0.1069"},{"title":"CNY : KRW = 1 : 167.2118 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/KRW.png"},"arg":"167.2118"},{"title":"CNY : JPY = 1 : 15.6322 ","subtitle":"Last Update: 2019-12-16","icon":{"path":"flags/JPY.png"},"arg":"15.6322"}]}
[20:29:17.363] Currency Convert[Script Filter] Script with argv '(null)' finished
[20:29:17.388] Currency Convert[Script Filter] {"items":[{"title":"No result","icon":{"path":"icon.png"}}]}
Alfred v3.2[759]
Do you have any ideas how to solve it?
[2018-05-11 14:01:39][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last):
File "exchange.py", line 6, in <module>
from workflow import Workflow, web
ImportError: No module named workflow
[2018-05-11 14:01:39][ERROR: input.scriptfilter] Code 1: Traceback (most recent call last):
File "add.py", line 4, in <module>
from workflow import Workflow, web
ImportError: No module named workflow
Does not recognise any input parameters anymore at all.
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.