U1db.Database does not support QUri as path

Bug #1426180 reported by Marco Trevisan (Treviño)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
U1DB Qt/ QML
Fix Committed
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

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Changed in u1db-qt:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: New → In Progress
Cris Dywan (kalikiana)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.