Ошибка Python / GTK при попытке использовать pyperclip.copy() в Debian 9
Я полный новичок в программировании, я искал приведенную ниже ошибку в Google по-разному, но без удачи найти разумные результаты.
Мой код в основном пытается:
pyperclip.copy(str(DICTIONARY[KEY]))
Мой вызов программы в командной строке:
python3 ./PasswordManager.py blog
Где "блог" является "ключом" вышеуказанной функции.
И вот ошибки, которые я получаю:
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:186:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2749:24: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2749:24: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2940:14: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2940:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2946:17: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:4083:14: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:4083:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:4088:17: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:4729:14: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:4729:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: xfce.css:47:16: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: xfce.css:47:16: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:16:14: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:16:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:26:14: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:26:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:40:16: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:40:16: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:96:14: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:100:16: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:100:16: Expected a string.
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:279:14: not a number
(python3:26893): Gtk-WARNING **: Theme parsing error: lightdm-gtk-greeter.css:279:14: Expected a string.
1 ответ
Решение
2019-01-21 13:15