Comments (9)
@githorray does the same panic happen if you run cointop --no-cache
?
from cointop.
No, cointop starts normally with that option.
from cointop.
Thanks for checking. I think it's because termux has a non-standard directory hierarchy: https://wiki.termux.com/wiki/Differences_from_Linux
Will implement a fix later this week.
from cointop.
Great.
I also tried cointop --cache-dir ~/.tmp
. It sort of works, but cointop does not expand out the ~
to the current home directory and you end up getting a folder named ~.
with the cache contents in the directory cointop was started from.
from cointop.
Interesting, does termux have the HOME
env var set? you can check with echo $HOME
from cointop.
$ echo $HOME
/data/data/com.termux/files/home
from cointop.
@githorray changes made:
- soft fail (don't panic) if there is cache dir error. Proceed without cache.
- store cache dir preference in config file. Preference set with
--cache-dir
flag will write it to config. - You can also edit config directly to add or modify preference:
cache_dir = "/tmp"
I tried it out on termux with the following:
pkg install git -y
pkg install golang -y
go get github.com/miguelmota/cointop
cd ~/go/src/github.com/miguelmota/cointop
go run cmd/cointop/cointop.go
from cointop.
working great. thanks.
from cointop.
Closed by 890e1c5
from cointop.
Related Issues (20)
- Charts do not work with coinmarketcap HOT 1
- Fix Coin ID for Coinmarketcap
- Reduce amount of traffic to coinmarketcap backend? HOT 1
- Open custom link with a symbol HOT 5
- Refactor config load/save code to be simpler and more declarative HOT 2
- Can't delete Ethereum Cash from my portfolio HOT 8
- Add feature to automatically clear the cache when version upgrade changes format HOT 4
- ctrl+c doesn't work as expected (to exit app) on Windows/Linux HOT 3
- (Request) Could it be possible to fetch categories data from coingecko API and display it on cointop? HOT 5
- Portfolio sum all holdings HOT 4
- BUG: configuration file is corrupted if multiple instances of cointop are run at once. HOT 2
- FEAT: Support The Open Network (Telegram Open Network) HOT 2
- Missing font/chars in chart HOT 2
- Run multiple sorts HOT 1
- unable to run in Tmux HOT 1
- Amazing project
- Switching back to main view from Portfolio view corrupts the displayed coins in the main list
- Cointop won´t run on Debian because of glibc dependency
- chart doesn't show HOT 2
- remove columns
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 cointop.