Bug 54073 - OX modules installed for Python 3 only, but scripts have python2.7 hash bang
OX modules installed for Python 3 only, but scripts have python2.7 hash bang
Status: NEW
Product: Z_Internal OX development
Classification: Unclassified
Component: Generic
UCS 5.0 / 7.10.5
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
:
Depends on:
Blocks: 54074 54332
  Show dependency treegraph
 
Reported: 2021-11-16 15:17 CET by Daniel Tröder
Modified: 2022-01-13 10:51 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.229
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 Daniel Tröder univentionstaff 2021-11-16 15:17:47 CET
The package python-univention-ox is not installed, only the Python 3 version. Thus:

root@ucsl-02:~# /usr/sbin/spamrunner
Traceback (most recent call last):
  File "/usr/sbin/spamrunner", line 47, in <module>
    from univention.ox.listener_tools import default_context, get_context_admin_user
ImportError: No module named ox.listener_tools

Either install the Python 2 version or change the hash bangs.

This currently prevents the spam scanning!!
Comment 1 Daniel Tröder univentionstaff 2021-11-16 15:21:43 CET
(In reply to Daniel Tröder from comment #0)
> This currently prevents the spam scanning!!

More precise: SpamAssassin and ClamAV are still working, just the Bayes filter isn't.