You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Exporting system dconf setting to be converted and used in NixOS, the resulting cawbird entry in the dconf dump, uses a dot separator rather than the usual slash -> [uk.co.ibboard.cawbird]
I cannot find that dconf accepts a dot separator and am not sure if it is a bug with the way cawbird saves its dconf config, or whether a dot separator is valid in dconf?
I noticed it a while back when poking around in DConf Editor. I suspect it happened prior to v1.0 when I did a find-and-replace of org.badert.Cawbird with uk.co.ibboard.Cawbird. But if it took the original as a regex then it would match slashes between and replace with dots.
Since it works fine in Gnome then I've not fixed it. Partly because I don't want to change what isn't (obviously) broken and partly because I don't know how we'd migrate the settings across cleanly.
If someone knows how to migrate settings then we can look at fixing it so that stricter platforms handle our DConf settings as well. It's probably the gsettings path that's causing it.
It's indeed the path that would need to be changed.
Have just tested it quickly using the keyfile backend (Flatpaks method where it stores the settings in a file), and here is what I can say:
If you change the path Cawbird will store new settings in the new path, but is still able to use old settings. Would be interesting if someone could check with the dconf-setting as well.
I think this could be something that Cawbird 2.0 could do. As we might already change some settings (maybe not, but who knows?), we probably would already have to include code to take over existing settings, so we could just read the settings from the old path and save them on the new when starting the first time.
Thanks both for your input ππ» I too did a little test converting [uk.co.ibboard.cawbird] to [uk/co/ibboard/cawbird] and saw no ill effects when rebuilding my nix config.
Little comfort for you though I guess, but looking at the settings that are saved in the dconf in my case they seem minimal to have to reselect, if you are not able to read them and write them back with slashes.
The startup account will be the same for people with only one twitter account entered and the window location and icon type.
The key config appears to be saved in .config.cawbird for me, so at least my accounts etc are not being reset by this change.
I'll have to check how easy it is to access keys that aren't ours (I'd assumed that packaging the schema also gave us control, but I guess people can query Gnome settings etc).
If we can just package the correct path and copy settings when (for example) the geometry is empty then that should work. Assuming we can do it in a way that fails cleanly and doesn't crash when a first-time user uses the post-change version and it looks for old keys that don't exist!
I was just looking at this and trying to work out how to fix it. It looks like we create a GLib.Settings object by ID, which then finds the schema and looks up its path.
To port the user's settings between dotted and slashed then I need to access to both, which needs a schema for both. I think I know how do it but the big problem might be that the old schema will still exist, which probably means that it's going to remain in the dump.
I need to think a bit more and explore the API a bit more to understand what solves the underlying problem (wrong path format) and what solves the resulting bug (dconf dump is invalid)
I think I've got a solution. And it wasn't too painful. I just had to find out a semi-hidden feature of GSchema files by digging around in the XML DTD!
Since you're trying to convert dconf for NixOS, can I assume that you know how to build a custom Cawbird for testing? π
Well the general answer is 'very likely' but not perhaps in NixOS as I am currently testing it for a couple of months after using Arch Linux for many years.
Building on Arch and dumping the dconf might help which I am happy to do.
Happy to do some research how to do it on NixOS, but it might not be fast :)
I'm running the patches on my local copy now. I'll put it in Unstable in a bit. I just need people to check that it doesn't break things (or forget existing settings).
@mannp Building cawbird from a newer commit is pretty straight forward:
From a nixpkgs repo clone:
In pkgs/applications/networking/cawbird/default.nix, update rev to the desired commit hash. Also change the sha256 hash to make sure a re-download is triggered, I just randomly change one of the hash characters to 0 to obtain a different valid hash.
nix build -f . cawbird. You'll get a build error containing the actual correct hash of the new downloaded sources.
Update the file from step one with the correct hash just obtained.
nix build -f . cawbird. This should build successfully now.
Regarding dconf, I don't really have a clue about that honestly ^^
As NixOS does not sandbox applications somehow and by default β unless you try to explicitly populate dconf like @mannp wants to do β still provides a user-global dconf store that is statefully modified by applications at runtime, just like in each other distribution.
I also use dconf that way, so I'm interested in whatever @mannp is trying to achieve, how that works, and whether it's successful. So far, the nixpkgs cawbird build from commit 541b0d7 is not working well though:
While it still loads tweets, I get a lot of dconf schema warnings.
Details
$ G_MESSAGES_DEBUG=cawbird result/bin/cawbirdcawbird-INFO: 23:13:58.373: Settings.vala:45: Transferring old GSchema settings(cawbird:9905): cawbird-DEBUG: 23:13:59.640: Cawbird.vala:277: startup(cawbird:9905): dconf-WARNING **: 23:13:59.681: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.170: Creating stream for schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:00.171: REST: GET 1.1/account/verify_credentials.json(cawbird:9905): cawbird-DEBUG: 23:14:00.171: REST: GET 1.1/friendships/no_retweets/ids.json(cawbird:9905): cawbird-DEBUG: 23:14:00.172: REST: GET 1.1/blocks/ids.json(cawbird:9905): cawbird-DEBUG: 23:14:00.172: REST: GET 1.1/mutes/users/ids.json(cawbird:9905): cawbird-DEBUG: 23:14:00.270: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.271: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.273: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.273: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.275: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.276: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.278: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.278: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.280: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.281: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.282: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.283: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.284: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.286: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.286: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.288: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.289: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.291: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.291: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.293: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.296: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.298: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.298: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.300: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.301: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.302: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.303: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.305: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.306: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.306: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.308: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.310: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.311: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.312: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.315: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.315: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.317: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.320: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.320: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.322: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.324: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.325: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.327: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.328: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.330: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.332: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.332: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.335: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.338: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.338: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.341: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.344: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.345: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.346: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.349: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.352: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.353: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.354: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.357: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.360: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.360: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.362: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.365: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.366: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.367: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.370: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.371: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.372: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.373: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.375: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.376: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.377: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.378: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.380: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.382: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.383: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.383: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.385: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.387: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.388: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.390: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.390: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.392: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.393: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.395: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.396: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.397: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.398: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.400: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.402: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.403: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.405: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.406: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.408: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.409: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.410: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.412: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.413: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.415: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.415: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.417: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.419: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.421: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.422: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.423: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.425: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.428: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.430: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.431: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.433: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.436: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.437: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.439: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.442: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.444: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.445: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.446: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.448: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.451: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.453: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.455: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.456: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.459: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.462: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.462: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.465: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.467: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.470: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.471: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.473: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.476: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.477: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.479: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.480: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.482: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.484: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.484: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:00.486: REST: GET 1.1/users/show.json(cawbird:9905): cawbird-DEBUG: 23:14:00.487: REST: GET 1.1/users/show.json(cawbird:9905): dconf-WARNING **: 23:14:00.492: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:00.499: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:00.525: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:00.620: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:00.697: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-WARNING **: 23:14:01.036: MainWindow.vala:461: Couldn't load window geometry for screen_name `schmittlauch'(cawbird:9905): dconf-WARNING **: 23:14:01.040: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:01.695: Account.vala:520: Add 0 disabled_rts ids(cawbird:9905): cawbird-DEBUG: 23:14:01.846: Account.vala:458: Add 114 muted ids(cawbird:9905): cawbird-DEBUG: 23:14:02.028: Account.vala:489: Add 5000 blocked ids(cawbird:9905): cawbird-DEBUG: 23:14:02.028: Loading timeline tweets on start(cawbird:9905): cawbird-DEBUG: 23:14:02.028: Loading timeline tweets(cawbird:9905): cawbird-DEBUG: 23:14:02.028: REST: GET 1.1/statuses/home_timeline.json(cawbird:9905): cawbird-DEBUG: 23:14:02.029: Loading mention tweets on start(cawbird:9905): cawbird-DEBUG: 23:14:02.029: Loading mention tweets(cawbird:9905): cawbird-DEBUG: 23:14:02.029: REST: GET 1.1/statuses/mentions_timeline.json(cawbird:9905): cawbird-DEBUG: 23:14:02.029: Loading favourited tweets on start(cawbird:9905): cawbird-DEBUG: 23:14:02.029: Loading favourited tweets(cawbird:9905): cawbird-DEBUG: 23:14:02.029: REST: GET 1.1/favorites/list.json(cawbird:9905): cawbird-DEBUG: 23:14:02.030: Loading DMs on start(cawbird:9905): cawbird-DEBUG: 23:14:02.030: Loading DM tweets for cursor none(cawbird:9905): cawbird-DEBUG: 23:14:02.030: REST: GET 1.1/direct_messages/events/list.json(cawbird:9905): cawbird-DEBUG: 23:14:02.030: Adding timeout for timeline(cawbird:9905): cawbird-DEBUG: 23:14:02.030: Adding timeout for mentions(cawbird:9905): cawbird-DEBUG: 23:14:02.030: Adding timeout for favourites(cawbird:9905): cawbird-DEBUG: 23:14:02.031: Adding timeout for DMs(cawbird:9905): cawbird-WARNING **: 23:14:02.413: ../src/CbUtils.c(call_done_cb): 0x1e9da60, 1.1/users/show.json Not Found(cawbird:9905): cawbird-WARNING **: 23:14:02.413: Twitter.vala:239: Not Found(cawbird:9905): cawbird-WARNING **: 23:14:02.952: ../src/CbUtils.c(call_done_cb): 0x1eb7a00, 1.1/users/show.json Not Found(cawbird:9905): cawbird-WARNING **: 23:14:02.952: Twitter.vala:239: Not Found(cawbird:9905): cawbird-WARNING **: 23:14:03.883: ../src/CbUtils.c(call_done_cb): 0x1ed54a0, 1.1/users/show.json Not Found(cawbird:9905): cawbird-WARNING **: 23:14:03.883: Twitter.vala:239: Not Found(cawbird:9905): cawbird-WARNING **: 23:14:04.208: ../src/CbUtils.c(call_done_cb): 0x1f08990, 1.1/users/show.json Forbidden(cawbird:9905): cawbird-WARNING **: 23:14:04.208: Twitter.vala:239: Forbidden(cawbird:9905): cawbird-WARNING **: 23:14:05.171: ../src/CbUtils.c(call_done_cb): 0x1f20de0, 1.1/users/show.json Forbidden(cawbird:9905): cawbird-WARNING **: 23:14:05.171: Twitter.vala:239: Forbidden(cawbird:9905): cawbird-WARNING **: 23:14:05.617: ../src/CbUtils.c(call_done_cb): 0x1f3b2b0, 1.1/users/show.json Not Found(cawbird:9905): cawbird-WARNING **: 23:14:05.617: Twitter.vala:239: Not Found(cawbird:9905): cawbird-WARNING **: 23:14:07.485: ../src/CbUtils.c(call_done_cb): 0x1f9f260, 1.1/users/show.json Not Found(cawbird:9905): cawbird-WARNING **: 23:14:07.485: Twitter.vala:239: Not Found(cawbird:9905): cawbird-WARNING **: 23:14:07.634: ../src/CbUtils.c(call_done_cb): 0x1f9f4a0, 1.1/users/show.json Forbidden(cawbird:9905): cawbird-WARNING **: 23:14:07.634: Twitter.vala:239: Forbidden(cawbird:9905): cawbird-DEBUG: 23:14:12.240: Got 28 mention tweets(cawbird:9905): cawbird-DEBUG: 23:14:12.240: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.252: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.257: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.266: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.270: Message with type 12 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.280: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.280: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:12.288: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.290: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.297: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.298: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.305: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.307: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.314: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.319: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.330: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.333: Message with type 12 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.342: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.343: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.351: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.352: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.360: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.361: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:12.370: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.370: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.381: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.384: Message with type 12 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.398: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.399: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:12.409: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.411: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.420: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.424: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.432: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.438: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.449: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.452: Message with type 12 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.461: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.461: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:12.471: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.475: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.484: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.486: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.496: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.498: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.509: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.511: Message with type 12 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.520: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.521: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:12.529: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.529: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.538: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.538: Message with type 12 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.548: Message with type 12 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.548: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): dconf-WARNING **: 23:14:12.559: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.562: Message with type 33 on stream @schmittlauch(cawbird:9905): cawbird-DEBUG: 23:14:12.564: Got 27 timeline tweets(cawbird:9905): cawbird-DEBUG: 23:14:12.564: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.573: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.583: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.592: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.599: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.609: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.620: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.633: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.642: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.650: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.665: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.675: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.690: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.701: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.712: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.723: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.741: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.753: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.781: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.790: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.804: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.815: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.826: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.837: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.848: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.857: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.868: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.878: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.886: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.896: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.901: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.911: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.916: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.927: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.935: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.945: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.952: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.964: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.971: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:12.981: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:12.992: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:13.000: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files(cawbird:9905): cawbird-DEBUG: 23:14:13.007: Message with type 11 on stream @schmittlauch(cawbird:9905): dconf-WARNING **: 23:14:13.017: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
@schmittlauch Those errors are a bit odd. ca.desrt.dconf has nothing to do with us, and all I've really done is change the path on the schema. As long as you've rebuilt your DConf schemas then everything should just work as before (with the tricky bit being whether we migrate settings or not).
The top results on Google for that error are all NixOS related ;)
It's hard to say whether things have been migrated, in dconf dump / I cannot find any trace of cawbird, neither with dots nor with slashes. I still found some old corebird settings though.
Okay, turns out that this is the result of no dconf daemon running. I'm running this under KDE Plasma, which does not enable a dconf daemon by default, that's only done for Gnome/Mate/Cinnamon/Pantheon/β¦. See NixOS/nixpkgs#73880 (comment) for reference.
So after enabling the dconf, schema migration works fine. At least if it isn't supposed to delete the dotted schema, that one is still there.
$ G_MESSAGES_DEBUG=cawbird result/bin/cawbirdcawbird-INFO: 00:13:43.601: Settings.vala:45: Transferring old GSchema settings(cawbird:105065): cawbird-DEBUG: 00:13:43.601: Settings.vala:51: Transferring value for startup-accounts(cawbird:105065): cawbird-DEBUG: 00:13:43.602: Settings.vala:51: Transferring value for window-geometry(cawbird:105065): cawbird-DEBUG: 00:13:43.983: Cawbird.vala:277: startup(cawbird:105065): cawbird-DEBUG: 00:13:44.153: Creating stream for schmittlauch
I've not been deleting them for now on the basis that 1) I wanted to be able to test it without it wiping my settings each time! and 2) if users are concerned about the old settings (like mannp's situation) then they go away with a manual reset of those settings. But I could probably add it to be tidy.
I've decided that it makes sense to tidy the settings up, and I'm fairly comfortable that it's working. If we were transferring old Corebird settings then we definitely shouldn't, and if we change things between 1.x and 2.x then we probably shouldn't (in case people want to go back) but this is going to be a 1.x to 1.x upgrade, so it seems reasonable and right and people rolling back (probably) 1.5 to 1.4.1 just have to deal with lost settings.
Activity
IBBoard commentedon Oct 4, 2021
I noticed it a while back when poking around in DConf Editor. I suspect it happened prior to v1.0 when I did a find-and-replace of
org.badert.Cawbirdwithuk.co.ibboard.Cawbird. But if it took the original as a regex then it would match slashes between and replace with dots.Since it works fine in Gnome then I've not fixed it. Partly because I don't want to change what isn't (obviously) broken and partly because I don't know how we'd migrate the settings across cleanly.
If someone knows how to migrate settings then we can look at fixing it so that stricter platforms handle our DConf settings as well. It's probably the gsettings path that's causing it.
CodedOre commentedon Oct 5, 2021
It's indeed the path that would need to be changed.
Have just tested it quickly using the keyfile backend (Flatpaks method where it stores the settings in a file), and here is what I can say:
If you change the path Cawbird will store new settings in the new path, but is still able to use old settings. Would be interesting if someone could check with the dconf-setting as well.
I think this could be something that Cawbird 2.0 could do. As we might already change some settings (maybe not, but who knows?), we probably would already have to include code to take over existing settings, so we could just read the settings from the old path and save them on the new when starting the first time.
mannp commentedon Oct 5, 2021
Thanks both for your input ππ» I too did a little test converting [uk.co.ibboard.cawbird] to [uk/co/ibboard/cawbird] and saw no ill effects when rebuilding my nix config.
Little comfort for you though I guess, but looking at the settings that are saved in the dconf in my case they seem minimal to have to reselect, if you are not able to read them and write them back with slashes.
The startup account will be the same for people with only one twitter account entered and the window location and icon type.
The key config appears to be saved in .config.cawbird for me, so at least my accounts etc are not being reset by this change.
IBBoard commentedon Oct 5, 2021
I'll have to check how easy it is to access keys that aren't ours (I'd assumed that packaging the schema also gave us control, but I guess people can query Gnome settings etc).
If we can just package the correct path and copy settings when (for example) the geometry is empty then that should work. Assuming we can do it in a way that fails cleanly and doesn't crash when a first-time user uses the post-change version and it looks for old keys that don't exist!
IBBoard commentedon Oct 16, 2021
I was just looking at this and trying to work out how to fix it. It looks like we create a
GLib.Settingsobject by ID, which then finds the schema and looks up its path.To port the user's settings between dotted and slashed then I need to access to both, which needs a schema for both. I think I know how do it but the big problem might be that the old schema will still exist, which probably means that it's going to remain in the dump.
I need to think a bit more and explore the API a bit more to understand what solves the underlying problem (wrong path format) and what solves the resulting bug (dconf dump is invalid)
[-]Dconf dot separator rather than a slash? Valid or a bug....[/-][+]Dconf dot separator rather than a slash[/+]mannp commentedon Oct 16, 2021
Sounds good, thanks for working through the potential solutions π
IBBoard commentedon Oct 16, 2021
I think I've got a solution. And it wasn't too painful. I just had to find out a semi-hidden feature of GSchema files by digging around in the XML DTD!
Since you're trying to convert dconf for NixOS, can I assume that you know how to build a custom Cawbird for testing? π
Re #402: Fix dconf separator without setting loss
mannp commentedon Oct 16, 2021
A potential solution is great :)
Well the general answer is 'very likely' but not perhaps in NixOS as I am currently testing it for a couple of months after using Arch Linux for many years.
Building on Arch and dumping the dconf might help which I am happy to do.
Happy to do some research how to do it on NixOS, but it might not be fast :)
IBBoard commentedon Oct 16, 2021
@schmittlauch might be able to help - I believe they made the original NixOS config. I don't know how "local builds" works, though π
I'm running the patches on my local copy now. I'll put it in Unstable in a bit. I just need people to check that it doesn't break things (or forget existing settings).
schmittlauch commentedon Oct 16, 2021
@mannp Building cawbird from a newer commit is pretty straight forward:
From a nixpkgs repo clone:
pkgs/applications/networking/cawbird/default.nix, updaterevto the desired commit hash. Also change thesha256hash to make sure a re-download is triggered, I just randomly change one of the hash characters to0to obtain a different valid hash.nix build -f . cawbird. You'll get a build error containing the actual correct hash of the new downloaded sources.nix build -f . cawbird. This should build successfully now../result/bin/cawbirdschmittlauch commentedon Oct 16, 2021
Regarding dconf, I don't really have a clue about that honestly ^^
As NixOS does not sandbox applications somehow and by default β unless you try to explicitly populate dconf like @mannp wants to do β still provides a user-global dconf store that is statefully modified by applications at runtime, just like in each other distribution.
I also use dconf that way, so I'm interested in whatever @mannp is trying to achieve, how that works, and whether it's successful. So far, the nixpkgs cawbird build from commit 541b0d7 is not working well though:
While it still loads tweets, I get a lot of dconf schema warnings.
Details
and so on
mannp commentedon Oct 16, 2021
@schmittlauch I am using dconf2nix and tried to convert my dconf dump, link in my first post, but it failed due to this issue.
I logged an issue with dconf2nix and the dev flagged the none standard dconf delimiter.
Hey and thanks for the build howto π
IBBoard commentedon Oct 17, 2021
@schmittlauch Those errors are a bit odd. ca.desrt.dconf has nothing to do with us, and all I've really done is change the path on the schema. As long as you've rebuilt your DConf schemas then everything should just work as before (with the tricky bit being whether we migrate settings or not).
The top results on Google for that error are all NixOS related ;)
schmittlauch commentedon Oct 17, 2021
It's hard to say whether things have been migrated, in
dconf dump /I cannot find any trace of cawbird, neither with dots nor with slashes. I still found some old corebird settings though.IBBoard commentedon Oct 18, 2021
Odd. It looks like
dconf dumponly dumps customised settings but you should at least havestartup-accountsandwindow-geometryset if nothing else.schmittlauch commentedon Oct 18, 2021
Okay, turns out that this is the result of no dconf daemon running. I'm running this under KDE Plasma, which does not enable a dconf daemon by default, that's only done for Gnome/Mate/Cinnamon/Pantheon/β¦. See NixOS/nixpkgs#73880 (comment) for reference.
So after enabling the dconf, schema migration works fine. At least if it isn't supposed to delete the dotted schema, that one is still there.
IBBoard commentedon Oct 19, 2021
I've not been deleting them for now on the basis that 1) I wanted to be able to test it without it wiping my settings each time! and 2) if users are concerned about the old settings (like mannp's situation) then they go away with a manual reset of those settings. But I could probably add it to be tidy.
Re #402: Delete transferred keys
IBBoard commentedon Oct 24, 2021
I've decided that it makes sense to tidy the settings up, and I'm fairly comfortable that it's working. If we were transferring old Corebird settings then we definitely shouldn't, and if we change things between 1.x and 2.x then we probably shouldn't (in case people want to go back) but this is going to be a 1.x to 1.x upgrade, so it seems reasonable and right and people rolling back (probably) 1.5 to 1.4.1 just have to deal with lost settings.
Re #402: Fix dconf separator without setting loss
Re #402: Delete transferred keys
IBBoard commentedon Dec 5, 2021
Finally merged with Master since no-one complained of any issues in Unstable.