Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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
- t.attach(Gtk.Label(label + ':'), 0, t.Rows, 1, 1)
- /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
- DefaultBtn = Gtk.Button("Default")
- /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
- RevertBtn = Gtk.Button("Revert")
- /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
- FromGtkBtn = Gtk.Button("From GTK")
- /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
- ApplyBtn = Gtk.Button("Apply")
- /home/darkeye/.local/share/themes/Lean/openbox-3/set.py:205: DeprecationWarning: Gtk.ColorButton.get_color is deprecated
- cbtn.connect('color-set', lambda b, k: SetC(k, b.get_color()), ck)
- Traceback (most recent call last):
- File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 222, in <lambda>
- ApplyBtn.connect('clicked', lambda e: Apply())
- ^^^^^^^
- File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 132, in Apply
- s = Subst(s, '{', '}', SubstColor)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 90, in Subst
- o = o + fun(b[0]) + b[1]
- ^^^^^^^^^
- File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 116, in SubstColor
- return Hex8FromRgb8(divc(reduce(addc, cs), len(cs)))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/darkeye/.local/share/themes/Lean/openbox-3/set.py", line 73, in Hex8FromRgb8
- return '#%02x%02x%02x' % tuple(c)
- ~~~~~~~~~~~~~~~~^~~~~~~~~~
- TypeError: %x format: an integer is required, not float
Advertisement
Add Comment
Please, Sign In to add comment