Project

General

Profile

Tâche #11128

Distribution EOLE - Scénario #10982: Assistance aux utilisateurs (14-16)

NoneType error à la réouverture de la boite d'exception

Added by Emmanuel GARETTE about 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/01/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Pour reproduire :

era -f /usr/share/era/modeles/5zones.xml

Pédago > extérieur
double clic sur la directive 9
exceptions
echap
exceptions

Voici l'erreur :

root@amon:~# 
Gtk-Message: Failed to load module "pk-gtk-module" 
/usr/share/era/ihm/ipsets.py:302: GtkWarning: IA__gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
  self.dlg.show_all()
Traceback (most recent call last):
  File "/usr/share/era/ihm/directive.py", line 1376, in ipsets_button
    self.ipsets_dlg.show_dialog()
  File "/usr/share/era/ihm/ipsets.py", line 303, in show_dialog
    self._hide_show(False)
  File "/usr/share/era/ihm/ipsets.py", line 112, in _hide_show
    store, iter_sel = self.tree_view.get_selection().get_selected()
AttributeError: 'NoneType' object has no attribute 'get_selected'

Associated revisions

Revision 4685cacb (diff)
Added by Gwenael Remond about 6 years ago

echap sur la boite de dialogue, fixes #11128 @2h

Revision 6d41fffa (diff)
Added by Joël Cuissinat about 6 years ago

Correction de la ré-ouverture de la fenêtre des exceptions

  • era/interface/editeur.glade : déclaration de l'événement "on_ipsets_dialog_delete_event"
  • era/ihm/ipsets.py : gestion de l'événement "on_ipsets_dialog_delete_event"

Ref: #11128 @1h

Revision 29feabf3 (diff)
Added by Joël Cuissinat about 6 years ago

Suppression du warning sur l'attribut swapped

  • era/interface/editeur.glade : suppression de l'attribut swapped="no" dans la balise signal

Ref: #11128 @15m

History

#1 Updated by Gwenael Remond about 6 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat about 6 years ago

  • Tracker changed from Anomalie to Tâche
  • Assigned To set to Emmanuel GARETTE
  • Estimated time set to 2.00 h
  • Parent task set to #10982
  • Remaining (hours) set to 0.15

#3 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Résolu to En cours

#4 Updated by Joël Cuissinat about 6 years ago

Pas OK avec era 2.5.0~1-4 : on obtient une fenêtre grise !

#5 Updated by Scrum Master about 6 years ago

  • Status changed from En cours to Résolu

#6 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.15 to 0.0

OK avec era 2.5.0~1-6

Also available in: Atom PDF