Code Monkey home page Code Monkey logo

Comments (13)

tenpoundhero avatar tenpoundhero commented on June 16, 2024 1

@deanishe
Well I cleared the cache and that seems to for some reason fixed the issue...

Thanks for the help!

from alfred-convert.

deanishe avatar deanishe commented on June 16, 2024

What does the log file say? (Enter conv workflow:openlog to see it.)

from alfred-convert.

avxkim avatar avxkim commented on June 16, 2024
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.

deanishe avatar deanishe commented on June 16, 2024

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.

avxkim avatar avxkim commented on June 16, 2024

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.

deanishe avatar deanishe commented on June 16, 2024

Where to put API key?

Read the instructions

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.

tenpoundhero avatar tenpoundhero commented on June 16, 2024

@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.

deanishe avatar deanishe commented on June 16, 2024

@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.

tenpoundhero avatar tenpoundhero commented on June 16, 2024

@deanishe APP_KEYnow 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.

deanishe avatar deanishe commented on June 16, 2024

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.

avxkim avatar avxkim commented on June 16, 2024

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.

avxkim avatar avxkim commented on June 16, 2024

How to refresh rates quickly?

from alfred-convert.

deanishe avatar deanishe commented on June 16, 2024

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)

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.