Open tsankuanglee opened 2 years ago
Hello @tsankuanglee I need to take a look into that.
So here is what I think happens before actually checking it. There is a thread that will run every x amount of time (depending your settings) to update the currency. And I think this is what is causing it to linger.
Can you try setting the currency refresh time to the lowest possible (or off) and try this again and tell me this if the problem is still there. If you set it to something very low, then wait for the time to pass (so the thread runs) and then check if it is still running. If this is the case, maybe I would need to either change the thread to another mechanism or check for signals (if propagated) to see if I can catch them and kill the thread while sleeping.
Cheers -tchar
@tchar Thanks for the response.
The lowest interval provided from the UI is None, and then one day. I changed the code to add 10 seconds as an option and tested it. Still the same results (lingering processes).
This time, I tested with i3 in X11.
Hello @tsankuanglee I have been trying to identify the issue.
On my computer (Ubuntu LTS) I don't have a running ulauncher process.
Here is an example from my system:
> ulauncher --hide-window
Ctrl-C
> ps axl | grep -i ulauncher
0 1000 5362 2949 20 0 9052 720 pipe_r S+ pts/0 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox -i ulauncher
The above output is due to grep only.
@tsankuanglee Here is the equivalent logs after using the command ulauncher --hide-window
. The logs are located in ~/.cache/com.github.tchar.calculate-anything/log
.
You can see at the timestamp 2022-04-02:20:09:34.808
(4th from the end) the thread responsible for updating currency sleeps (this is the only extra thread running). Then after a few seconds, I hit Ctrl-C and the last 3 logs actually close the database connection and stop the thread.
Then I do ps axl | grep -i ulauncher
and I see nothing.
2022-04-02:20:09:34.598 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set language
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set default cities
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set units conversion mode
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set currency providers
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set cache interval
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set default currencies
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: LanguagePreferences: lang = en_US
2022-04-02:20:09:34.599 | INFO | [calculate_anything.utils.misc.safe_operation:186]: TimePreferences: default_cities = [('new york city', 'US'), ('london', 'GB'), ('madrid', 'ES'), ('vancouver', 'CA'), ('athens', 'GR')]
2022-04-02:20:09:34.600 | INFO | [calculate_anything.utils.loaders.sqlite._load:84]: Loaded timezone database: /home/user/.cache/com.github.tchar.calculate-anything/timezones.sqlite3
2022-04-02:20:09:34.638 | INFO | [calculate_anything.utils.misc.safe_operation:186]: UnitsPreferences: units_conversion_mode = ConversionMode.NORMAL
2022-04-02:20:09:34.741 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/currency/definitions.txt
2022-04-02:20:09:34.745 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/currency.txt
2022-04-02:20:09:34.749 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/units.txt
2022-04-02:20:09:34.750 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: add_provider = <calculate_anything.currency.providers.base._MockCurrencyProvider object at 0x7fa4b6700be0>
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.service.remove_provider:186]: Removing provider _MockCurrencyProvider
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.service.add_provider:180]: Adding provider _MockCurrencyProvider
2022-04-02:20:09:34.750 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: cache_update_frequency = 86400
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.service.enable_cache:154]: Enabling cache with update frequency = 86400
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.cache.enable:80]: Enabling cache every 86400s
2022-04-02:20:09:34.750 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: default_currencies = ['USD', 'EUR', 'GBP', 'CAD']
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.service.set_default_currencies:194]: Updating default currencies = ['USD', 'EUR', 'GBP', 'CAD']
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.service.start:240]: Currency Service is running
2022-04-02:20:09:34.750 | INFO | [calculate_anything.currency.service.UpdateThread(id=e3ad429bdeee).run:97]: Starting thread
2022-04-02:20:09:34.751 | INFO | [calculate_anything.units.service._update_callback:52]: Updating currency registry
2022-04-02:20:09:34.807 | INFO | [calculate_anything.units.service._update_callback:83]: Updated currency registry with 348 currencies
2022-04-02:20:09:34.808 | INFO | [calculate_anything.currency.service.UpdateThread(id=e3ad429bdeee).run:103]: Sleeping for 86305s
2022-04-02:20:09:50.414 | INFO | [calculate_anything.time.sqlite_cache.close_db:218]: Database closed
2022-04-02:20:09:50.415 | INFO | [calculate_anything.currency.service.UpdateThread(id=e3ad429bdeee).run:114]: Forcefully woke up after 16s
2022-04-02:20:09:50.415 | INFO | [calculate_anything.currency.service.UpdateThread(id=e3ad429bdeee).run:116]: Stopping thread
Would you mind providing the equivalent logs in your case too, so I can take a look at it? Maybe it has to do with the specific setup you have and I might have to install it to check what's going on.
Good call, @tchar! Here you go. I waited for two more minutes so that thread keeps writing log two more times.
2022-04-02:23:24:58.963 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set language
2022-04-02:23:24:58.963 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set default cities
2022-04-02:23:24:58.963 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set units conversion mode
2022-04-02:23:24:58.963 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set currency providers
2022-04-02:23:24:58.963 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set cache interval
2022-04-02:23:24:58.964 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set default currencies
2022-04-02:23:24:58.964 | INFO | [calculate_anything.utils.misc.safe_operation:186]: LanguagePreferences: lang = en_US
2022-04-02:23:24:58.964 | INFO | [calculate_anything.utils.misc.safe_operation:186]: TimePreferences: default_cities = [('london', None), ('honolulu', 'US'), ('los angeles', 'US'), ('salt lake city', 'US'), ('chicago', 'US'), ('new york city', 'US')]
2022-04-02:23:24:58.964 | INFO | [calculate_anything.utils.loaders.sqlite._load:84]: Loaded timezone database: /home/user/.cache/com.github.tchar.calculate-anything/timezones.sqlite3
2022-04-02:23:24:59.003 | INFO | [calculate_anything.utils.misc.safe_operation:186]: UnitsPreferences: units_conversion_mode = ConversionMode.NORMAL
2022-04-02:23:24:59.128 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/currency/definitions.txt
2022-04-02:23:24:59.133 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/currency.txt
2022-04-02:23:24:59.139 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/units.txt
2022-04-02:23:24:59.139 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: add_provider = <calculate_anything.currency.providers.base._MockCurrencyProvider object at 0x7f0ff7322fe0>
2022-04-02:23:24:59.139 | INFO | [calculate_anything.currency.service.remove_provider:186]: Removing provider _MockCurrencyProvider
2022-04-02:23:24:59.139 | INFO | [calculate_anything.currency.service.add_provider:180]: Adding provider _MockCurrencyProvider
2022-04-02:23:24:59.139 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: cache_update_frequency = 10
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.service.enable_cache:154]: Enabling cache with update frequency = 10
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.cache.enable:80]: Enabling cache every 10s
2022-04-02:23:24:59.140 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: default_currencies = ['USD', 'EUR', 'GBP', 'CAD']
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.service.set_default_currencies:194]: Updating default currencies = ['USD', 'EUR', 'GBP', 'CAD']
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.service.start:240]: Currency Service is running
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5).run:97]: Starting thread
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5)._get_currencies:68]: Will load currencies
2022-04-02:23:24:59.140 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-02:23:24:59.141 | INFO | [calculate_anything.currency.providers.european_central_bank.request_currencies:91]: Making request to: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
2022-04-02:23:24:59.142 | INFO | [calculate_anything.currency.providers.mycurrencynet.request_currencies:75]: Making request to: https://www.mycurrency.net/US.json
2022-04-02:23:24:59.142 | INFO | [calculate_anything.currency.providers.coinbase.request_currencies:94]: Making request to: https://api.coinbase.com/v2/exchange-rates?currency=EUR
2022-04-02:23:25:00.002 | INFO | [calculate_anything.currency.cache.save:141]: Writing currency data to file
2022-04-02:23:25:00.006 | INFO | [calculate_anything.units.service._update_callback:52]: Updating currency registry
2022-04-02:23:25:00.128 | INFO | [calculate_anything.units.service._update_callback:83]: Updated currency registry with 348 currencies
2022-04-02:23:25:00.128 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5).run:103]: Sleeping for 60s
2022-04-02:23:26:00.128 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5).run:114]: Normally woke up after 60s
2022-04-02:23:26:00.129 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5)._get_currencies:68]: Will load currencies
2022-04-02:23:26:00.129 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-02:23:26:00.130 | ERROR | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-02:23:26:00.132 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-02:23:26:00.132 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5).run:103]: Sleeping for 60s
2022-04-02:23:27:00.133 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5).run:114]: Normally woke up after 60s
2022-04-02:23:27:00.133 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5)._get_currencies:68]: Will load currencies
2022-04-02:23:27:00.134 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-02:23:27:00.134 | ERROR | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-02:23:27:00.135 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-02:23:27:00.135 | INFO | [calculate_anything.currency.service.UpdateThread(id=c645c5fa08f5).run:103]: Sleeping for 60s
FYI, I did not get any API keys for any service.
Thanks again for this!
@tsankuanglee Thanks for this.
I am seeing some errors, which are not normal, can you point me down to which timestamp you hit Ctrl-C
?
It looks like everything happens really fast (in 3 seconds). If you check my logs I wait a bit after hitting it so there are a few seconds of waiting. Can you do the same so I can see the logs until the normal startup and then wait a few seconds and then press Ctrl-C
?
Also, provide me if you can the settings you use on the extension.
Thank you.
I'm pasting two logs.
This is the log from ulauncher's console (ctrl-c
at : 2022-04-03 00:43:10
). Notice that at the end the other extensions exit. (I did remove other extensions' log for brevity).
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,770 | INFO | calculate_anything.utils.misc: safe_operation() | Set language
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,770 | INFO | calculate_anything.utils.misc: safe_operation() | Set default cities
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.misc: safe_operation() | Set units conversion mode
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.misc: safe_operation() | Set currency providers
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.misc: safe_operation() | Set cache interval
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.misc: safe_operation() | Set default currencies
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.misc: safe_operation() | LanguagePreferences: lang = en_US
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.misc: safe_operation() | TimePreferences: default_cities = [('london', None), ('honolulu', 'US'), ('los angeles', 'US'), ('salt lake city', 'US'), ('austin', 'US'), ('new york city', 'US')]
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,771 | INFO | calculate_anything.utils.loaders.sqlite: _remove() | Found new timezones, cleared database
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:36,799 | INFO | calculate_anything.utils.loaders.sqlite: _create() | Did not find sqlite db /home/user/.cache/com.github.tchar.calculate-anything/timezones.sqlite3, created from scratch
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,347 | INFO | calculate_anything.utils.misc: safe_operation() | UnitsPreferences: units_conversion_mode = ConversionMode.NORMAL
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,409 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,409 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,409 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,410 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,410 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,410 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,410 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,410 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,411 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,415 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,415 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,415 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,415 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,416 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,416 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,416 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,416 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,416 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,417 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,418 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,418 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,419 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,419 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,419 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,419 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,420 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,420 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,424 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,425 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,429 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,429 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,434 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,434 | WARNING | pint.util: get_name() | Parsing cm yield multiple results. Options are: (('centi', 'molar', ''), ('centi', 'meter', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,437 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,437 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,443 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,443 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,443 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,444 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,444 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,444 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,444 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,444 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,444 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,445 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,445 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,445 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,445 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,445 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,445 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,446 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,446 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,446 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,446 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,446 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,447 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,447 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,447 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,447 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,449 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,449 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,450 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,450 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,450 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,450 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,450 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,450 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,451 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,451 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,451 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,452 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,452 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,452 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,452 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,452 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,453 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,453 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,454 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,454 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,454 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,454 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,454 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,454 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,455 | WARNING | pint.util: get_name() | Parsing kg yield multiple results. Options are: (('kilo', 'gram', ''), ('kilo', 'gauss', ''))
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,475 | INFO | calculate_anything.units.parser: load_file() | Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/currency/definitions.txt
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,480 | INFO | calculate_anything.units.parser: load_file() | Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/currency.txt
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degree_Celsius' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining '°C' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'celsius' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degC' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degreeC' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'c' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degree_Celsius' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining '°C' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'celsius' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degC' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degreeC' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'c' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'celcius' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degree_Fahrenheit' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining '°F' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'fahrenheit' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,484 | WARNING | pint.util: _define_single_adder() | Redefining 'degF' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'degreeF' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'f' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'degree_Fahrenheit' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining '°F' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'fahrenheit' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'degF' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'degreeF' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'f' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,485 | WARNING | pint.util: _define_single_adder() | Redefining 'farenheit' (<class 'pint.definitions.UnitDefinition'>)
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.units.parser: load_file() | Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/units.txt
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.utils.misc: safe_operation() | CurrencyPreferences: add_provider = <calculate_anything.currency.providers.base._MockCurrencyProvider object at 0x7f3b904b87f0>
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.currency.service: remove_provider() | Removing provider _MockCurrencyProvider
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.currency.service: add_provider() | Adding provider _MockCurrencyProvider
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.utils.misc: safe_operation() | CurrencyPreferences: cache_update_frequency = 10
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.currency.service: enable_cache() | Enabling cache with update frequency = 10
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.currency.cache: enable() | Enabling cache every 10s
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.utils.misc: safe_operation() | CurrencyPreferences: default_currencies = ['USD', 'EUR', 'GBP', 'CAD']
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,486 | INFO | calculate_anything.currency.service: set_default_currencies() | Updating default currencies = ['USD', 'EUR', 'GBP', 'CAD']
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,487 | INFO | calculate_anything.currency.service: start() | Currency Service is running
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,487 | INFO | calculate_anything.currency.service.UpdateThread(id=211bdd5ef066): run() | Starting thread
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,487 | INFO | calculate_anything.currency.service.UpdateThread(id=211bdd5ef066): _get_currencies() | Will load currencies
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,487 | INFO | calculate_anything.currency.cache: clear() | Clearing cache False
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,488 | INFO | calculate_anything.currency.providers.european_central_bank: request_currencies() | Making request to: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,488 | INFO | calculate_anything.currency.providers.mycurrencynet: request_currencies() | Making request to: https://www.mycurrency.net/US.json
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:37,488 | INFO | calculate_anything.currency.providers.coinbase: request_currencies() | Making request to: https://api.coinbase.com/v2/exchange-rates?currency=EUR
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:38,386 | INFO | calculate_anything.currency.cache: save() | Writing currency data to file
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:38,390 | INFO | calculate_anything.units.service: _update_callback() | Updating currency registry
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:38,509 | INFO | calculate_anything.units.service: _update_callback() | Updated currency registry with 348 currencies
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:41:38,510 | INFO | calculate_anything.currency.service.UpdateThread(id=211bdd5ef066): run() | Sleeping for 60s
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:38,510 | INFO | calculate_anything.currency.service.UpdateThread(id=211bdd5ef066): run() | Normally woke up after 60s
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:38,510 | INFO | calculate_anything.currency.service.UpdateThread(id=211bdd5ef066): _get_currencies() | Will load currencies
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:38,511 | INFO | calculate_anything.currency.cache: clear() | Clearing cache False
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:38,512 | INFO | calculate_anything.currency.providers.european_central_bank: request_currencies() | Making request to: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:38,513 | INFO | calculate_anything.currency.providers.mycurrencynet: request_currencies() | Making request to: https://www.mycurrency.net/US.json
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:38,552 | INFO | calculate_anything.currency.providers.coinbase: request_currencies() | Making request to: https://api.coinbase.com/v2/exchange-rates?currency=EUR
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:39,374 | INFO | calculate_anything.currency.cache: save() | Writing currency data to file
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:39,377 | INFO | calculate_anything.units.service: _update_callback() | Updating currency registry
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:39,481 | INFO | calculate_anything.units.service: _update_callback() | Updated currency registry with 348 currencies
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:42:39,481 | INFO | calculate_anything.currency.service.UpdateThread(id=211bdd5ef066): run() | Sleeping for 60s
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:43:10,188 | ERROR | ulauncher.api.client.Client: on_error() | WS Client error
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:43:10,204 | ERROR | websocket: error() | error from callback <function Client.connect.<locals>.<lambda> at 0x7f3b902abc70>: Client.connect.<locals>.<lambda>() takes 1 positional argument but 3 were given
com.github.tchar.ulauncher-albert-calculate-anything | 2022-04-03 00:43:10,205 | ERROR | ulauncher.api.client.Client: on_error() | WS Client error Client.connect.<locals>.<lambda>() takes 1 positional argument but 3 were given
2022-04-03 00:43:10,273 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.rootwork.ulauncher-symbol" was terminated with code 0
2022-04-03 00:43:10,276 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.mikebarkmin.ulauncher-snippets" was terminated with code 0
This is the extension's runtime log (notice the thread lived on and created an error per minute, until I manually killed it):
2022-04-03:00:41:36.771 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set language
2022-04-03:00:41:36.771 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set default cities
2022-04-03:00:41:36.771 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set units conversion mode
2022-04-03:00:41:36.771 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set currency providers
2022-04-03:00:41:36.771 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set cache interval
2022-04-03:00:41:36.771 | INFO | [calculate_anything.utils.misc.safe_operation:186]: Set default currencies
2022-04-03:00:41:36.772 | INFO | [calculate_anything.utils.misc.safe_operation:186]: LanguagePreferences: lang = en_US
2022-04-03:00:41:36.772 | INFO | [calculate_anything.utils.misc.safe_operation:186]: TimePreferences: default_cities = [('london', None), ('honolulu', 'US'), ('los angeles', 'US'), ('salt lake city', 'US'), ('austin', 'US'), ('new york city', 'US')]
2022-04-03:00:41:36.772 | INFO | [calculate_anything.utils.loaders.sqlite._remove:115]: Found new timezones, cleared database
2022-04-03:00:41:36.799 | INFO | [calculate_anything.utils.loaders.sqlite._create:149]: Did not find sqlite db /home/user/.cache/com.github.tchar.calculate-anything/timezones.sqlite3, created from scratch
2022-04-03:00:41:37.348 | INFO | [calculate_anything.utils.misc.safe_operation:186]: UnitsPreferences: units_conversion_mode = ConversionMode.NORMAL
2022-04-03:00:41:37.476 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/currency/definitions.txt
2022-04-03:00:41:37.481 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/currency.txt
2022-04-03:00:41:37.486 | INFO | [calculate_anything.units.parser.load_file:122]: Loaded unit definitions: /home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/data/lang/units.txt
2022-04-03:00:41:37.487 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: add_provider = <calculate_anything.currency.providers.base._MockCurrencyProvider object at 0x7f3b904b87f0>
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.remove_provider:186]: Removing provider _MockCurrencyProvider
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.add_provider:180]: Adding provider _MockCurrencyProvider
2022-04-03:00:41:37.487 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: cache_update_frequency = 10
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.enable_cache:154]: Enabling cache with update frequency = 10
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.cache.enable:80]: Enabling cache every 10s
2022-04-03:00:41:37.487 | INFO | [calculate_anything.utils.misc.safe_operation:186]: CurrencyPreferences: default_currencies = ['USD', 'EUR', 'GBP', 'CAD']
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.set_default_currencies:194]: Updating default currencies = ['USD', 'EUR', 'GBP', 'CAD']
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.start:240]: Currency Service is running
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:97]: Starting thread
2022-04-03:00:41:37.487 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:41:37.488 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:41:37.488 | INFO | [calculate_anything.currency.providers.european_central_bank.request_currencies:91]: Making request to: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
2022-04-03:00:41:37.489 | INFO | [calculate_anything.currency.providers.mycurrencynet.request_currencies:75]: Making request to: https://www.mycurrency.net/US.json
2022-04-03:00:41:37.489 | INFO | [calculate_anything.currency.providers.coinbase.request_currencies:94]: Making request to: https://api.coinbase.com/v2/exchange-rates?currency=EUR
2022-04-03:00:41:38.386 | INFO | [calculate_anything.currency.cache.save:141]: Writing currency data to file
2022-04-03:00:41:38.391 | INFO | [calculate_anything.units.service._update_callback:52]: Updating currency registry
2022-04-03:00:41:38.510 | INFO | [calculate_anything.units.service._update_callback:83]: Updated currency registry with 348 currencies
2022-04-03:00:41:38.510 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:42:38.510 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:42:38.511 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:42:38.511 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:42:38.513 | INFO | [calculate_anything.currency.providers.european_central_bank.request_currencies:91]: Making request to: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
2022-04-03:00:42:38.514 | INFO | [calculate_anything.currency.providers.mycurrencynet.request_currencies:75]: Making request to: https://www.mycurrency.net/US.json
2022-04-03:00:42:38.552 | INFO | [calculate_anything.currency.providers.coinbase.request_currencies:94]: Making request to: https://api.coinbase.com/v2/exchange-rates?currency=EUR
2022-04-03:00:42:39.375 | INFO | [calculate_anything.currency.cache.save:141]: Writing currency data to file
2022-04-03:00:42:39.378 | INFO | [calculate_anything.units.service._update_callback:52]: Updating currency registry
2022-04-03:00:42:39.482 | INFO | [calculate_anything.units.service._update_callback:83]: Updated currency registry with 348 currencies
2022-04-03:00:42:39.482 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:43:39.482 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:43:39.483 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:43:39.483 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:43:39.484 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:43:39.486 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:43:39.486 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:44:39.487 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:44:39.487 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:44:39.487 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:44:39.488 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:44:39.489 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:44:39.489 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:45:39.490 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:45:39.490 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:45:39.491 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:45:39.491 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:45:39.492 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:45:39.492 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:46:39.493 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:46:39.493 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:46:39.493 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:46:39.494 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:46:39.495 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:46:39.495 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:47:39.496 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:47:39.496 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:47:39.497 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:47:39.498 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:47:39.499 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:47:39.500 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:48:39.500 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:48:39.501 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:48:39.501 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:48:39.502 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:48:39.503 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:48:39.503 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:49:39.504 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:49:39.504 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:49:39.505 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:49:39.505 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:49:39.506 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:49:39.506 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
2022-04-03:00:50:39.507 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:114]: Normally woke up after 60s
2022-04-03:00:50:39.507 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._get_currencies:68]: Will load currencies
2022-04-03:00:50:39.508 | INFO | [calculate_anything.currency.cache.clear:108]: Clearing cache False
2022-04-03:00:50:39.508 | ERROR | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066)._run:86]: Could not get currencies: cannot schedule new futures after interpreter shutdown
Traceback (most recent call last):
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 84, in _run
currency_rates = self._get_currencies(force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/service.py", line 70, in _get_currencies
currency_rates = self._provider.request_currencies(
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/base.py", line 39, in _wrapper
return func(self, *currencies, force=force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 140, in request_currencies
tasks_free = self._request_free(currencies, force)
File "/home/user/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/currency/providers/combined.py", line 106, in _request_free
task = executor.submit(
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 169, in submit
raise RuntimeError('cannot schedule new futures after '
RuntimeError: cannot schedule new futures after interpreter shutdown
2022-04-03:00:50:39.509 | WARNING | [calculate_anything.units.service._update_callback:50]: Got empty data, will not reset data
2022-04-03:00:50:39.509 | INFO | [calculate_anything.currency.service.UpdateThread(id=211bdd5ef066).run:103]: Sleeping for 60s
Issue has been marked as stale due to no activity
Is this still affecting you?
Describe the bug
When Ulauncher exits, all other extensions exit as expected, but calculate-anything lingers. If I start another Ulauncher, there will be two calculate-anything instances running. If I exit Ulauncher again, two calculate-anything instances are lingering.
To Reproduce
Same result with these alternatives:
GDK_BACKEND=wayland
.exec GDK_BACKEND=wayland ulauncher --hide-window
in sway config and exit from widget menuExpected behavior
com.github.tchar.ulauncher-albert-calculate-anything/main.py
should terminate like other extensions.Desktop (please complete the following information)