Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hidpi-daemon Tracebacks #31

Open
cjohnston1158 opened this issue May 4, 2020 · 0 comments
Open

hidpi-daemon Tracebacks #31

cjohnston1158 opened this issue May 4, 2020 · 0 comments

Comments

@cjohnston1158
Copy link

How did you upgrade to 20.04? (Fresh install / Upgrade)
Fresh

Related Application and/or Package Version (run apt policy $PACKAGE NAME):
apt policy hidpi-daemon
hidpi-daemon:
Installed: 18.04.5157116041620.04~d1fa331

Issue/Bug Description:
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: /usr/lib/hidpi-daemon/hidpi-notification:172: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: settings = Gio.Settings('com.system76.hidpi')
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: /usr/lib/hidpi-daemon/hidpi-notification:94: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: self.settings = Gio.Settings('com.system76.hidpi')
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: Traceback (most recent call last):
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: File "/usr/lib/python3/dist-packages/pydbus/subscription.py", line 52, in
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: callback = (lambda con, sender, object, iface, signal, params: signal_fired(sender, object, iface, signal, params.unpack())) if signal_fired is not None else lambda *args: None
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: File "/usr/lib/hidpi-daemon/hidpi-notification", line 145, in signal_received
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: notification = HiDPINotification('lodpi')
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: File "/usr/lib/hidpi-daemon/hidpi-notification", line 100, in init
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: self.notification.show()
May 4 04:02:02 kachemak hidpi-frontend.desktop[3002]: gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (2)

May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: /usr/lib/hidpi-daemon/hidpi-daemon:91: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: GObject.threads_init()
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: Traceback (most recent call last):
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: File "/usr/lib/python3/dist-packages/hidpidaemon/hidpidaemon2.py", line 461, in on_notification_mode
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: self.notification_update_scaling(restart=False)
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: File "/usr/lib/python3/dist-packages/hidpidaemon/hidpidaemon2.py", line 454, in notification_update_scaling
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: h.set_scaled_display_modes(notification=False)
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: File "/usr/lib/python3/dist-packages/hidpidaemon/hidpidaemon2.py", line 1343, in set_scaled_display_modes
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: self.set_display_scaling(display, layout, force=force)
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: File "/usr/lib/python3/dist-packages/hidpidaemon/hidpidaemon2.py", line 1255, in set_display_scaling
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: return self.set_display_scaling_xrandr(display, layout, force_lowdpi=force)
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: File "/usr/lib/python3/dist-packages/hidpidaemon/hidpidaemon2.py", line 1182, in set_display_scaling_xrandr
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: if saved_dpi <= 170 and force_lowdpi:
May 4 04:02:02 kachemak hidpi-daemon.desktop[2985]: TypeError: '<=' not supported between instances of 'NoneType' and 'int'

Steps to reproduce (if you know):
Received this while adjusting displays this morning.

Expected behavior:
Don't error

@cjohnston1158 cjohnston1158 changed the title hidpi-daemon TypeError: '<=' not supported between instances of 'NoneType' and 'int' hidpi-daemon Tracebacks May 4, 2020
@brs17 brs17 transferred this issue from pop-os/beta May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant