Bug 28179 - "univention.admin.syntax"-Modul nur lauffähig wenn auch *.modules importiert wurde
"univention.admin.syntax"-Modul nur lauffähig wenn auch *.modules importiert ...
Status: RESOLVED DUPLICATE of bug 33359
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-09 17:32 CEST by Jascha Geerds
Modified: 2013-11-27 15:52 CET (History)
2 users (show)

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 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 ***