Opened 4 years ago

Closed 4 years ago

#1486095 closed Bugs (fixed)

Scripts in "bin" folder don't cope with relative path for SQLite database

Reported by: thijsputman Owned by:
Priority: 5 Milestone: 0.3.1
Component: Database Version: 0.3-stable
Severity: minor Keywords: bin, sqlite, session
Cc: thijsputman@…

Description

I'm running 0.3-stable on a windows system and am using a SQLite database. The location of my SQLite db-file is configured as "sqlite://./something.db".

This works just fine, except for that fact that all scripts located in the "bin" folder are unable to verify my session. They attempt to load "bin/something.db" instead of the db-file in the root.

This is obviously a result of specifying a relative location for the db-file. I've tried an absolute path, but haven't been able to figure out the proper syntax for this.

It would be good to have the configuration "parser" take the above fact into account and automatically correct the relative path for use inside the "bin" folder.
If deemd a configuration issue, it might be good to note this fact in the comments of the default configuration file.

Change History (3)

comment:1 Changed 4 years ago by thijsputman

  • Cc thijsputman@… added

comment:2 Changed 4 years ago by alec

  • Milestone set to 0.3.1

comment:3 Changed 4 years ago by alec

  • Component changed from Core functionality to Database
  • Resolution set to fixed
  • Status changed from new to closed

Added comments in config file ([fafe5dce])

Note: See TracTickets for help on using tickets.