Bug 28876 - Einrichten der Software-Komponenten: 'list' object is not callable
Einrichten der Software-Komponenten: 'list' object is not callable
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Basic settings
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Florian Best
Dirk Wiesenthal
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-23 11:18 CEST by Florian Best
Modified: 2012-12-12 21:09 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 Florian Best univentionstaff 2012-10-23 11:18:20 CEST
Im system-setup bekam ich den Fehler beim installieren von "Desktop":
Einrichten der Software-Komponenten: 'list' object is not callable

In den logfiles steht leider nichts.

Der request sah so aus:
{"options":{"values":{"locale":"en_US.UTF-8:UTF-8 de_DE.UTF-8:UTF-8","components":"univention-kde cups:univention-printserver"}}}
Comment 1 Alexander Kläser univentionstaff 2012-11-21 15:08:37 CET
Das sollten wir uns noch einmal zu interim-4 anschauen.
Comment 2 Florian Best univentionstaff 2012-11-23 11:59:54 CET
Hmm, provozieren kann ich das in keinster Weise.
Auch durch code-review sieht alles korrekt aus, die einzige Stelle, wo die Fehlermeldung entstanden sein kann ist:

setup_script.py
269 »   »   except Exception as e:
270 »   »   »   self.error(str(e))

An diese Stelle habe ich zusätzlich noch eingebaut, dass der Traceback geloggt wird.

Ich habe auch alle Codestellen, die Listen enthalten überprüft und leider nichts verdächtiges gefunden.

Außerdem habe ich einen kleinen typo in ProgressState.__eq__ beseitigt.

WORKSFORME, weil Problem nicht reproduzierbar.
Changelog dann nicht notwendig?
Comment 3 Dirk Wiesenthal univentionstaff 2012-11-26 12:20:09 CET
Kann ich auch nicht mehr reproduzieren.

Changelog nicht notwendig.
Comment 4 Florian Best univentionstaff 2012-11-30 10:50:00 CET
Ich konnte das gerade reproduzieren, indem ich Software gleichzeitig installiert und deinstalliert habe.
Comment 5 Florian Best univentionstaff 2012-11-30 10:51:17 CET
(In reply to comment #4)
> Ich konnte das gerade reproduzieren, indem ich Software gleichzeitig
> installiert und deinstalliert habe.
Die installation und deinstallation hat geklappt
Comment 6 Florian Best univentionstaff 2012-11-30 10:53:16 CET
Zum Glück habe ich das logging der Tracebacks hinzugefügt ;) =)

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/setup/setup_script.py", line 264, in run
    success = self.inner_run()
  File "/usr/lib/univention-system-setup/scripts/software/10software", line 79, in inner_run
    self.install(pkg)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/setup/setup_script.py", line 370, in install
    self.package_manager.install(*pkg_names)
  File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/setup/setup_script.py", line 343, in noninteractive
    yield
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/setup/setup_script.py", line 370, in install
    self.package_manager.install(*pkg_names)
  File "/usr/lib/pymodules/python2.6/univention/lib/package_manager.py", line 599, in install
    return self.commit(install=pkg_names)
  File "/usr/lib/pymodules/python2.6/univention/lib/package_manager.py", line 548, in commit
    self.progress_state.error('%s: %s' % (pkg.name, _('Failed to install')))
TypeError: 'list' object is not callable
Comment 7 Florian Best univentionstaff 2012-11-30 11:24:08 CET
fixed in univention-lib (2.0.17-1).
Paket baut.
Comment 8 Florian Best univentionstaff 2012-11-30 11:27:19 CET
Changelog nicht notwendig, da der code in 3.0-2 noch nicht vorhanden war.
Comment 9 Dirk Wiesenthal univentionstaff 2012-11-30 12:55:12 CET
Funktioniert
Comment 10 Stefan Gohmann univentionstaff 2012-12-12 21:09:53 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".