Comments (7)
Can I assign/load the DB file in another directory or does it have to be in the same directory?
it can be anywhere
Thank you for your response... for some reason CENTOS 7 likes to count the quotes ("") as part of the name file that's why I get the error: "Unable to bootstrap db file: unable to open database file: not a directory" for the -db="" flag.
I tried removing the said quotes ("") in the discord-stock-ticker.service file and it finally worked.
Doesn't work for CENTOS 7
ExecStart = ./discord-stock-ticker -frequency=10 -db="./discord-stock-ticker/directory/filename"
Works for CENTOS 7
ExecStart = ./discord-stock-ticker -frequency=10 -db=./discord-stock-ticker/directory/filename
yeah i dont use quotes in my systemd files.
sounds like you got it working, care if i close this issue?
from discord-stock-ticker.
From the readme:
-db="" # file to store tickers in
from discord-stock-ticker.
From the readme:
-db="" # file to store tickers in
sorry, but I am not sure what kind of file type it takes in. Is it an actual ".db" file? I am not sure how do I make one.
I even tried .txt and hope it would work. Sadly, I already knew it wouldn't, although it was worth a shot. haha
from discord-stock-ticker.
From the readme:
-db="" # file to store tickers in
sorry, but I am not sure what kind of file type it takes in. Is it an actual ".db" file? I am not sure how do I make one.
I even tried .txt and hope it would work. Sadly, I already knew it wouldn't, although it was worth a shot. haha
just put any file name there, it will create a new file and make it an sqlite3 db. dont use an existing filename.
from discord-stock-ticker.
Can I assign/load the DB file in another directory or does it have to be in the same directory?
from discord-stock-ticker.
Can I assign/load the DB file in another directory or does it have to be in the same directory?
it can be anywhere
from discord-stock-ticker.
Can I assign/load the DB file in another directory or does it have to be in the same directory?
it can be anywhere
Thank you for your response... for some reason CENTOS 7 likes to count the quotes ("") as part of the name file that's why I get the error: "Unable to bootstrap db file: unable to open database file: not a directory" for the -db="" flag.
I tried removing the said quotes ("") in the discord-stock-ticker.service file and it finally worked.
Doesn't work for CENTOS 7
ExecStart = ./discord-stock-ticker -frequency=10 -db="./discord-stock-ticker/directory/filename"
Works for CENTOS 7
ExecStart = ./discord-stock-ticker -frequency=10 -db=./discord-stock-ticker/directory/filename
from discord-stock-ticker.
Related Issues (20)
- Can't DELETE crypto ticker after having just started it HOT 1
- Anyone can help me? HOT 1
- ALL Public Bots Offline?
- GME price tracker bot for discord HOT 1
- [BUG] GME bot seems to be down HOT 1
- [BUG] - Floor ERRO[1627] Error getting floor rates: invalid character '<' looking for beginning of value HOT 1
- Solanart floor bot show 0.00000 HOT 2
- [BUG] Ticker stop update HOT 6
- Magic eden floor price ticker returns `Bad data` error HOT 2
- [BUG] Update docker-compose.yml file HOT 2
- [BUG] docker compose file does not save and persist the tickers in the db HOT 2
- [BUG] does not allow adding SPY bot. HOT 1
- [BUG] Price displayed in USD instead of EUR HOT 1
- [BUG] - ERROR NFT TICKER HOT 1
- [BUG] Delete floor doesn't work HOT 1
- [BUG] HOT 1
- [NEW Release] Create a new release HOT 4
- Market HOT 1
- [BUG] XRP Ticker HOT 1
- [BUG] Fetching stock prices from Yahoo does not work HOT 4
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 discord-stock-ticker.