Bug 27324 - UCS@school 3.0 Update: SyntaxError: invalid syntax
UCS@school 3.0 Update: SyntaxError: invalid syntax
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 3.0
Other Linux
: P5 normal (vote)
: UCS@school 3.0 MS2
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on:
Blocks: 27328
  Show dependency treegraph
 
Reported: 2012-05-30 06:24 CEST by Stefan Gohmann
Modified: 2012-06-11 06:29 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-05-30 06:24:19 CEST
Während des Updates von 2.4-4 auf 3.0 tritt während des preup.sh die folgende Syntax Meldung auf:

Die folgenden zusätzlichen Pakete werden installiert:
  python-support python-univention-config-registry python-univention-lib
  univention-config
Die folgenden NEUEN Pakete werden installiert:
  python-univention-lib
Die folgenden Pakete werden aktualisiert:
  python-support python-univention-config-registry univention-config
  univention-ssl
4 aktualisiert, 1 neu installiert, 0 zu entfernen und 669 nicht aktualisiert.
Es müssen 136kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 180kB Plattenplatz zusätzlich benutzt.
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
  python-support python-univention-lib python-univention-config-registry
  univention-config univention-ssl
Authentifizierungswarnung überstimmt.
Hole:1 http://apt.knut.univention.de 3.0-0/all/ python-support 1.0.10.16.201104190609 [31,3kB]
Hole:2 http://apt.knut.univention.de 3.0-0/all/ univention-ssl 6.0.14-1.123.201111181643 [16,2kB]
Hole:3 http://testing.univention.de ucsschool/all/ python-univention-lib 1.0.53-1.78.201205241146 [14,2kB]
Hole:4 http://testing.univention.de ucsschool/all/ python-univention-config-registry 7.0.29-2.374.201202201257 [44,1kB]
Hole:5 http://testing.univention.de ucsschool/all/ univention-config 7.0.29-2.374.201202201257 [30,5kB]
Es wurden 136kB in 0s geholt (762kB/s)
(Lese Datenbank ... 101632 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von python-support 0.8.4.11.200909110908 (durch .../python-support_1.0.10.16.201104190609_all.deb) ...
Entpacke Ersatz für python-support ...
Wähle vormals abgewähltes Paket python-univention-lib.
Entpacke python-univention-lib (aus .../python-univention-lib_1.0.53-1.78.201205241146_all.deb) ...
Vorbereiten zum Ersetzen von python-univention-config-registry 6.0.47-3.372.201112161439 (durch .../python-univention-config-registry_7.0.29-2.374.201202201257_all.deb) ...
INFO: using unknown version '/usr/bin/python2.6' (debian_defaults not up-to-date?)
Entpacke Ersatz für python-univention-config-registry ...
Vorbereiten zum Ersetzen von univention-config 6.0.47-3.372.201112161439 (durch .../univention-config_7.0.29-2.374.201202201257_all.deb) ...
Entpacke Ersatz für univention-config ...
Ersetze die Dateien im alten Paket univention-config-registry ...
Vorbereiten zum Ersetzen von univention-ssl 5.0.10-1.114.201110200656 (durch .../univention-ssl_6.0.14-1.123.201111181643_all.deb) ...
Entpacke Ersatz für univention-ssl ...
Verarbeite Trigger für man-db ...
Richte python-support ein (1.0.10.16.201104190609) ...
Compiling /usr/lib/pymodules/python2.4/univention/lib/atjobs.py ...
  File "/usr/lib/pymodules/python2.4/univention/lib/atjobs.py", line 168
    finally:
          ^
SyntaxError: invalid syntax

Richte python-univention-lib ein (1.0.53-1.78.201205241146) ...
Richte python-univention-config-registry ein (7.0.29-2.374.201202201257) ...
Richte univention-config ein (7.0.29-2.374.201202201257) ...
Comment 1 Stefan Gohmann univentionstaff 2012-05-30 06:28:39 CEST
Weitere Meldungen:

Setting up python-univention-management-console (4.0.233-2.630.201205291126) ...
Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/server.py ...
  File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/server.py", line 75
    from .__common import add_dhcp_options
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/service.py ...
  File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/service.py", line 73
    from .__common import add_dhcp_options, add_dhcp_objectclass
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/sharedsubnet.py ...
  File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/sharedsubnet.py", line 120
    from .__common import add_dhcp_options, add_dhcp_objectclass
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/subnet.py ...
  File "/usr/lib/pymodules/python2.4/univention/admin/handlers/dhcp/subnet.py", line 121
    from .__common import add_dhcp_options, add_dhcp_objectclass
         ^
SyntaxError: invalid syntax
Comment 2 Stefan Gohmann univentionstaff 2012-05-30 06:50:45 CEST
Noch eine Meldung:

Compiling /usr/lib/pymodules/python2.4/univention/management/console/modules/schoolwizards/SchoolImport.py ...
  File "/usr/lib/pymodules/python2.4/univention/management/console/modules/schoolwizards/SchoolImport.py", line 43
    class SchoolImport():
                       ^
SyntaxError: invalid syntax
Comment 3 Stefan Gohmann univentionstaff 2012-05-30 08:19:21 CEST
Die Meldungen sollten entfernt werden, ansonsten wird das im Support häufig angefragt.
Comment 4 Stefan Gohmann univentionstaff 2012-05-30 10:20:55 CEST
Sind abgefangen bzw. geändert. Changelog nicht notwendig.
Comment 5 Felix Botner univentionstaff 2012-05-30 16:14:36 CEST
keine SyntaxError Meldungen mehr im updater.log.
Comment 6 Stefan Gohmann univentionstaff 2012-06-11 06:29:33 CEST
UCS@school 3.0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer  neueren Version von UCS@school erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"