Project

General

Profile

Tâche #10086

eole-flask - Scénario #9983: Tester et fermer les tâches : EOP : fonctionnalités VNC

Traceback interne si l'enseignant distribuant le document n'a pas d'adresse mail

Added by Joël Cuissinat almost 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/16/2014
Due date:
% Done:

100%

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

Description

Dans /var/log/controle-vnc/main.log :

2014/12/16 15:37:22 CET [HTTPChannel,7,192.0.2.51] Appel de la fonction xmlrpc_remote_get_mail pour noelle.barbot
2014/12/16 15:37:22 CET [HTTPChannel,7,192.0.2.51] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 132, in process
        self.render(resrc)
      File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 167, in render
        body = resrc.render(self)
      File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
        return m(request)
      File "/usr/lib/python2.7/dist-packages/twisted/web/xmlrpc.py", line 172, in render_POST
        d = defer.maybeDeferred(function, *args)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
        result = f(*args, **kw)
      File "/usr/share/eole/controlevnc/xmlrpc_eop.py", line 238, in xmlrpc_remote_get_mail
        return ldapuser.get_attr(username, "mail")[0]
    exceptions.IndexError: list index out of range

Associated revisions

Revision 810b3d92 (diff)
Added by Lionel Morin almost 8 years ago

Mail d'envoi par défaut = "admin@" + domaine_messagerie_etab (ref #10086 @2h)

Revision 7a86c0dc (diff)
Added by Lionel Morin almost 8 years ago

Renvoie une chaine vide si aucun mail n'est trouvé (ref #10086 @30m)

History

#1 Updated by Lionel Morin almost 8 years ago

  • Tracker changed from Anomalie to Tâche
  • Parent task set to #9983
  • Remaining (hours) set to 2.5

#2 Updated by Lionel Morin almost 8 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Lionel Morin almost 8 years ago

  • Assigned To set to Lionel Morin

#4 Updated by Luc Bourdot almost 8 years ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat almost 8 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.5 to 0.0

Plus de traceback dans controle-vnc :

2014/12/19 16:48:15 CET [HTTPChannel,19,192.0.2.51] Appel de la fonction xmlrpc_remote_get_mail pour noelle.barbot
2014/12/19 16:48:15 CET [HTTPChannel,19,192.0.2.51] 192.0.2.51 - - [19/Dec/2014:15:48:14 +0000] "POST /RPC2 HTTP/1.1" 200 126 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" 

Mais forcément on tombe sur le bug suivant #10087 !

Also available in: Atom PDF