Jetzt bekommeich allerdings immer wenn der Cronjob den Traffik ausliest (also alle 30 Minuten) folgende Mail:
sys:1: DeprecationWarning: Non-ASCII character 'xdf' in file optiam/iam on line 5, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
sys:1: DeprecationWarning: Non-ASCII character 'xdf' in file optiam/iam on line 5, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Is ja nervig..
Wie bekomm ich das wech?!?!
Also mir ist klar, das das Script da ist /opt/iam/iam
Habe das gerade installiert und bekomme folgenden Fehler:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "./iam", line 40, in ?
import sys, os
ImportError: No module named os
ja weiß ich aber da ich mich mit python nicht wirklich auskenne wollt ich fragen, ob irgendwo erklärt ist wie man das configfile (oder was das sein soll) entsprechend anpasst
sys:1: DeprecationWarning: Non-ASCII character 'xdf' in file optiam/iam on line 5, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Wie? Wo? kann ich das ändern?!?
Das ist ja nur eine Warnung. "xdf" ist "Ã?". Das ist kein ASCII-Zeichen und das mag iam nicht.
Abhilfe: lösche das "Ã?" in Zeile 5 in deiner Konfigurationsdatei /opt/iam/iam. Scheint ja wohl iene Kommentarzeile zu sein.
Du brauchst dich nicht mit Python auszukennen. Englisch- und Computerkenntnisse reichen aus. :twisted: