Comments (13)
@deanishe
Well I cleared the cache and that seems to for some reason fixed the issue...
Thanks for the help!
from alfred-convert.
What does the log file say? (Enter conv workflow:openlog
to see it.)
from alfred-convert.
21:48:05 currency.py:247 INFO fetching exchange rates from Yahoo! and CryptoCompare.com ...
21:48:06 background.py:180 INFO [update] job already running
21:48:07 background.py:180 INFO [update] job already running
21:48:08 background.py:180 INFO [update] job already running
21:48:09 workflow.py:2266 ERROR HTTP Error 999: Request denied
Traceback (most recent call last):
File "/Users/alexanderkim/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A19B513B-C8AD-4987-BDA2-537F63E1F002/workflow/workflow.py", line 2259, in run
func(self)
File "/Users/alexanderkim/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A19B513B-C8AD-4987-BDA2-537F63E1F002/currency.py", line 251, in main
CURRENCY_CACHE_AGE)
File "/Users/alexanderkim/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A19B513B-C8AD-4987-BDA2-537F63E1F002/workflow/workflow.py", line 1890, in cached_data
data = data_func()
File "/Users/alexanderkim/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.A19B513B-C8AD-4987-BDA2-537F63E1F002/currency.py", line 232, in fetch_exchange_rates
rates.update(f.get())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
HTTPError: HTTP Error 999: Request denied
from alfred-convert.
It appears that the Yahoo! Finance API is no more. I've replaced it with openexchangerates.org in v3.1.
You'll need an API key, which you can get for free here.
from alfred-convert.
Where to put API key? this project shows wrong currency prices... Also it doesn't know Kazakhstani tenge, unlike Yahoo finance. Possible to use: https://finance.google.com/finance ?
from alfred-convert.
Where to put API key?
this project shows wrong currency prices...
For example…?
Also it doesn't know Kazakhstani tenge
Yes, it does.
Possible to use: https://finance.google.com/finance?
I already told you "no".
from alfred-convert.
@deanishe Do you just copy and paste the entire result generated from the api key request into "value" for APP_KEY? I've done that so far and it's still not working correctly for me.
from alfred-convert.
@tenpoundhero When you sign up, they send you an email with an "App ID". Paste that in to the APP_KEY
value.
Alternatively, you can grab your "App ID" from here.
from alfred-convert.
@deanishe APP_KEY
now has my "App ID"
18:23:08 convert.py:323 CRITICAL No to_units (or defaults) for [currency] 18:23:09 convert.py:323 CRITICAL No to_units (or defaults) for [currency] 18:23:10 convert.py:315 CRITICAL invalid query (1usd gbp): Unknown unit: gbp 18:23:21 convert.py:323 CRITICAL No to_units (or defaults) for [currency] 18:23:22 convert.py:315 CRITICAL invalid query (1 usd gbp): Unknown unit: gbp
That's my log, it's still having trouble finding GBP
P.S. I have now updated to 3.2
from alfred-convert.
Can you post the entire log for that query (i.e. not just the error message) and format it properly, please?
Also, try running conv workflow:delcache
first.
from alfred-convert.
this project shows wrong currency prices...
conv 1btc usd
shows 7.183USD, while everywhere it's 7.238USD. Where does (openexchangerates.org) gets cryptocurrency rates?
from alfred-convert.
How to refresh rates quickly?
from alfred-convert.
I see you still haven't read the README.
Please stop wasting my time with questions that are answered in the README.
from alfred-convert.
Related Issues (20)
- Currency fetching doesn't respect proxies HOT 13
- Request: Use currency symbol instead of Convert icon when converting currency HOT 7
- automatic entry of 1 into first currency field HOT 3
- Error in workflow - missing unary operator HOT 5
- Liters tagged as length not volume HOT 2
- While opening None, in line None: missing unary operator "/" HOT 25
- Migrate currency api to exchangeratesapi.io HOT 2
- Wrong digit group separator HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Add an option to copy without thousands separator
- custom unit (plato & gravity) HOT 1
- Using °C and °F HOT 2
- How to increase speed of calculation?
- while opening none, inline none: missing unary operator HOT 3
- Wrong bytes conversion
- Does not work on macOS 12.3 HOT 45
- zsh: no such file or directory: /usr/bin/python HOT 4
- Starts Convertifying... after one keystroke and likely fails HOT 6
- Workflow not working on Ventura 13.0 HOT 1
- Invalid format for "conv 25.3 cubic_feet liter"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-convert.