Score:5

Meld - Failed To Register

cd flag

I use Meld very frequently and it just started bailing on me today. When I try to run meld from commandline, it stalls for some time and then exits with Failed to register: Timeout was reached.

I did an apt remove, apt update and re-install and the issue is still there.

Any suggestions on debugging this?

Score:6
cd flag

For those who hit this issue, try restarting your machine. I found a closed ticket on the meld issue tracker and tried it and sure enough, the issue went away.

eg flag
Awesome! Not a wildly insightful/technical link; but, it makes the answer complete. We need more responsive users, like you, here!
Score:1
de flag

You asked for suggestions on how to debug this. So here's how I debugged this: I ran sudo meld and it worked. I then ran sudo su username for my username and meld worked in that window. Then I ran a env > blah.txt in the working window and env > blah_busted.txt in the broken window. I pulled up meld blah.txt blah_busted.txt to do a diff and began running unset VAR_NAME for each variable name that was defined in the busted.txt but not in the good one. Finally I ran:

unset XDG_RUNTIME_DIR

And meld magically worked again.

I'm running Ubuntu 22.04 via X2GO. I also had to 'unset DBUS_SESSION_BUS_ADDRESS' in ~/.bashrc to get anything snap related to run via x2go. That's a known issue with x2go. It seems ubuntu does no regression testing via x2go, and I can't find any documentation on how/if ubuntu regression tests at all.

cd flag
Very creative troubleshooting @poleguy! I will give that a try if I see that issue again.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.