Univention Bugzilla – Full Text Bug Listing |
Summary: | TypeError in top/query | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - Process overview | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kramer <kramer> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, mai, walkenhorst |
Version: | UCS 4.0 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.0-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=39323 https://forge.univention.org/bugzilla/show_bug.cgi?id=39322 |
||
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): | External feedback | |
Max CVSS v3 score: | |||
Attachments: | patch |
Description
Florian Best
2015-09-03 11:34:57 CEST
Created attachment 7155 [details]
patch
2015-09-09-univention-management-console-module-top.yaml: r63547 | YAML Bug #39302 univention-management-console-module-top (4.1.0-6): r63545 | Bug #39302: fix KeyError in top/query univention-management-console-module-top (5.0.0-1): r63546 | Bug #39302: fix KeyError in top/query As discussed I it seems that psutil have changed the api. So some attributes of a process are now functions instead of lists. This explains the TypeError. API changes are documented here: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst The new version is able to interact with both, psutil 0.9 and 2.0, 2.2, 3.0. (In reply to Florian Best from comment #4) > API changes are documented here: > https://github.com/giampaolo/psutil/blob/master/HISTORY.rst > > The new version is able to interact with both, psutil 0.9 and 2.0, 2.2, 3.0. As requested the psutil versions from above were checked. Worked fine for every release with an API change. ucs-4.0-3 OK - debian changelog OK - yaml file ucs-4.1 OK - debian changelog |