Bug 37803 - schoolwizards/computers/get traceback
schoolwizards/computers/get traceback
Status: CLOSED DUPLICATE of bug 40598
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 4.0
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2
Assigned To: Florian Best
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-16 10:57 CET by Florian Best
Modified: 2016-06-28 18:28 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): Error handling, External feedback
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 2015-02-16 10:57:09 CET
We received the following traceback. I think a not existing computer was opened.

Die Ausführung des Kommandos schoolwizards/computers/get schoolwizards/computers ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated
    return function(self, request, *args, **kwargs)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 204, in wrapper_func
    return func( *args, **kwargs )
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 118, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 177, in _get_obj
    obj = obj.from_dn(obj.old_dn, obj.school, ldap_user_read)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 748, in from_dn
    udm_obj = udm_modules.lookup(cls._meta.udm_module, None, lo, filter=cls._meta.udm_filter, base=dn, scope='base', superordinate=superordinate)[0]
  File "%PY2.7%/univention/admin/modules.py", line 801, in lookup
    tmpres=module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
  File "%PY2.7%/univention/admin/handlers/computers/computer.py", line 175, in lookup
    res.extend( computer.lookup(co, lo, filter_s, base, superordinate, scope, unique, required, timeout, sizelimit) )
  File "%PY2.7%/univention/admin/handlers/computers/ipmanagedclient.py", line 335, in lookup
    for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit):
  File "%PY2.7%/univention/admin/uldap.py", line 347, in search
    raise univention.admin.uexceptions.noObject(_err2str(msg))
noObject: No such object


Remark:
Versuch, ein Rechnerobjekt in UCS@school (UCS4) Modul Rechner (Schulen) zu öffnen

Version:
4.0-1 errata82 (Walle)
Comment 1 Florian Best univentionstaff 2016-02-18 17:02:59 CET

*** This bug has been marked as a duplicate of bug 40598 ***
Comment 2 Daniel Tröder univentionstaff 2016-06-17 11:49:36 CEST
OK: is duplicate of Bug #40598.
Comment 3 Florian Best univentionstaff 2016-06-28 18:28:16 CEST
UCS@school 4.1 R2 has been released:
http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf

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