ahkm

Untitled

Jul 5th, 2023
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:192: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  2. t.attach(Gtk.Label(label + ':'), 0, t.Rows, 1, 1)
  3. /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:214: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  4. DefaultBtn = Gtk.Button("Default")
  5. /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:215: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  6. RevertBtn = Gtk.Button("Revert")
  7. /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:216: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  8. FromGtkBtn = Gtk.Button("From GTK")
  9. /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:217: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  10. ApplyBtn = Gtk.Button("Apply")
  11. /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:205: DeprecationWarning: Gtk.ColorButton.get_color is deprecated
  12. cbtn.connect('color-set', lambda b, k: SetC(k, b.get_color()), ck)
  13. Traceback (most recent call last):
  14. File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 222, in <lambda>
  15. ApplyBtn.connect('clicked', lambda e: Apply())
  16. ^^^^^^^
  17. File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 132, in Apply
  18. s = Subst(s, '{', '}', SubstColor)
  19. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  20. File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 90, in Subst
  21. o = o + fun(b[0]) + b[1]
  22. ^^^^^^^^^
  23. File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 116, in SubstColor
  24. return Hex8FromRgb8(divc(reduce(addc, cs), len(cs)))
  25. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  26. File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 73, in Hex8FromRgb8
  27. return '#%02x%02x%02x' % tuple(c)
  28. ~~~~~~~~~~~~~~~~^~~~~~~~~~
  29. TypeError: %x format: an integer is required, not float
  30.  
Advertisement
Add Comment
Please, Sign In to add comment