Probleme mit Python/UTF8 bei Installation [GELÖST]
Verfasst: 29 Sep 2012, 16:19
Hallo zusammen,
auf einer frisch installierten Debian Squeeze Kiste bekomme ich bei der Installation gemäß Anleitung auf der Webseite im Zusammenhang mit der Installation der OPSI-Pakete aber auch beim manuellen Aufruf von opsi-setup --init-current-config folgende Fehlermeldung:
[5] [Sep 29 15:55:43] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [Sep 29 15:55:43] Try to find a Configserver. (opsi-setup|2456)
[5] [Sep 29 15:55:43] Getting current system config (opsi-setup|70)
[2] [Sep 29 15:55:43] Traceback: (Logger.py|742)
[2] [Sep 29 15:55:43] line 3137 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 3092 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 2458 in 'initializeBackends' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 113 in 'getSysConfig' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 679 in 'readlines' in file '/usr/lib/python2.6/codecs.py' (Logger.py|742)
[2] [Sep 29 15:55:43] line 588 in 'readlines' in file '/usr/lib/python2.6/codecs.py' (Logger.py|742)
[2] [Sep 29 15:55:43] line 477 in 'read' in file '/usr/lib/python2.6/codecs.py' (Logger.py|742)
[2] [Sep 29 15:55:43] ==>>> 'utf8' codec can't decode byte 0xe4 in position 2847: invalid continuation byte (opsi-setup|3145)
ERROR: 'utf8' codec can't decode byte 0xe4 in position 2847: invalid continuation byte
Auf einer Maschine mit Debian Lenny auf der die Installation von OPSI 4 korrekt funktioniert hat, kommt diese Fehlermeldung nun ebenfalls nach einem dist-upgrade auf Squeeze, wenn man opsi-setup --set-rights oder --init-current-config aufruft.
Hat jemand von euch eine Idee woran das hakt?
Vielen Dank!
Infos zum System:
Linux xxx 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
ii opsi-atftpd 0.7.dfsg-1.7 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.1.24-1 OPSI config editor
ii opsi-depotserver 4.0.2.1-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20120119-1 opsi linux bootimage
ii opsi-utils 4.0.2.1-1 opsi utils
ri opsiconfd 4.0.2.1-1 opsi configuration service
ii opsipxeconfd 4.0.2.1-1 opsi pxe configuration daemon
ii python-opsi 4.0.2.1-1 opsi python library
auf einer frisch installierten Debian Squeeze Kiste bekomme ich bei der Installation gemäß Anleitung auf der Webseite im Zusammenhang mit der Installation der OPSI-Pakete aber auch beim manuellen Aufruf von opsi-setup --init-current-config folgende Fehlermeldung:
[5] [Sep 29 15:55:43] Creating base path: '/var/lib/opsi/config' (File.py|215)
[5] [Sep 29 15:55:43] Try to find a Configserver. (opsi-setup|2456)
[5] [Sep 29 15:55:43] Getting current system config (opsi-setup|70)
[2] [Sep 29 15:55:43] Traceback: (Logger.py|742)
[2] [Sep 29 15:55:43] line 3137 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 3092 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 2458 in 'initializeBackends' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 113 in 'getSysConfig' in file '/usr/bin/opsi-setup' (Logger.py|742)
[2] [Sep 29 15:55:43] line 679 in 'readlines' in file '/usr/lib/python2.6/codecs.py' (Logger.py|742)
[2] [Sep 29 15:55:43] line 588 in 'readlines' in file '/usr/lib/python2.6/codecs.py' (Logger.py|742)
[2] [Sep 29 15:55:43] line 477 in 'read' in file '/usr/lib/python2.6/codecs.py' (Logger.py|742)
[2] [Sep 29 15:55:43] ==>>> 'utf8' codec can't decode byte 0xe4 in position 2847: invalid continuation byte (opsi-setup|3145)
ERROR: 'utf8' codec can't decode byte 0xe4 in position 2847: invalid continuation byte
Auf einer Maschine mit Debian Lenny auf der die Installation von OPSI 4 korrekt funktioniert hat, kommt diese Fehlermeldung nun ebenfalls nach einem dist-upgrade auf Squeeze, wenn man opsi-setup --set-rights oder --init-current-config aufruft.
Hat jemand von euch eine Idee woran das hakt?
Vielen Dank!
Infos zum System:
Linux xxx 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
ii opsi-atftpd 0.7.dfsg-1.7 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.1.24-1 OPSI config editor
ii opsi-depotserver 4.0.2.1-1 opsi depotserver configuration package
ii opsi-linux-bootimage 20120119-1 opsi linux bootimage
ii opsi-utils 4.0.2.1-1 opsi utils
ri opsiconfd 4.0.2.1-1 opsi configuration service
ii opsipxeconfd 4.0.2.1-1 opsi pxe configuration daemon
ii python-opsi 4.0.2.1-1 opsi python library