Closed miberecz closed 3 years ago
I can confirm the same problem after installing GCM in Ubuntu 20.10.
@mqmq0 Any idea how to fix that?
I couldnt find any so far
On Thu, Jan 7, 2021 at 11:48 PM Petr Šťastný notifications@github.com wrote:
I can confirm the same problem after installing GCM in Ubuntu 20.10.
@mqmq0 https://github.com/mqmq0 Any idea how to fix that?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kuthulux/gnome-connection-manager/issues/49#issuecomment-756434019, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFAVC6DPUCHLCWIV4F2Q4DSYY24BANCNFSM4TC2SYPQ .
Hi there Looks like the api call for spawning a process has changed in 20.10, a momentarily fix is passing two extra arguments to method spawn_async (line 500)
if TERMINAL_V048:
terminal.spawn_async(Vte.PtyFlags.DEFAULT,
os.getenv("HOME"),
args,
envv,
flag_spawn | GLib.SpawnFlags.DO_NOT_REAP_CHILD |
GLib.SpawnFlags.SEARCH_PATH, None, None, -1, None, lambda term,pid,err,user_data: None, None )
it should work, however a warning is logged in the console. I'll have to take a deeper look at the api docs to propose a proper fix that will work in 20.04 and 20.10
to fix the warning, the flag GLib.SpawnFlags.DO_NOT_REAP_CHILD has to be deleted
if TERMINAL_V048:
terminal.spawn_async(Vte.PtyFlags.DEFAULT,
os.getenv("HOME"),
args,
envv,
flag_spawn | GLib.SpawnFlags.SEARCH_PATH,
None,
None,
-1,
None,
lambda term,pid,err,user_data: None,
None
)
I confirm this fix works for me on Ubuntu 20.10. Thanks!
Since I updated to the newest Ubuntu, its not working. Its starts but neither local or ssh terminals are working.
Is there anything I can do to fix this?