IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Carbon Black Cloud: Setup of the CBCSyslog Fails With ImportError

Carbon Black Cloud: Setup of the CBCSyslog Fails With ImportError

Environment

  • Carbon Black Cloud: All Version
  • Python: 3.x

Symptoms

Setup of the Linux CBC Syslog server fails with the error 
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/dist-packages/markupsafe/__init__.py)

Cause

Newer versions of markupsafe don't contain the soft_unicode module

Resolution

Install the older version of markupsafe (on Ubuntu) with the following command
sudo pip3 install markupsafe==2.0.1

Related Content


Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎06-15-2022
Views:
268
Contributors