The Python Waterfall Skill Bot Docker container fails to start with the error:
"301 Server Unavailable. docker container could not be started: bffnwaterfallskillbotpython-313043_0_34ae394b."
Docker log shows:
"ImportError: cannot import name 'UNICODE_EMOJI' from 'emoji' (/app/venv/lib/python3.10/site-packages/emoji/init.py)"
The container is deployed by pipeline "02.A. Deploy skill bots" without a reported error.
The error bubbles up when "02.B. Run skill test scenarios (daily)" runs. It fails with:
"Error invoking the skill...(status is 503)." (Service unavailable)
Cause
emoji versions < 2.0.0 contain UNICODE_EMOJI, but >= 2.0.0 only contain UNICODE_DATA.
botbuilder-dialogs 4.14.0 depends on:
recognizers-text 1.0.2a2.
emoji 1.6.1
An external change in dependencies caused emoji>=2.0.0 to be used instead, resulting in the unresolved reference.
Fixes #minor
The Python Waterfall Skill Bot Docker container fails to start with the error: "301 Server Unavailable. docker container could not be started: bffnwaterfallskillbotpython-313043_0_34ae394b." Docker log shows: "ImportError: cannot import name 'UNICODE_EMOJI' from 'emoji' (/app/venv/lib/python3.10/site-packages/emoji/init.py)"
The container is deployed by pipeline "02.A. Deploy skill bots" without a reported error.
The error bubbles up when "02.B. Run skill test scenarios (daily)" runs. It fails with: "Error invoking the skill...(status is 503)." (Service unavailable)
Cause
emoji versions < 2.0.0 contain UNICODE_EMOJI, but >= 2.0.0 only contain UNICODE_DATA. botbuilder-dialogs 4.14.0 depends on:
An external change in dependencies caused emoji>=2.0.0 to be used instead, resulting in the unresolved reference.
Fix
Force emoji dependency to <2.0.0
Related emoji issue in BotBuilder-Samples: https://github.com/microsoft/botbuilder-python/issues/1958