Bug 28179

Summary: "univention.admin.syntax"-Modul nur lauffähig wenn auch *.modules importiert wurde
Product: UCS Reporter: Jascha Geerds <geerds>
Component: UDM (Generic)Assignee: Philipp Hahn <hahn>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: geerds, hahn
Version: UCS 3.0   
Target Milestone: ---   
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:

Description Jascha Geerds univentionstaff 2012-08-09 17:32:54 CEST
Um mit univention.admin.syntax arbeiten zu können, muss zuvor auch univention.admin.modules importiert werden:

>>> import univention.admin.syntax
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/univention/admin/syntax.py", line 37, in <module>
    import univention.admin.modules
  File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 961, in <module>
    univention.admin.syntax.import_syntax_files()
AttributeError: 'module' object has no attribute 'syntax'
>>> import univention.admin.modules
>>> import univention.admin.syntax
>>>
Comment 1 Philipp Hahn univentionstaff 2013-11-27 15:52:18 CET

*** This bug has been marked as a duplicate of bug 33359 ***