Bug 56381 - UnboundLocalError: local variable 'cache_dir' referenced before assignment
UnboundLocalError: local variable 'cache_dir' referenced before assignment
Status: NEW
Product: UCS
Classification: Unclassified
Component: SAML
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-31 14:55 CEST by Mika Westphal
Modified: 2023-07-31 15:08 CEST (History)
1 user (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: 2023071721000178
Bug group (optional): bitesize, 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 Mika Westphal univentionstaff 2023-07-31 14:55:43 CEST
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message: local variable 'cache_dir' referenced before assignment
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 449, in status
    blocking_apps = update_check.get_blocking_apps(ucs_version=str(result['release_update_available']))
  File "%PY2.7%/univention/appcenter/actions/update_check.py", line 124, in get_blocking_apps
    shutil.rmtree(cache_dir)
UnboundLocalError: local variable 'cache_dir' referenced before assignment
Comment 1 Florian Best univentionstaff 2023-07-31 15:08:27 CEST
Version: 4.4-9 errata1277 (Blumenthal)