Project

General

Profile

Anomalie #5036

Enregistrement sur Zéphir

Added by Fabrice Barconnière about 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Haut
Category:
-
Start date:
Due date:
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

Traceback (most recent call last):
  File "/usr/bin/enregistrement_zephir", line 1077, in <module>
    main(use_pppoe, force_conf_net)
  File "/usr/bin/enregistrement_zephir", line 1005, in main
    register_log(zephir_proxy, id_serveur, eole_variables, ip_zlog=zephirlog_ip)
  File "/usr/lib/python2.6/dist-packages/zephir/lib_zephir.py", line 539, in register_log
    res, data = zephir_proxy.prelude.gen_certif(request_data, id_serveur)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/dist-packages/zephir/eolerpclib.py", line 99, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/dist-packages/zephir/lib_zephir.py", line 81, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 8002: "Can't serialize output: cannot marshal None unless allow_none is enabled">

On trouve ça sur Zéphir :
/var/log/rsyslog/local/zephir_backend/zephir_backend.alert.log 
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011    result = f(*args, **kw)
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011  File "/usr/lib/python2.6/dist-packages/zephir/backend/prelude_rpc.py", line 162, in xmlrpc_gen_certif
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011    cert.gen_privkey(rsyslog_privkey)
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011  File "/usr/lib/pymodules/python2.6/creole/cert.py", line 324, in gen_privkey
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011    "--bits", bits])
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011  File "/usr/lib/pymodules/python2.6/pyeole/process.py", line 56, in system_code
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011    print "Sortie binaire détectée => affichage masqué" 
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011  File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 555, in write
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011    d = (self.buf + data).split('\n')
Mar 12 11:44:18 zephirng zephir_backend: [HTTPChannel,78,192.168.0.98] #011exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)

Pb accent : fix douteux -> dans cert.py, remplacer system_code ligne 321 par system_out

Associated revisions

Revision f91858bf (diff)
Added by Fabrice Barconnière about 8 years ago

creole/cert.py : appel de system_out à la place de system_code à cause
de pb d'accent lors de l'enregisrement_zephir
fixes #5036 @30m

History

#1 Updated by Fabrice Barconnière about 8 years ago

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

#2 Updated by Fabrice Barconnière about 8 years ago

  • Status changed from Résolu to Fermé

OK en version 2.3-eole179~6

Also available in: Atom PDF