Bug 11996 - Traceback im UMC/ UCR Modul
Summary: Traceback im UMC/ UCR Modul
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 2.0
Hardware: All Linux
: P4 normal
Target Milestone: UCS 2.3
Assignee: Sönke Schwardt-Krummrich
QA Contact: Andreas Büsching
URL:
Keywords:
: 15520 (view as bug list)
Depends on:
Blocks: 14432
  Show dependency treegraph
 
Reported: 2008-08-19 17:06 CEST by Murat Odabas
Modified: 2009-12-21 08:50 CET (History)
4 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):
Customer ID:
Max CVSS v3 score:
gohmann: Patch_Available+


Attachments
bug-11996.patch (844 bytes, patch)
2009-08-20 16:43 CEST, Stefan Gohmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Murat Odabas univentionstaff 2008-08-19 17:06:21 CEST
Ein Kunde wollte über UMC eine UCR Variable ändern. Dabei wurde folgender Traceback ausgegeben:

Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/univention/management/console/handlers/__init__.py",
line 103, in _exec_if
    func( *args )
  File
"/usr/lib/python2.4/site-packages/univention/management/console/handlers/baseconfig/_revam
p.py",
line 162, in _web_baseconfig_show
    default.append( ( string.lower( cat ), cat_info[ 'name' ] ) )
TypeError: unsubscriptable object


In der syslog gab es u.a. folgende Meldungen:

Aug 19 13:45:19 ucs-madrid python2.4: PAM unable to
dlopen(/lib/security/pam_passwdcache.so)
Aug 19 13:45:19 ucs-madrid python2.4: PAM [dlerror: /lib/security/pam_passwdcache.so:
undefined symbol: pam_get_item]
Aug 19 13:45:19 ucs-madrid python2.4: PAM adding faulty module:
/lib/security/pam_passwdcache.so

Ticket Nr.: 2008081910000141
Comment 1 Tobias Scherer univentionstaff 2009-08-19 09:10:09 CEST
Auch Berichtet an
Ticket#: 2009081810000328
Ticket#: 2009081810000319


Traceback (most recent call last):
 File 
 "/usr/lib/python2.4/site-packages/univention/management/console/handlers/__init__.py", 
 line 107, in _exec_if
 func( *args )
 File 
 "/usr/lib/python2.4/site-packages/univention/management/console/handlers/baseconfig/_revamp.py",
 
 line 171, in _web_baseconfig_show
 default.append( ( string.lower( cat ), cat_info[ 'name' ] ) )
 TypeError: unsubscriptable object
Comment 2 Tobias Scherer univentionstaff 2009-08-20 15:51:30 CEST
Auch berichtet an:
Ticket#: 2009082010000298
Comment 3 Stefan Gohmann univentionstaff 2009-08-20 16:43:49 CEST
Created attachment 1815 [details]
bug-11996.patch
Comment 4 Stefan Gohmann univentionstaff 2009-08-20 16:45:26 CEST
Der Workaround kann mit "patch -p0< bug-11996.patch" eingespielt werden.
Comment 5 Stefan Gohmann univentionstaff 2009-08-27 14:38:13 CEST
*** Bug 15520 has been marked as a duplicate of this bug. ***
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2009-09-29 13:16:59 CEST
Patch wurde eingespielt. Changelogeintrag ist vorhanden.
Comment 7 Andreas Büsching univentionstaff 2009-11-03 17:58:44 CET
Ich habe einer Variable eine nicht existierende Kategorie zugewiesen und sie dann bearbeitet. Dabei ist der Traceback nicht aufgetreten. Auch andere Variablen können bearbeitet werden.
Comment 8 Stefan Gohmann univentionstaff 2009-12-21 08:50:21 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".