Bug 28220 - TypeError in uldap.py
Summary: TypeError in uldap.py
Status: RESOLVED WORKSFORME
Alias: None
Product: UCS
Classification: Unclassified
Component: univention-base-files
Version: UCS 3.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 3.2-x
Assignee: Bugzilla Mailingliste
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 38423
  Show dependency treegraph
 
Reported: 2012-08-15 11:12 CEST by Florian Best
Modified: 2016-06-29 17:15 CEST (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): Cleanup
Customer ID:
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (510 bytes, patch)
2015-05-05 13:21 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2012-08-15 11:12:00 CEST
TypeError: __open() takes exactly 2 arguments (1 given)

in /base/univention-python/modules/uldap.py:
183 »   def __open(self, ca_certfile):
…
600 »   def __setstate__(self, dict):
601 
602 »   »   _d=univention.debug.function('uldap.__setstate__')
603 »   »   self.__dict__.update(dict)
604 »   »   self.__open()


richtige component?
Comment 1 Alexander Kläser univentionstaff 2012-09-11 12:22:28 CEST
Gibt es bestimmte Situation, wo dies zu einem Fehler/Traceback führt?
Comment 2 Florian Best univentionstaff 2012-09-11 18:31:04 CEST
(In reply to comment #1)
> Gibt es bestimmte Situation, wo dies zu einem Fehler/Traceback führt?
Keine spezielle Situation, es ist aufgefallen, als ich ein udm objekt copy.deepcopy()'d habe.
Comment 3 Florian Best univentionstaff 2015-05-05 13:17:33 CEST
Again, I wanted to copy.deepcopy() an udm object and it failed again with this traceback.
Comment 4 Florian Best univentionstaff 2015-05-05 13:21:09 CEST
Created attachment 6871 [details]
patch

works after applying the patch.
Comment 5 Florian Best univentionstaff 2016-06-29 17:15:41 CEST
Fixed by svn r70685.