I have written a payroll software. Previously it was planned to be a desktop software. But now I want to use Anvil stack (rather than going through horrific QT framework).
I am running anvil server locally trying to connect to sqlite3 database from anvil server side module.
In my server side module I have a database connection string like this
db = dataset.connect('sqlite:///database//payroll.db',row_type=stuf)
The payroll.db file is located in database folder within server_code. But I am keep getting Sqlite Operational Error, Unable to open database file.
Can anyone tell me whats wrong. I think its something to do with path (I am using dataset library for connection to database which is a high level wrapper around SQLCHEMY.)
The above code connect perfectly to database outside anvil.