Code Monkey home page Code Monkey logo

Comments (7)

rssnyder avatar rssnyder commented on July 20, 2024 2

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.

rssnyder avatar rssnyder commented on July 20, 2024

From the readme:
-db="" # file to store tickers in

from discord-stock-ticker.

kakigorimochi avatar kakigorimochi commented on July 20, 2024

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.

rssnyder avatar rssnyder commented on July 20, 2024

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.

kakigorimochi avatar kakigorimochi commented on July 20, 2024

Can I assign/load the DB file in another directory or does it have to be in the same directory?

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

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.

kakigorimochi avatar kakigorimochi commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.