Package: redshift-gtk Version: 1.11-1 Followup-For: Bug #873240 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
I don't use the Redshift service, but here is what it says: ● redshift.service - Redshift display colour temperature adjustment Loaded: loaded (/usr/lib/systemd/user/redshift.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: http://jonls.dk/redshift/ Running `redshift` in the terminal works fine for me. You said that you are not experiencing this bug, but are you on Debian Jessie? I should have mentioned in my last message that I think this bug is not a bug in Redshift, but in a dependency, specific to Sid and Buster. I'm more certain of it now than ever, but I think the issues I found with python3-xdg are unrelated. In addition to redshift-gtk, I also have Blueman installed, which also doesn't show its icon. In hindsight, I should have thought that the issues might be related sooner. They are both written in Python 3 and use gir1.2-appindicator3-0.1. In fact, I just ran both Redshift and Blueman through gdb, and I noticed that a thread crashes when it tries to display the icon. I'm including my Redshift backtrace. - -- System Information: Debian Release: buster/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages redshift-gtk depends on: ii gir1.2-appindicator3-0.1 0.4.92-5 ii python3 3.6.4-1 ii python3-gi 3.26.1-2 ii python3-xdg 0.25-4 ii redshift 1.11-1 Versions of packages redshift-gtk recommends: ii at-spi2-core 2.26.2-2 redshift-gtk suggests no packages. - -- no debconf information *** /home/john/redshift/backtrace.txt #0 0x00007ffff6d50e6b in __GI___poll (fds=0xe75950, nfds=5, timeout=14506) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff5f4b119 in g_main_context_poll (priority=<optimized out>, n_fds=5, fds=0xe75950, timeout=<optimized out>, context=0xca7c10) at ../../../../glib/gmain.c:4169 #2 0x00007ffff5f4b119 in g_main_context_iterate (context=0xca7c10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3863 #3 0x00007ffff5f4b4b2 in g_main_loop_run (loop=0xbde6e0) at ../../../../glib/gmain.c:4064 #4 0x00007fffeedcbff5 in gtk_main () at ../../../../gtk/gtkmain.c:1323 #5 0x00007ffff5cfcfce in ffi_call_unix64 () at ../src/x86/unix64.S:76 #6 0x00007ffff5cfc93f in ffi_call (cif=cif@entry=0xe9c738, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x7fffffffd898, avalue=<optimized out>) at ../src/x86/ffi64.c:525 #7 0x00007ffff66fadda in pygi_invoke_c_callable (function_cache=0xe9c690, state=<optimized out>, py_args=<optimized out>, py_kwargs=<optimized out>) at ../../gi/pygi-invoke.c:682 #8 0x00007ffff66fc9b8 in pygi_function_cache_invoke (function_cache=<optimized out>, py_args=<optimized out>, py_kwargs=<optimized out>) at ../../gi/pygi-cache.c:863 #9 0x000000000045a0d3 in _PyObject_FastCallDict (func=<gi.FunctionInfo at remote 0x7fffeacbc1b8>, args=0xacc680, nargs=0, kwargs=0x0) at ../Objects/abstract.c:2331 #10 0x000000000054fc17 in call_function (pp_stack=pp_stack@entry=0x7fffffffda88, oparg=<optimized out>, kwnames=kwnames@entry=0x0) at ../Python/ceval.c:4848 #11 0x00000000005545af in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3322 #12 0x000000000054fac1 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xacc4e8, for file /usr/lib/python3/dist-packages/redshift_gtk/statusicon.py, line 524, in run (terminate_child=<function at remote 0x7fffeacbabf8>, s=<RedshiftStatusIcon(_controller=<RedshiftController(_inhibited=False, _temperature=6410, _period='Daytime', _location=(<float at remote 0x7fffef4b77e0>, <float at remote 0x7fffef4b7810>), _process=(14026, None, 12, 14), _input_buffer=<InputBuffer(buf='') at remote 0x7ffff6b18860>, _error_buffer=<InputBuffer(buf='') at remote 0x7fffeacb2860>, _errors="Trying location provider `geoclue2'...\n") at remote 0x7fffeacb5bd0>, indicator=<Indicator at remote 0x7fffeacbb1b0>, status_menu=<Menu at remote 0x7fffeacbb1f8>, toggle_item=<CheckMenuItem at remote 0x7fffeacbb510>, info_dialog=<Dialog at remote 0x7fffeacbb8b8>, status_label=<Label at remote 0x7fffeacbb9d8>, location_label=<Label at remote 0x7fffeacbba20>, temperature_label=<Label at remote 0x7fffeacbba68>, period_label=<Label at remote 0x7fffeacbbab0>, suspend_timer=None) at remote 0x7fffeac95f98>)) at ../Python/ceval.c:753 #13 0x000000000054fac1 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff6ad8e40>, globals=globals@entry={'__name__': 'redshift_gtk.statusicon', '__doc__': "GUI status icon for Redshift.\n\nThe run method will try to start an appindicator for Redshift. If the\nappindicator module isn't present it will fall back to a GTK status icon.\n", '__package__': 'redshift_gtk', '__loader__': <SourceFileLoader(name='redshift_gtk.statusicon', path='/usr/lib/python3/dist-packages/redshift_gtk/statusicon.py') at remote 0x7ffff6ad1b38>, '__spec__': <ModuleSpec(name='redshift_gtk.statusicon', loader=<...>, origin='/usr/lib/python3/dist-packages/redshift_gtk/statusicon.py', loader_state=None, submodule_search_locations=None, _set_fileattr=True, _cached='/usr/lib/python3/dist-packages/redshift_gtk/__pycache__/statusicon.cpython-36.pyc', _initializing=False) at remote 0x7ffff6ad1b00>, '__file__': '/usr/lib/python3/dist-packages/redshift_gtk/statusicon.py', '__cached__': '/usr/lib/python3/dist-packages/redshift_gtk/__pycache__/statusicon.cpython-36.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, except...(truncated), locals=locals@entry=0x0, args=<optimized out>, argcount=argcount@entry=0, kwnames=0x0, kwargs=0xaeb368, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name='run', qualname='run') at ../Python/ceval.c:4153 #14 0x000000000054fd4d in fast_function (kwnames=0x0, nargs=0, stack=<optimized out>, func=<function at remote 0x7ffff6b0e1e0>) at ../Python/ceval.c:4965 #15 0x000000000054fd4d in call_function (pp_stack=pp_stack@entry=0x7fffffffdd28, oparg=<optimized out>, kwnames=kwnames@entry=0x0) at ../Python/ceval.c:4845 #16 0x00000000005545af in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3322 #17 0x000000000054fac1 in PyEval_EvalFrameEx (throwflag=0, f=Frame 0xaeb1e8, for file /usr/bin/redshift-gtk, line 27, in <module> ()) at ../Python/ceval.c:753 #18 0x000000000054fac1 in _PyEval_EvalCodeWithName (_co=_co@entry=<code at remote 0x7ffff6b9a810>, globals=globals@entry=<code at remote 0x7ffff6b9a810>, locals=locals@entry=< at remote 0x7ffff6bf7168>, args=args@entry=0x0, argcount=argcount@entry=0, kwnames=kwnames@entry=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:4153 #19 0x0000000000550a73 in PyEval_EvalCodeEx (closure=0x0, kwdefs=0x0, defcount=0, defs=0x0, kwcount=0, kws=0x0, argcount=0, args=0x0, locals=locals@entry=< at remote 0x7ffff6bf7168>, globals=globals@entry=<code at remote 0x7ffff6b9a810>, _co=_co@entry=<code at remote 0x7ffff6b9a810>) at ../Python/ceval.c:4174 #20 0x0000000000550a73 in PyEval_EvalCode (co=co@entry=<code at remote 0x7ffff6b9a810>, globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/usr/bin/redshift-gtk') at remote 0x7ffff6b95f28>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff6c5f638>, '__file __': '/usr/bin/redshift-gtk', '__cached__': None, 'sys': <module at remote 0x7ffff6bebef8>, 'run': <function at remote 0x7ffff6b0e1e0>}, locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/usr/bin/redshift-gtk') at remote 0x7ffff6b95f28>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff6c5f638>, '__file__': '/usr/bin/redshift-gtk', '__cached__': None, 'sys': <module at remote 0x7ffff6bebef8>, 'run': <function at remote 0x7ffff6b0e1e0>}) at ../Python/ceval.c:730 #21 0x000000000042b509 in run_mod (arena=0x7ffff6bf7168, flags=0x7fffffffe03c, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/usr/bin/redshift-gtk') at remote 0x7ffff6b95f28>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff6c5f638>, '__file__': '/usr/bin/redshift-gtk', '__cached__': None, 'sys': <module at remote 0x7ffff6bebef8>, 'run': <function at remote 0x7ffff6b0e1e0>}, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/usr/bin/redshift-gtk') at remote 0x7ffff6b95f28>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff6c5f638>, '__file__': '/usr/bin/redshift-gtk', '__cached__': None, 'sys': <module at remote 0x7ffff6bebef8>, 'run': <function at remote 0x7ffff6b0e1e0>}, filename='/usr/bin/redshift-gtk', mod=0xac9030) at ../Python/pythonrun.c:1025 #22 0x000000000042b509 in PyRun_FileExFlags (fp=0xadeac0, filename_str=<optimized out>, start=<optimized out>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/usr/bin/redshift-gtk') at remote 0x7ffff6b95f28>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff6c5f638>, '__file__': '/usr/bin/redshift-gtk', '__cached__': None, 'sys': <module at remote 0x7ffff6bebef8>, 'run': <function at remote 0x7ffff6b0e1e0>}, locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <SourceFileLoader(name='__main__', path='/usr/bin/redshift-gtk') at remote 0x7ffff6b95f28>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7ffff6c5f638>, '__file__': '/usr/bin/redshift-gtk', '__cached__': None, 'sys': <module at remote 0x7ffff6bebef8>, 'run': <function at remote 0x7ffff6b0e1e0>}, closeit=1, flags=0x7fffffffe03c) at ../Python/pythonrun.c:978 #23 0x000000000042b6f5 in PyRun_SimpleFileExFlags (fp=0xadeac0, filename=<optimized out>, closeit=1, flags=0x7fffffffe03c) at ../Python/pythonrun.c:420 #24 0x0000000000441fbb in run_file (p_cf=0x7fffffffe03c, filename=0xa90510 L"/usr/bin/redshift-gtk", fp=0xadeac0) at ../Modules/main.c:338 #25 0x0000000000441fbb in Py_Main (argc=argc@entry=3, argv=argv@entry=0xa8f260) at ../Modules/main.c:808 #26 0x0000000000421ff4 in main (argc=3, argv=<optimized out>) at ../Programs/python.c:69 -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEEJwCMxdBfG24Y2trvfWFEpid5MHIFAlqTQ2oSHGpzY290dEBw b3N0ZW8ubmV0AAoJEH1hRKYneTByUd8H/3ooPU4xt5l9hV62VL6fFO+f/G9woXFB lvgtvRowecXS8CuzPZPT6J3yVe7YNcotzAUyJ+C0k3rsgBSdPLVUditiAQraXJ+p 49IMOqFMiuC9wSj6ZASpBM5bkK4pqj6ogc4vae4D5YEODE/B200A9jNgRl9At3w/ M1unPc+E+DXNvjbYyR8d31Uhu9bTtjw09GbJ0smZtNR3QRhpx4vab1hs1BG4TiZf kxeQMrxW3D1fscHdv7YZoFoZjZgWbyoUfMiUISoKgoI29XYbeMo85Zx9Zaaf8yYd /lFgkDbekR6iB0asax438zB349tOOODV0uDa+DQjkBRl4MveUsYdATE= =317q -----END PGP SIGNATURE-----