Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CWD needs be writeable for tabs.db #5

Closed
kmayer opened this issue Aug 30, 2009 · 1 comment
Closed

CWD needs be writeable for tabs.db #5

kmayer opened this issue Aug 30, 2009 · 1 comment

Comments

@kmayer
Copy link
Contributor

kmayer commented Aug 30, 2009

The current working directory where you start up the taps server must be read/writable so the server can create the sqlite://tabs.db file. This is not always the case. I got a very confusing warning:

/Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.5/lib/sqlite3/errors.rb:62:in `check': SQLite3::CantOpenException could not open database: unable to open database file (Sequel::DatabaseConnectionError)

(i.e. To recreate, cd to a read-only directory, then try to start up a taps server)

So, perhaps add a startup check to make sure :taps_database_url is writeable (and print out a warning if it is not), or have the url point, instead, to a temp directory.

@ricardochimal
Copy link
Owner

should be fixed

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants