dexter relies on glib.get_user_data_dir() returning an existing dir

Bug #801751 reported by Thomas Moschny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dexter - Old
New
Undecided
Unassigned

Bug Description

In dexter-rolodex/dexter/backend/models.py:32 from 0.18 it is assumed that USER_DIR (i.e. glib.get_user_data_dir()) exists. gio.make_directory() however does not create missing parents, so gio.make_directory_with_parents() should probably be used instead.

(This is related to https://bugzilla.redhat.com/show_bug.cgi?id=715964: In the build environment, the user data dir doesn't seem to exist, and because of DistUtilsExtra.auto, the (module level) code in models.py is run e.g. when calling "setup.py build".)

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.