Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

REST service fails to start due to soft_unicode import error #101

Closed
whbruce opened this issue Feb 18, 2022 · 1 comment
Closed

REST service fails to start due to soft_unicode import error #101

whbruce opened this issue Feb 18, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@whbruce
Copy link

whbruce commented Feb 18, 2022

After building service, it fails to start with the following error

ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/dist-packages/markupsafe/__init__.py)

Two workarounds:

  1. Use container from dockerhub: intel/video-analytics-serving:0.7.0
  2. Update connexion version to 2.11.1 in requirements.service.txt and re-build.
@whbruce whbruce added the bug Something isn't working label Feb 18, 2022
@whbruce whbruce pinned this issue Feb 18, 2022
@whbruce whbruce changed the title REST service fails to start due to soft_unicode ImportError REST service fails to start due to soft_unicode import error Feb 18, 2022
@whbruce
Copy link
Author

whbruce commented Feb 23, 2022

Fixed in v0.7.1.

@whbruce whbruce closed this as completed Feb 23, 2022
@whbruce whbruce unpinned this issue Jun 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant