When installed, cannot locate dbschema.sql
Bug #1152253 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB Qt/ QML |
Fix Committed
|
High
|
Kevin Wright |
Bug Description
(observed with rev 38 of lp:u1db-qt)
Steps to reproduce:
1) Build locally and install system-wide:
cmake -DCMAKE_
make
sudo make install
2) Open the following example in qmlscene:
import U1db 1.0 as U1db
U1db.Database {
path: "test"
}
Expected result: no error
Current result: u1db: "Failed to read internal schema: FileError 5"
Related branches
lp://staging/~kevin-wright-1/u1db-qt/database-march-12-2013-i
- Cris Dywan: Approve
-
Diff: 55 lines (+17/-5)3 files modifiedCMakeLists.txt (+8/-1)
database.cpp (+4/-4)
sql.qrc (+5/-0)
Changed in u1db-qt: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
It looks like Database: :initializeIfNe eded(…) fails to locate dbschema.sql, which should probably be embedded as qrc.