msecgui ne se lance pas dans le MCC [Réglé]
Configurer la sécurité, les droits et la surveillance du système
Cauldron, la prochaine version de Mageia

Gilkou Membre non connecté
-
- Voir le profil du membre Gilkou
- Inscrit le : 29/03/2013
- Groupes :
[root@...]# msecgui
INFO: Starting gui..
INFO: Chargement du fichier d'exceptions /etc/security/msec/exceptions : Aucun fichier ou dossier de ce type
INFO: Pas d'exceptions chargées
INFO: Niveau msec de base détecté 'standard'
/usr/share/msec/msecgui.py:213: 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
filemenu = Gtk.MenuItem(topmenu, use_underline=True)
/usr/share/msec/msecgui.py:219: 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
menuitem = Gtk.MenuItem(submenu, use_underline=True)
/usr/share/msec/msecgui.py:236: DeprecationWarning: Gtk.modify_font is deprecated
label.modify_font(Pango.FontDescription("13"))
/usr/share/msec/msecgui.py:572: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "n_rows, n_columns, homogeneous" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
table = Gtk.Table(4, 4, False)
/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:1445: DeprecationWarning: Gtk.attach is deprecated
Gtk.Table.attach(self, child, left_attach, right_attach, top_attach, bottom_attach, xoptions, yoptions, xpadding, ypadding)
/usr/share/msec/msecgui.py:604: 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
button = Gtk.Button(_("Configure"))
ERROR: Impossible d'accéder à /var/lib/urpmi : 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
/usr/share/msec/msecgui.py:618: 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
button = Gtk.Button(_("Update now"))
/usr/share/msec/msecgui.py:646: 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
button = Gtk.Button(_("Configure"))
Traceback (most recent call last):
File "/usr/share/msec/msecgui.py", line 1789, in <module>
gui = MsecGui(log, msec, perms, msec_config, perm_conf, exceptions, embed=PlugWindowID)
File "/usr/share/msec/msecgui.py", line 248, in __init__
self.main_notebook.append_page(self.create_summary_ui(), Gtk.Label(label=_("Overview")))
File "/usr/share/msec/msecgui.py", line 662, in create_summary_ui
label = Gtk.Label(label=_("Check: %s. Last run: %s") % (check, updated))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
J'ai désintallé msec, puis réinstallé... aucun résultat.
A+
Gil
Édité par Gilkou Le 20/02/2015 à 15h54
Ne pas le dire - Ne pas l'écrire - Juste tirer la langue

Vudlaba Membre non connecté
-
- Voir le profil du membre Vudlaba
- Inscrit le : 02/06/2011
Pourtant y'a pas longtemps "ça eu marché" .
Gigabyte GA-MA785GT-UD3H - AMD Phenom II X4 955 Black Edition -
Vidéo ATI RADEON HD4770 -Mem 8Go - SSD 1x128Go HD 1X500Go 1x3To - Webcam Logitech C270.
GRUB2 - MAGEIA Cauldron/Seven.
Linux localhost 3.19.0-desktop-1.mga5 #1 SMP Mon Feb 9 06:47:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Vidéo ATI RADEON HD4770 -Mem 8Go - SSD 1x128Go HD 1X500Go 1x3To - Webcam Logitech C270.
GRUB2 - MAGEIA Cauldron/Seven.
Linux localhost 3.19.0-desktop-1.mga5 #1 SMP Mon Feb 9 06:47:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :

https://bugs.mageia.org/show_bug.cgi?id=14586
Le bogue est mis en compte chez Mageia. Il reste à attendre la correction de tv

Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


Gilkou Membre non connecté
-
- Voir le profil du membre Gilkou
- Inscrit le : 29/03/2013
- Groupes :
![:]](/images/smileys/8.gif)
Ne pas le dire - Ne pas l'écrire - Juste tirer la langue

Gilkou Membre non connecté
-
- Voir le profil du membre Gilkou
- Inscrit le : 29/03/2013
- Groupes :
Édité par Gilkou Le 23/03/2015 à 10h30
Ne pas le dire - Ne pas l'écrire - Juste tirer la langue

Papoteur Membre non connecté
-
- Voir le profil du membre Papoteur
- Inscrit le : 03/10/2011
- Groupes :
-
Modérateur
-
Équipe Mageia
-
Administrateur
-
Forgeron
Adrien.D :
Hello 
https://bugs.mageia.org/show_bug.cgi?id=14586
Le bogue est mis en compte chez Mageia. Il reste à attendre la correction de tv

https://bugs.mageia.org/show_bug.cgi?id=14586
Le bogue est mis en compte chez Mageia. Il reste à attendre la correction de tv

Je doute que la correction vienne de tv.
Mais ne désespérons pas.
Yves

Dimitrios Membre non connecté
-
- Voir le profil du membre Dimitrios
- Inscrit le : 24/02/2008
- Site internet
- Groupes :
Code :
Traceback (most recent call last):
File "/usr/share/msec/msecgui.py", line 1792, in <module>
gui = MsecGui(log, msec, perms, msec_config, perm_conf, exceptions, embed=PlugWindowID)
File "/usr/share/msec/msecgui.py", line 248, in __init__
self.main_notebook.append_page(self.create_summary_ui(), Gtk.Label(label=_("Overview")))
File "/usr/share/msec/msecgui.py", line 665, in create_summary_ui
label = Gtk.Label(label=_("Check: %s. Last run: %s") % (check, updated))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)
J'ai pu le contourné avec une exception:
Code :
--- msecgui.origin.py 2015-05-20 01:05:09.000000000 +0200
+++ msecgui.py 2015-06-07 19:29:55.161228339 +0200
@@ -659,7 +659,11 @@
for check, logfile, updated_n, updated in tools.periodic_check_status(log):
if not updated:
updated = _("Never")
- label = Gtk.Label(label=_("Check: %s. Last run: %s") % (check, updated))
+ try:
+ label = Gtk.Label(label=_("Check: %s. Last run: %s") % (check, updated))
+ except UnicodeDecodeError:
+ updated = updated.decode('utf-8')
+ label = Gtk.Label(label=_("Check: %s. Last run: %s") % (check, updated))
label.set_property("xalign", 0.0)
table.attach(label, 2, 3, row, row + 1, Gtk.AttachOptions.EXPAND | Gtk.AttachOptions.FILL, 0, 0, 0)
Je n'ai pas pu consulter le bug 14586, coupure générale aujourd'hui ?
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie