oliverschwendener / ueli

Cross-Platform Keystroke Launcher
https://ueli.app
MIT License
3.66k stars 242 forks source link

Converter show error - where are logs? #1042

Closed JustAPhrog closed 1 year ago

JustAPhrog commented 1 year ago

Hello, I've installed ueli (v8.24.1) on windows 11. I tyied to use Converter but I received An error occurred. I don't know where find logs - nothing is written on readme. Anybody?

oliverschwendener commented 1 year ago

You can open the debug log in the settings:

image

SebastianSava commented 1 year ago

I have the same error.

This is in my debug.log file:

2023-09-29T06:57:20.172Z error: Unable to get exchange rate. Result: [object Object]
tkohlmeier commented 1 year ago

Seems like exchangerate.host now requires an API key:

{
  "success": false,
  "error": {
    "code": 101,
    "type": "missing_access_key",
    "info": "You have not supplied an API Access Key. [Required format: access_key=YOUR_ACCESS_KEY]"
  }
}

There is a free plan, but it is limited to 1,000 requests per month (source). So it looks like we need to change the source again.

wywywywy commented 1 year ago

There are 2 options I think.

  1. Ask user to provide their own API key (free to register anyway)
  2. Use https://github.com/fawazahmed0/currency-api and get free & fast exchange rates forever! As long as @fawazahmed0 keeps up with the maintenance that is
wywywywy commented 1 year ago

I just created a new PR to fix this #1043