Univention Bugzilla – Full Text Bug Listing |
Summary: | Übernahme der UDM Module | ||
---|---|---|---|
Product: | UCS | Reporter: | Stefan Gohmann <gohmann> |
Component: | General | Assignee: | Stefan Gohmann <gohmann> |
Status: | CLOSED FIXED | QA Contact: | Andreas Büsching <buesching> |
Severity: | normal | ||
Priority: | P5 | CC: | botner, buesching, walkenhorst |
Version: | UCS 3.0 | ||
Target Milestone: | UCS 3.0 - MS1 | ||
Hardware: | Other | ||
OS: | Linux | ||
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: | |||
Bug Depends on: | |||
Bug Blocks: | 28664 | ||
Attachments: |
baseconfig gibt es nicht mehr
Das laden der Module funktioniert nicht mehr Laden der Module Laden der Syntax-Dateien |
Description
Stefan Gohmann
2011-05-06 11:40:53 CEST
*** Bug 22459 has been marked as a duplicate of this bug. *** (In reply to comment #0) > Die UDM Module & Co. sollten nach UCS 3.0 übernommen werden: > > univention-directory-manager-module-example > univention-directory-manager-modules > univention-directory-reports > univention-dojo Pakete sind übernommen, da UCR fehlt wurden die Pakete bisher nicht gebaut und getestet. Created attachment 3263 [details]
baseconfig gibt es nicht mehr
Traceback beim Laden der Module
Created attachment 3264 [details]
Das laden der Module funktioniert nicht mehr
Traceback beim Laden der UDM Module
Created attachment 3265 [details] Laden der Module (In reply to comment #3) > Created an attachment (id=3263) [details] > baseconfig gibt es nicht mehr > > Traceback beim Laden der Module Mit dem Patch sollten die Module wieder geladen werden können (In reply to comment #3) > Created an attachment (id=3263) [details] > baseconfig gibt es nicht mehr > > Traceback beim Laden der Module Wie besprochen, das wird wieder rückgängig gemacht. Es gibt noch einen Fehler beim Laden der Module: File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 914, in <module> update() File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 73, in update os.path.walk(dir, _walk, p) File "/usr/lib/python2.6/posixpath.py", line 236, in walk walk(name, func, arg) File "/usr/lib/python2.6/posixpath.py", line 228, in walk func(arg, top, names) File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 63, in _walk mod=__import__(mod, globals(), locals(), name) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/self.py", line 45, in <module> import univention.admin.handlers.users.user File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py", line 607, in <module> syntax=univention.admin.syntax.module('shares/share'), File "/usr/lib/pymodules/python2.6/univention/admin/syntax.py", line 198, in __init__ mymodule = __import__( 'univention/admin/handlers/%s' % type) ImportError: Import by filename is not supported. Created attachment 3272 [details] Laden der Syntax-Dateien Wenn ich mit dem Patch das Problem aus comment 7 fixe, dann komme ich zum nächsten Traceback: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 38, in <module> import univention.admin.modules File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 915, in <module> update() File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 74, in update os.path.walk(dir, _walk, p) File "/usr/lib/python2.6/posixpath.py", line 236, in walk walk(name, func, arg) File "/usr/lib/python2.6/posixpath.py", line 228, in walk func(arg, top, names) File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 64, in _walk mod=__import__(mod, globals(), locals(), name) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/self.py", line 37, in <module> import univention.admin.handlers.settings.user File "/usr/lib/pymodules/python2.6/univention/admin/handlers/settings/user.py", line 263, in <module> class object(univention.admin.handlers.simpleLdap): AttributeError: 'module' object has no attribute 'handlers' Das update() am Ende von modules.py habe ich auskommentiert, ansonsten sind wir in einer Import-Rekursion. Bisher habe ich noch keine negativen Auswirkungen feststellen können. Ich kriege beim Laden der UMD Module noch folgende DeprecationWarnungs: /usr/lib/pymodules/python2.6/univention/admin/localization.py:64: DeprecationWarning: object.__init__() takes no parameters super (str, self).__init__ (self.data) /usr/lib/pymodules/python2.6/univention/admin/handlers/networks/network.py:33: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sys, string, re , copy, time, sha ...done. Die Pakete wurden soweit übernommen. univention-directory-reports hängt von python-univention-directory-reports hängt von univention-webui ab, was es in UCS 3.0 nicht mehr gibt. *** Bug 23012 has been marked as a duplicate of this bug. *** (In reply to comment #12) > univention-directory-reports hängt von python-univention-directory-reports > hängt von univention-webui ab, was es in UCS 3.0 nicht mehr gibt. Die Abhängigkeit wurde entfernt. Die Pakete wurden übernommen UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug" |