bluppfisk / coindicator

A crypto-currency (Bitcoin, Ethereum et al) market price indicator for the Linux desktop. Sits in the tray and lets you set alerts. Supports GNOME, Unity and KDE.
MIT License
160 stars 40 forks source link

Missing user.conf after installation/run #77

Closed vladyslavtereshchuk closed 3 years ago

vladyslavtereshchuk commented 3 years ago

Hello @bluppfisk!

Could you please clarify where I can find user.conf, app work as expected but can't figure out how to save my preferences/assets after reboot needs to set up all again.

Thanks in advance!

bluppfisk commented 3 years ago

Hi. It should be in the project root folder (where run.sh is). I suspect you can just create one. If not, add something like below and store it there as user.conf.

max_decimals: 4
plugins:
- binance: true
- bitfinex: true
- bitstamp: true
- bittrex: true
- cexio: true
- gdax: true
- gemini: true
- hitbtc: true
- kraken: true
- okcoin: true
- poloniex: true
- unocoin: true
recent:
significant_digits: 2
tickers:
- asset_pair: XXBTZEUR
  default_label: cur
  exchange: kraken
  refresh: 3
vladyslavtereshchuk commented 3 years ago

Made me hardcode preferences, and this works! But found that:

(coinprice-indicator) vt@wlp:~/coinprice-indicator$ pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html Coin Price Indicator v1.9.9 running! WARNING:root:Asset Discovery: API server returned an error: 301 WARNING:root:Asset Discovery: Expecting value: line 1 column 1 (char 0) Appear when trying to Discover Assets click button. Just FYI, that supposed to be an issue for why user.conf didn't create.

Thank you!

bluppfisk commented 3 years ago

Try running the asset discovery and see if this happens still afterwards :)

bluppfisk commented 3 years ago

closing for now