--> -->
 
 
AttributeError
Python 3.6.9: /usr/bin/python3
Mon Sep 26 20:05:48 2022

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/expertiz/capsante_saint_jean/expert_sante/portail_patient/login.cgi in <module>()
    225    pass
    226 except:
    227    xpz_output.PrintHeader()
=>  228    xpz_extranet_patient.AfficherErreur(db, cgitb.html(sys.exc_info()), cgitb.text(sys.exc_info()))
    229 sys.exit(0)
xpz_extranet_patient = <module 'xpz_extranet_patient' from '/home/exper...e/portail_patient/model/xpz_extranet_patient.py'>, xpz_extranet_patient.AfficherErreur = <function AfficherErreur>, db = <xpz_database.DB object>, cgitb = <module 'cgitb' from '/usr/lib/python3.6/cgitb.py'>, cgitb.html = <function html>, sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info>, cgitb.text = <function text>
 /usr/lib/python3.6/cgitb.py in html(einfo=(<class 'FileNotFoundError'>, FileNotFoundError(2, 'No such file or directory'), <traceback object>), context=5)
    174     for name in dir(evalue):
    175         if name[:1] == '_': continue
=>  176         value = pydoc.html.repr(getattr(evalue, name))
    177         exception.append('\n<br>%s%s&nbsp;=\n%s' % (indent, name, value))
    178 
value = "(2, 'No such file or directory')", global pydoc = <module 'pydoc' from '/usr/lib/python3.6/pydoc.py'>, pydoc.html = <pydoc.HTMLDoc object>, pydoc.html.repr = <bound method HTMLRepr.repr of <pydoc.HTMLRepr object>>, builtin getattr = <built-in function getattr>, evalue = FileNotFoundError(2, 'No such file or directory'), name = 'characters_written'

AttributeError: characters_written
      args = ('characters_written',)
      with_traceback = <built-in method with_traceback of AttributeError object>