U1db.Database does not support QUri as path

Bug #1426180 reported by Marco Trevisan (Treviño) on 2015-02-27
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
U1DB Qt/ QML
Medium
Marco Trevisan (Treviño)

Bug Description

Using Qt.resolvedUrl("settings.db") as path, U1db generates my db file in this location instead:
  ~/.local/share/Qt Project/QtQmlViewer/file:/tmp/settings.db

Also, the database is not populated correctly, and so when loading the attached qml (saved in /tmp) I'm getting:
  Settings saved in file:///tmp/settings.db; settings contents is undefined

As it happens in bug #1426178

Related branches

Changed in u1db-qt:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: New → In Progress
Changed in u1db-qt:
importance: Undecided → Medium
Changed in u1db-qt:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers